JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::Direct2DLowLevelGraphicsContext Class Reference

#include <juce_win32_Direct2DGraphicsContext.h>

Inheritance diagram for juce::Direct2DLowLevelGraphicsContext:
Collaboration diagram for juce::Direct2DLowLevelGraphicsContext:

Public Member Functions

 Direct2DLowLevelGraphicsContext (HWND)
 
 ~Direct2DLowLevelGraphicsContext ()
 
void addTransform (const AffineTransform &) override
 
void beginTransparencyLayer (float opacity) override
 
void clear ()
 
bool clipRegionIntersects (const Rectangle< int > &) override
 
void clipToImageAlpha (const Image &, const AffineTransform &) override
 
void clipToPath (const Path &, const AffineTransform &) override
 
bool clipToRectangle (const Rectangle< int > &) override
 
bool clipToRectangleList (const RectangleList< int > &) override
 
void drawGlyph (int glyphNumber, const AffineTransform &) override
 
void drawImage (const Image &sourceImage, const AffineTransform &) override
 
void drawLine (const Line< float > &) override
 
bool drawTextLayout (const AttributedString &, const Rectangle< float > &) override
 
void end ()
 
void endTransparencyLayer () override
 
void excludeClipRectangle (const Rectangle< int > &) override
 
void fillPath (const Path &, const AffineTransform &) override
 
void fillRect (const Rectangle< float > &) override
 
void fillRect (const Rectangle< int > &, bool replaceExistingContents) override
 
void fillRectList (const RectangleList< float > &) override
 
Rectangle< intgetClipBounds () const override
 
const FontgetFont () override
 
float getPhysicalPixelScaleFactor () override
 
bool isClipEmpty () const override
 
bool isVectorDevice () const override
 Returns true if this device is vector-based, e.g. More...
 
void resized ()
 
void restoreState () override
 
void saveState () override
 
void setFill (const FillType &) override
 
void setFont (const Font &) override
 
void setInterpolationQuality (Graphics::ResamplingQuality) override
 
void setOpacity (float) override
 
void setOrigin (Point< int >) override
 Moves the origin to a new position. More...
 
void start ()
 

Private Attributes

Rectangle< intbounds
 
SavedState * currentState
 
HWND hwnd
 
std::unique_ptr< Pimpl > pimpl
 
OwnedArray< SavedState > states
 

Constructor & Destructor Documentation

◆ Direct2DLowLevelGraphicsContext()

juce::Direct2DLowLevelGraphicsContext::Direct2DLowLevelGraphicsContext ( HWND  )

◆ ~Direct2DLowLevelGraphicsContext()

juce::Direct2DLowLevelGraphicsContext::~Direct2DLowLevelGraphicsContext ( )

Member Function Documentation

◆ addTransform()

void juce::Direct2DLowLevelGraphicsContext::addTransform ( const AffineTransform )
overridevirtual

◆ beginTransparencyLayer()

void juce::Direct2DLowLevelGraphicsContext::beginTransparencyLayer ( float  opacity)
overridevirtual

◆ clear()

void juce::Direct2DLowLevelGraphicsContext::clear ( )

◆ clipRegionIntersects()

bool juce::Direct2DLowLevelGraphicsContext::clipRegionIntersects ( const Rectangle< int > &  )
overridevirtual

◆ clipToImageAlpha()

void juce::Direct2DLowLevelGraphicsContext::clipToImageAlpha ( const Image ,
const AffineTransform  
)
overridevirtual

◆ clipToPath()

void juce::Direct2DLowLevelGraphicsContext::clipToPath ( const Path ,
const AffineTransform  
)
overridevirtual

◆ clipToRectangle()

bool juce::Direct2DLowLevelGraphicsContext::clipToRectangle ( const Rectangle< int > &  )
overridevirtual

◆ clipToRectangleList()

bool juce::Direct2DLowLevelGraphicsContext::clipToRectangleList ( const RectangleList< int > &  )
overridevirtual

◆ drawGlyph()

void juce::Direct2DLowLevelGraphicsContext::drawGlyph ( int  glyphNumber,
const AffineTransform  
)
overridevirtual

