openshot-audio  0.1.7
Public Member Functions | Public Attributes | List of all members
Direct2DLowLevelGraphicsContext::SavedState Class Reference

Public Member Functions

 SavedState (Direct2DLowLevelGraphicsContext &owner_)
 
 ~SavedState ()
 
void clearClip ()
 
void clipToRectangle (const Rectangle< int > &r)
 
void clearPathClip ()
 
void clipToPath (ID2D1Geometry *geometry)
 
void clearRectListClip ()
 
void clipToRectList (ID2D1Geometry *geometry)
 
void clearImageClip ()
 
void clipToImage (const Image &image, const AffineTransform &transform)
 
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
 
IDWriteFontFace * currentFontFace
 
ComSmartPtr< IDWriteFontFace > localFontFace
 
FillType fillType
 
Image image
 
ComSmartPtr< ID2D1Bitmap > bitmap
 
Rectangle< int > clipRect
 
bool clipsRect
 
bool shouldClipRect
 
ComSmartPtr< ID2D1Geometry > complexClipGeometry
 
D2D1_LAYER_PARAMETERS complexClipLayerParams
 
ComSmartPtr< ID2D1Layer > complexClipLayer
 
bool clipsComplex
 
bool shouldClipComplex
 
ComSmartPtr< ID2D1Geometry > rectListGeometry
 
D2D1_LAYER_PARAMETERS rectListLayerParams
 
ComSmartPtr< ID2D1Layer > rectListLayer
 
bool clipsRectList
 
bool shouldClipRectList
 
Image maskImage
 
D2D1_LAYER_PARAMETERS imageMaskLayerParams
 
ComSmartPtr< ID2D1Layer > bitmapMaskLayer
 
ComSmartPtr< ID2D1Bitmap > maskBitmap
 
ComSmartPtr< ID2D1BitmapBrush > bitmapMaskBrush
 
bool clipsBitmap
 
bool shouldClipBitmap
 
ID2D1Brush * currentBrush
 
ComSmartPtr< ID2D1BitmapBrush > bitmapBrush
 
ComSmartPtr< ID2D1LinearGradientBrush > linearGradient
 
ComSmartPtr< ID2D1RadialGradientBrush > radialGradient
 
ComSmartPtr< ID2D1GradientStopCollection > gradientStops
 

Constructor & Destructor Documentation

◆ SavedState()

Direct2DLowLevelGraphicsContext::SavedState::SavedState ( Direct2DLowLevelGraphicsContext owner_)
inline

◆ ~SavedState()

Direct2DLowLevelGraphicsContext::SavedState::~SavedState ( )
inline

Member Function Documentation

◆ clearClip()

void Direct2DLowLevelGraphicsContext::SavedState::clearClip ( )
inline

◆ clearFill()

void Direct2DLowLevelGraphicsContext::SavedState::clearFill ( )
inline

◆ clearFont()

void Direct2DLowLevelGraphicsContext::SavedState::clearFont ( )
inline

◆ clearImageClip()

void Direct2DLowLevelGraphicsContext::SavedState::clearImageClip ( )
inline

◆ clearPathClip()

void Direct2DLowLevelGraphicsContext::SavedState::clearPathClip ( )
inline

◆ clearRectListClip()

void Direct2DLowLevelGraphicsContext::SavedState::clearRectListClip ( )
inline

◆ clipToImage()

void Direct2DLowLevelGraphicsContext::SavedState::clipToImage ( const Image image,
const AffineTransform transform 
)
inline

◆ clipToPath()

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

◆ clipToRectangle()

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

◆ clipToRectList()

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

◆ createBrush()

void Direct2DLowLevelGraphicsContext::SavedState::createBrush ( )
inline

◆ createFont()

void Direct2DLowLevelGraphicsContext::SavedState::createFont ( )
inline

◆ popClips()

void Direct2DLowLevelGraphicsContext::SavedState::popClips ( )
inline

◆ pushClips()

void Direct2DLowLevelGraphicsContext::SavedState::pushClips ( )
inline

◆ setFill()

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

◆ setFont()

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

◆ setOpacity()

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

Member Data Documentation

◆ bitmap

ComSmartPtr<ID2D1Bitmap> Direct2DLowLevelGraphicsContext::SavedState::bitmap

◆ bitmapBrush

