LMMS
Loading...
Searching...
No Matches
juce::Direct2DLowLevelGraphicsContext::SavedState Struct Reference

Public Member Functions

 SavedState (Direct2DLowLevelGraphicsContext &owner_)
 ~SavedState ()
void clearClip ()
void clipToRectangle (const Rectangle< int > &r)
void clearPathClip ()
void Direct2DLowLevelGraphicsContext::SavedState::clipToPath (ID2D1Geometry *geometry)
void clearRectListClip ()
void clipToRectList (ID2D1Geometry *geometry)
void clearImageClip ()
void clipToImage (const Image &clipImage, const AffineTransform &clipTransform)
void popClips ()
void pushClips ()
void setFill (const FillType &newFillType)
void clearFont ()
void setFont (const Font &newFont)
void createFont ()
void setOpacity (float newOpacity)
void clearFill ()
void createBrush ()

Public Attributes

Direct2DLowLevelGraphicsContextowner
AffineTransform transform
Font font
float fontHeightToEmSizeFactor = 1.0f
IDWriteFontFace * currentFontFace = nullptr
ComSmartPtr< IDWriteFontFace > localFontFace
Rectangle< intclipRect
bool clipsRect = false
bool shouldClipRect = false
Image image
ComSmartPtr< ID2D1Bitmap > bitmap
bool clipsBitmap = false
bool shouldClipBitmap = false
ComSmartPtr< ID2D1Geometry > complexClipGeometry
D2D1_LAYER_PARAMETERS complexClipLayerParams
ComSmartPtr< ID2D1Layer > complexClipLayer
bool clipsComplex = false
bool shouldClipComplex = false
ComSmartPtr< ID2D1Geometry > rectListGeometry
D2D1_LAYER_PARAMETERS rectListLayerParams
ComSmartPtr< ID2D1Layer > rectListLayer
bool clipsRectList = false
bool shouldClipRectList = false
Image maskImage
D2D1_LAYER_PARAMETERS imageMaskLayerParams
ComSmartPtr< ID2D1Layer > bitmapMaskLayer
ComSmartPtr< ID2D1Bitmap > maskBitmap
ComSmartPtr< ID2D1BitmapBrush > bitmapMaskBrush
ID2D1Brush * currentBrush = nullptr
ComSmartPtr< ID2D1BitmapBrush > bitmapBrush
ComSmartPtr< ID2D1LinearGradientBrush > linearGradient
ComSmartPtr< ID2D1RadialGradientBrush > radialGradient
ComSmartPtr< ID2D1GradientStopCollection > gradientStops
FillType fillType

Constructor & Destructor Documentation

◆ SavedState()

juce::Direct2DLowLevelGraphicsContext::SavedState::SavedState ( Direct2DLowLevelGraphicsContext & owner_)
inline

◆ ~SavedState()

juce::Direct2DLowLevelGraphicsContext::SavedState::~SavedState ( )
inline

Member Function Documentation

◆ clearClip()

void juce::Direct2DLowLevelGraphicsContext::SavedState::clearClip ( )
inline

◆ clearFill()

void juce::Direct2DLowLevelGraphicsContext::SavedState::clearFill ( )
inline

◆ clearFont()

void juce::Direct2DLowLevelGraphicsContext::SavedState::clearFont ( )
inline

◆ clearImageClip()

void juce::Direct2DLowLevelGraphicsContext::SavedState::clearImageClip ( )
inline

◆ clearPathClip()

void juce::Direct2DLowLevelGraphicsContext::SavedState::clearPathClip ( )
inline

◆ clearRectListClip()

void juce::Direct2DLowLevelGraphicsContext::SavedState::clearRectListClip ( )
inline

◆ clipToImage()

void juce::Direct2DLowLevelGraphicsContext::SavedState::clipToImage ( const Image & clipImage,
const AffineTransform & clipTransform )
inline

◆ clipToRectangle()

void juce::Direct2DLowLevelGraphicsContext::SavedState::clipToRectangle ( const Rectangle< int > & r)
inline

◆ clipToRectList()

void juce::Direct2DLowLevelGraphicsContext::SavedState::clipToRectList ( ID2D1Geometry * geometry)
inline

◆ createBrush()

void juce::Direct2DLowLevelGraphicsContext::SavedState::createBrush ( )
inline

◆ createFont()

void juce::Direct2DLowLevelGraphicsContext::SavedState::createFont ( )
inline

◆ Direct2DLowLevelGraphicsContext::SavedState::clipToPath()

void juce::Direct2DLowLevelGraphicsContext::SavedState::Direct2DLowLevelGraphicsContext::SavedState::clipToPath ( ID2D1Geometry * geometry)
inline

◆ popClips()

void juce::Direct2DLowLevelGraphicsContext::SavedState::popClips ( )
inline

◆ pushClips()

void juce::Direct2DLowLevelGraphicsContext::SavedState::pushClips ( )
inline

◆ setFill()

void juce::Direct2DLowLevelGraphicsContext::SavedState::setFill ( const FillType & newFillType)
inline

◆ setFont()