◆ drawImage()

void juce::Direct2DLowLevelGraphicsContext::drawImage ( const Image sourceImage,
const AffineTransform  
)
overridevirtual

◆ drawLine()

void juce::Direct2DLowLevelGraphicsContext::drawLine ( const Line< float > &  )
overridevirtual

◆ drawTextLayout()

bool juce::Direct2DLowLevelGraphicsContext::drawTextLayout ( const AttributedString ,
const Rectangle< float > &   
)
overridevirtual

Reimplemented from juce::LowLevelGraphicsContext.

◆ end()

void juce::Direct2DLowLevelGraphicsContext::end ( )

◆ endTransparencyLayer()

void juce::Direct2DLowLevelGraphicsContext::endTransparencyLayer ( )
overridevirtual

◆ excludeClipRectangle()

void juce::Direct2DLowLevelGraphicsContext::excludeClipRectangle ( const Rectangle< int > &  )
overridevirtual

◆ fillPath()

void juce::Direct2DLowLevelGraphicsContext::fillPath ( const Path ,
const AffineTransform  
)
overridevirtual

◆ fillRect() [1/2]

void juce::Direct2DLowLevelGraphicsContext::fillRect ( const Rectangle< float > &  )
overridevirtual

◆ fillRect() [2/2]

void juce::Direct2DLowLevelGraphicsContext::fillRect ( const Rectangle< int > &  ,
bool  replaceExistingContents 
)
overridevirtual

◆ fillRectList()

void juce::Direct2DLowLevelGraphicsContext::fillRectList ( const RectangleList< float > &  )
overridevirtual

◆ getClipBounds()

Rectangle<int> juce::Direct2DLowLevelGraphicsContext::getClipBounds ( ) const
overridevirtual

◆ getFont()

const Font& juce::Direct2DLowLevelGraphicsContext::getFont ( )
overridevirtual

◆ getPhysicalPixelScaleFactor()

float juce::Direct2DLowLevelGraphicsContext::getPhysicalPixelScaleFactor ( )
overridevirtual

◆ isClipEmpty()

bool juce::Direct2DLowLevelGraphicsContext::isClipEmpty ( ) const
overridevirtual

◆ isVectorDevice()

bool juce::Direct2DLowLevelGraphicsContext::isVectorDevice ( ) const
inlineoverridevirtual

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

a printer.

Implements juce::LowLevelGraphicsContext.

◆ resized()

void juce::Direct2DLowLevelGraphicsContext::resized ( )

◆ restoreState()

void juce::Direct2DLowLevelGraphicsContext::restoreState ( )
overridevirtual

◆ saveState()

void juce::Direct2DLowLevelGraphicsContext::saveState ( )
overridevirtual

◆ setFill()

void juce::Direct2DLowLevelGraphicsContext::setFill ( const FillType )
overridevirtual

◆ setFont()

void juce::Direct2DLowLevelGraphicsContext::setFont ( const Font )
overridevirtual

◆ setInterpolationQuality()

void juce::Direct2DLowLevelGraphicsContext::setInterpolationQuality ( Graphics::ResamplingQuality  )
overridevirtual

◆ setOpacity()

void juce::Direct2DLowLevelGraphicsContext::setOpacity ( float  )
overridevirtual

◆ setOrigin()

void juce::Direct2DLowLevelGraphicsContext::setOrigin ( Point< int )
overridevirtual

Moves the origin to a new position.

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

Implements juce::LowLevelGraphicsContext.

◆ start()

void juce::Direct2DLowLevelGraphicsContext::start ( )

Member Data Documentation

◆ bounds

Rectangle<int> juce::Direct2DLowLevelGraphicsContext::bounds
private

◆ currentState

SavedState* juce::Direct2DLowLevelGraphicsContext::currentState
private

◆ hwnd

HWND juce::Direct2DLowLevelGraphicsContext::hwnd
private

◆ pimpl

std::unique_ptr<Pimpl> juce::Direct2DLowLevelGraphicsContext::pimpl
private

◆ states

OwnedArray<SavedState> juce::Direct2DLowLevelGraphicsContext::states
private

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