ComSmartPtr<ID2D1BitmapBrush> Direct2DLowLevelGraphicsContext::SavedState::bitmapBrush

◆ bitmapMaskBrush

ComSmartPtr<ID2D1BitmapBrush> Direct2DLowLevelGraphicsContext::SavedState::bitmapMaskBrush

◆ bitmapMaskLayer

ComSmartPtr<ID2D1Layer> Direct2DLowLevelGraphicsContext::SavedState::bitmapMaskLayer

◆ clipRect

Rectangle<int> Direct2DLowLevelGraphicsContext::SavedState::clipRect

◆ clipsBitmap

bool Direct2DLowLevelGraphicsContext::SavedState::clipsBitmap

◆ clipsComplex

bool Direct2DLowLevelGraphicsContext::SavedState::clipsComplex

◆ clipsRect

bool Direct2DLowLevelGraphicsContext::SavedState::clipsRect

◆ clipsRectList

bool Direct2DLowLevelGraphicsContext::SavedState::clipsRectList

◆ complexClipGeometry

ComSmartPtr<ID2D1Geometry> Direct2DLowLevelGraphicsContext::SavedState::complexClipGeometry

◆ complexClipLayer

ComSmartPtr<ID2D1Layer> Direct2DLowLevelGraphicsContext::SavedState::complexClipLayer

◆ complexClipLayerParams

D2D1_LAYER_PARAMETERS Direct2DLowLevelGraphicsContext::SavedState::complexClipLayerParams

◆ currentBrush

ID2D1Brush* Direct2DLowLevelGraphicsContext::SavedState::currentBrush

◆ currentFontFace

IDWriteFontFace* Direct2DLowLevelGraphicsContext::SavedState::currentFontFace

◆ fillType

FillType Direct2DLowLevelGraphicsContext::SavedState::fillType

◆ font

Font Direct2DLowLevelGraphicsContext::SavedState::font

◆ fontHeightToEmSizeFactor

float Direct2DLowLevelGraphicsContext::SavedState::fontHeightToEmSizeFactor

◆ gradientStops

ComSmartPtr<ID2D1GradientStopCollection> Direct2DLowLevelGraphicsContext::SavedState::gradientStops

◆ image

Image Direct2DLowLevelGraphicsContext::SavedState::image

◆ imageMaskLayerParams

D2D1_LAYER_PARAMETERS Direct2DLowLevelGraphicsContext::SavedState::imageMaskLayerParams

◆ linearGradient

ComSmartPtr<ID2D1LinearGradientBrush> Direct2DLowLevelGraphicsContext::SavedState::linearGradient

◆ localFontFace

ComSmartPtr<IDWriteFontFace> Direct2DLowLevelGraphicsContext::SavedState::localFontFace

◆ maskBitmap

ComSmartPtr<ID2D1Bitmap> Direct2DLowLevelGraphicsContext::SavedState::maskBitmap

◆ maskImage

Image Direct2DLowLevelGraphicsContext::SavedState::maskImage

◆ owner

Direct2DLowLevelGraphicsContext& Direct2DLowLevelGraphicsContext::SavedState::owner

◆ radialGradient

ComSmartPtr<ID2D1RadialGradientBrush> Direct2DLowLevelGraphicsContext::SavedState::radialGradient

◆ rectListGeometry

ComSmartPtr<ID2D1Geometry> Direct2DLowLevelGraphicsContext::SavedState::rectListGeometry

◆ rectListLayer

ComSmartPtr<ID2D1Layer> Direct2DLowLevelGraphicsContext::SavedState::rectListLayer

◆ rectListLayerParams

D2D1_LAYER_PARAMETERS Direct2DLowLevelGraphicsContext::SavedState::rectListLayerParams

◆ shouldClipBitmap

bool Direct2DLowLevelGraphicsContext::SavedState::shouldClipBitmap

◆ shouldClipComplex

bool Direct2DLowLevelGraphicsContext::SavedState::shouldClipComplex

◆ shouldClipRect

bool Direct2DLowLevelGraphicsContext::SavedState::shouldClipRect

◆ shouldClipRectList

bool Direct2DLowLevelGraphicsContext::SavedState::shouldClipRectList

◆ transform

AffineTransform Direct2DLowLevelGraphicsContext::SavedState::transform

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