void juce::Direct2DLowLevelGraphicsContext::SavedState::setFont ( const Font & newFont)
inline

◆ setOpacity()

void juce::Direct2DLowLevelGraphicsContext::SavedState::setOpacity ( float newOpacity)
inline

Member Data Documentation

◆ bitmap

ComSmartPtr<ID2D1Bitmap> juce::Direct2DLowLevelGraphicsContext::SavedState::bitmap

◆ bitmapBrush

ComSmartPtr<ID2D1BitmapBrush> juce::Direct2DLowLevelGraphicsContext::SavedState::bitmapBrush

◆ bitmapMaskBrush

ComSmartPtr<ID2D1BitmapBrush> juce::Direct2DLowLevelGraphicsContext::SavedState::bitmapMaskBrush

◆ bitmapMaskLayer

ComSmartPtr<ID2D1Layer> juce::Direct2DLowLevelGraphicsContext::SavedState::bitmapMaskLayer

◆ clipRect

Rectangle<int> juce::Direct2DLowLevelGraphicsContext::SavedState::clipRect

◆ clipsBitmap

bool juce::Direct2DLowLevelGraphicsContext::SavedState::clipsBitmap = false

◆ clipsComplex

bool juce::Direct2DLowLevelGraphicsContext::SavedState::clipsComplex = false

◆ clipsRect

bool juce::Direct2DLowLevelGraphicsContext::SavedState::clipsRect = false

◆ clipsRectList

bool juce::Direct2DLowLevelGraphicsContext::SavedState::clipsRectList = false

◆ complexClipGeometry

ComSmartPtr<ID2D1Geometry> juce::Direct2DLowLevelGraphicsContext::SavedState::complexClipGeometry

◆ complexClipLayer

ComSmartPtr<ID2D1Layer> juce::Direct2DLowLevelGraphicsContext::SavedState::complexClipLayer

◆ complexClipLayerParams

D2D1_LAYER_PARAMETERS juce::Direct2DLowLevelGraphicsContext::SavedState::complexClipLayerParams

◆ currentBrush

ID2D1Brush* juce::Direct2DLowLevelGraphicsContext::SavedState::currentBrush = nullptr

◆ currentFontFace

IDWriteFontFace* juce::Direct2DLowLevelGraphicsContext::SavedState::currentFontFace = nullptr

◆ fillType

FillType juce::Direct2DLowLevelGraphicsContext::SavedState::fillType

◆ font

Font juce::Direct2DLowLevelGraphicsContext::SavedState::font

◆ fontHeightToEmSizeFactor

float juce::Direct2DLowLevelGraphicsContext::SavedState::fontHeightToEmSizeFactor = 1.0f

◆ gradientStops

ComSmartPtr<ID2D1GradientStopCollection> juce::Direct2DLowLevelGraphicsContext::SavedState::gradientStops

◆ image

Image juce::Direct2DLowLevelGraphicsContext::SavedState::image

◆ imageMaskLayerParams

D2D1_LAYER_PARAMETERS juce::Direct2DLowLevelGraphicsContext::SavedState::imageMaskLayerParams

◆ linearGradient

ComSmartPtr<ID2D1LinearGradientBrush> juce::Direct2DLowLevelGraphicsContext::SavedState::linearGradient

◆ localFontFace

ComSmartPtr<IDWriteFontFace> juce::Direct2DLowLevelGraphicsContext::SavedState::localFontFace

◆ maskBitmap

ComSmartPtr<ID2D1Bitmap> juce::Direct2DLowLevelGraphicsContext::SavedState::maskBitmap

◆ maskImage

Image juce::Direct2DLowLevelGraphicsContext::SavedState::maskImage

◆ owner

Direct2DLowLevelGraphicsContext& juce::Direct2DLowLevelGraphicsContext::SavedState::owner

◆ radialGradient

ComSmartPtr<ID2D1RadialGradientBrush> juce::Direct2DLowLevelGraphicsContext::SavedState::radialGradient

◆ rectListGeometry

ComSmartPtr<ID2D1Geometry> juce::Direct2DLowLevelGraphicsContext::SavedState::rectListGeometry

◆ rectListLayer

ComSmartPtr<ID2D1Layer> juce::Direct2DLowLevelGraphicsContext::SavedState::rectListLayer

◆ rectListLayerParams

D2D1_LAYER_PARAMETERS juce::Direct2DLowLevelGraphicsContext::SavedState::rectListLayerParams

◆ shouldClipBitmap

bool juce::Direct2DLowLevelGraphicsContext::SavedState::shouldClipBitmap = false

◆ shouldClipComplex

bool juce::Direct2DLowLevelGraphicsContext::SavedState::shouldClipComplex = false

◆ shouldClipRect

bool juce::Direct2DLowLevelGraphicsContext::SavedState::shouldClipRect = false

◆ shouldClipRectList

bool juce::Direct2DLowLevelGraphicsContext::SavedState::shouldClipRectList = false

◆ transform

AffineTransform juce::Direct2DLowLevelGraphicsContext::SavedState::transform

The documentation for this struct was generated from the following file: