openshot-audio  0.1.6
Classes | Public Member Functions | List of all members
Direct2DLowLevelGraphicsContext Class Reference
Inheritance diagram for Direct2DLowLevelGraphicsContext:
LowLevelGraphicsContext

Classes

class  SavedState
 

Public Member Functions

 Direct2DLowLevelGraphicsContext (HWND hwnd_)
 
 ~Direct2DLowLevelGraphicsContext ()
 
void resized ()
 
void clear ()
 
void start ()
 
void end ()
 
bool isVectorDevice () const
 
void setOrigin (Point< int > o)
 
void addTransform (const AffineTransform &transform)
 
float getPhysicalPixelScaleFactor ()
 
bool clipToRectangle (const Rectangle< int > &r)
 
bool clipToRectangleList (const RectangleList< int > &clipRegion)
 
void excludeClipRectangle (const Rectangle< int > &)
 
void clipToPath (const Path &path, const AffineTransform &transform)
 
void clipToImageAlpha (const Image &sourceImage, const AffineTransform &transform)
 
bool clipRegionIntersects (const Rectangle< int > &r)
 
Rectangle< intgetClipBounds () const
 
bool isClipEmpty () const
 
void saveState ()
 
void restoreState ()
 
void beginTransparencyLayer (float)
 
void endTransparencyLayer ()
 
void setFill (const FillType &fillType)
 
void setOpacity (float newOpacity)
 
void setInterpolationQuality (Graphics::ResamplingQuality)
 
void fillRect (const Rectangle< int > &r, bool)
 
void fillRect (const Rectangle< float > &r)
 
void fillRectList (const RectangleList< float > &list)
 
void fillPath (const Path &p, const AffineTransform &transform)
 
void drawImage (const Image &image, const AffineTransform &transform)
 
void drawLine (const Line< float > &line)
 
void setFont (const Font &newFont)
 
const FontgetFont ()
 
void drawGlyph (int glyphNumber, const AffineTransform &transform)
 
bool drawTextLayout (const AttributedString &text, const Rectangle< float > &area)
 
- Public Member Functions inherited from LowLevelGraphicsContext
virtual ~LowLevelGraphicsContext ()
 

Additional Inherited Members

- Protected Member Functions inherited from LowLevelGraphicsContext
 LowLevelGraphicsContext ()
 

Constructor & Destructor Documentation

Direct2DLowLevelGraphicsContext::Direct2DLowLevelGraphicsContext ( HWND  hwnd_)
inline
Direct2DLowLevelGraphicsContext::~Direct2DLowLevelGraphicsContext ( )
inline

Member Function Documentation

void Direct2DLowLevelGraphicsContext::addTransform ( const AffineTransform transform)
inlinevirtual
void Direct2DLowLevelGraphicsContext::beginTransparencyLayer ( float  )
inlinevirtual
void Direct2DLowLevelGraphicsContext::clear ( )
inline
bool Direct2DLowLevelGraphicsContext::clipRegionIntersects ( const Rectangle< int > &  r)
inlinevirtual
void Direct2DLowLevelGraphicsContext::clipToImageAlpha ( const Image sourceImage,
const AffineTransform transform 
)
inlinevirtual
void Direct2DLowLevelGraphicsContext::clipToPath ( const Path path,
const AffineTransform transform 
)
inlinevirtual
bool Direct2DLowLevelGraphicsContext::clipToRectangle ( const Rectangle< int > &  r)
inlinevirtual
bool Direct2DLowLevelGraphicsContext::clipToRectangleList ( const RectangleList< int > &  clipRegion)
inlinevirtual
void Direct2DLowLevelGraphicsContext::drawGlyph ( int  glyphNumber,
const AffineTransform transform 
)
inlinevirtual
void Direct2DLowLevelGraphicsContext::drawImage ( const Image image,
const AffineTransform transform 
)
inlinevirtual
void Direct2DLowLevelGraphicsContext::drawLine ( const Line< float > &  line)
inlinevirtual
bool Direct2DLowLevelGraphicsContext::drawTextLayout ( const AttributedString text,
const Rectangle< float > &  area 
)
inlinevirtual

Reimplemented from LowLevelGraphicsContext.

void Direct2DLowLevelGraphicsContext::end ( )
inline
void Direct2DLowLevelGraphicsContext::endTransparencyLayer ( )
inlinevirtual
void Direct2DLowLevelGraphicsContext::excludeClipRectangle ( const Rectangle< int > &  )
inlinevirtual
void Direct2DLowLevelGraphicsContext::fillPath ( const Path p,
const AffineTransform transform 
)
inlinevirtual
void Direct2DLowLevelGraphicsContext::fillRect ( const Rectangle< int > &  r,
bool   
)
inlinevirtual
void Direct2DLowLevelGraphicsContext::fillRect ( const Rectangle< float > &  r)
inlinevirtual
void Direct2DLowLevelGraphicsContext::fillRectList ( const RectangleList< float > &  list)
inlinevirtual
Rectangle<int> Direct2DLowLevelGraphicsContext::getClipBounds ( ) const
inlinevirtual
const Font& Direct2DLowLevelGraphicsContext::getFont ( )
inlinevirtual
float Direct2DLowLevelGraphicsContext::getPhysicalPixelScaleFactor ( )
inlinevirtual
bool Direct2DLowLevelGraphicsContext::isClipEmpty ( ) const
inlinevirtual
bool Direct2DLowLevelGraphicsContext::isVectorDevice ( ) const
inlinevirtual

Returns true if this device is vector-based, e.g. a printer.

Implements LowLevelGraphicsContext.

void Direct2DLowLevelGraphicsContext::resized ( )
inline
void Direct2DLowLevelGraphicsContext::restoreState ( )
inlinevirtual
void Direct2DLowLevelGraphicsContext::saveState ( )
inlinevirtual
void Direct2DLowLevelGraphicsContext::setFill ( const FillType fillType)
inlinevirtual
void Direct2DLowLevelGraphicsContext::setFont ( const Font newFont)
inlinevirtual
void Direct2DLowLevelGraphicsContext::setInterpolationQuality ( Graphics::ResamplingQuality  )
inlinevirtual
void Direct2DLowLevelGraphicsContext::setOpacity ( float  newOpacity)
inlinevirtual
void Direct2DLowLevelGraphicsContext::setOrigin ( Point< int )
inlinevirtual

Moves the origin to a new position.

The coordinates are relative to the current origin, and indicate the new position of (0, 0).

Implements LowLevelGraphicsContext.

void Direct2DLowLevelGraphicsContext::start ( )
inline

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