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< intclipRect
 
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

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

Member Function Documentation

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

Member Data Documentation

ComSmartPtr<ID2D1Bitmap> Direct2DLowLevelGraphicsContext::SavedState::bitmap
ComSmartPtr<ID2D1BitmapBrush> Direct2DLowLevelGraphicsContext::SavedState::bitmapBrush
ComSmartPtr<ID2D1BitmapBrush> Direct2DLowLevelGraphicsContext::SavedState::bitmapMaskBrush
ComSmartPtr<ID2D1Layer> Direct2DLowLevelGraphicsContext::SavedState::bitmapMaskLayer
Rectangle<int> Direct2DLowLevelGraphicsContext::SavedState::clipRect
bool Direct2DLowLevelGraphicsContext::SavedState::clipsBitmap
bool Direct2DLowLevelGraphicsContext::SavedState::clipsComplex
bool Direct2DLowLevelGraphicsContext::SavedState::clipsRect
bool Direct2DLowLevelGraphicsContext::SavedState::clipsRectList
ComSmartPtr<ID2D1Geometry> Direct2DLowLevelGraphicsContext::SavedState::complexClipGeometry
ComSmartPtr<ID2D1Layer> Direct2DLowLevelGraphicsContext::SavedState::complexClipLayer
D2D1_LAYER_PARAMETERS Direct2DLowLevelGraphicsContext::SavedState::complexClipLayerParams
ID2D1Brush* Direct2DLowLevelGraphicsContext::SavedState::currentBrush
IDWriteFontFace* Direct2DLowLevelGraphicsContext::SavedState::currentFontFace
FillType Direct2DLowLevelGraphicsContext::SavedState::fillType
Font Direct2DLowLevelGraphicsContext::SavedState::font
float Direct2DLowLevelGraphicsContext::SavedState::fontHeightToEmSizeFactor
ComSmartPtr<ID2D1GradientStopCollection> Direct2DLowLevelGraphicsContext::SavedState::gradientStops
Image Direct2DLowLevelGraphicsContext::SavedState::image
D2D1_LAYER_PARAMETERS Direct2DLowLevelGraphicsContext::SavedState::imageMaskLayerParams
ComSmartPtr<ID2D1LinearGradientBrush> Direct2DLowLevelGraphicsContext::SavedState::linearGradient
ComSmartPtr<IDWriteFontFace> Direct2DLowLevelGraphicsContext::SavedState::localFontFace
ComSmartPtr<ID2D1Bitmap> Direct2DLowLevelGraphicsContext::SavedState::maskBitmap
Image Direct2DLowLevelGraphicsContext::SavedState::maskImage
Direct2DLowLevelGraphicsContext& Direct2DLowLevelGraphicsContext::SavedState::owner
ComSmartPtr<ID2D1RadialGradientBrush> Direct2DLowLevelGraphicsContext::SavedState::radialGradient
ComSmartPtr<ID2D1Geometry> Direct2DLowLevelGraphicsContext::SavedState::rectListGeometry
ComSmartPtr<ID2D1Layer> Direct2DLowLevelGraphicsContext::SavedState::rectListLayer
D2D1_LAYER_PARAMETERS Direct2DLowLevelGraphicsContext::SavedState::rectListLayerParams
bool Direct2DLowLevelGraphicsContext::SavedState::shouldClipBitmap
bool Direct2DLowLevelGraphicsContext::SavedState::shouldClipComplex
bool Direct2DLowLevelGraphicsContext::SavedState::shouldClipRect
bool Direct2DLowLevelGraphicsContext::SavedState::shouldClipRectList
AffineTransform Direct2DLowLevelGraphicsContext::SavedState::transform

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