#include <juce_win32_Direct2DGraphicsContext.h>
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< int > &, bool replaceExistingContents) override |
void | fillRect (const Rectangle< float > &) override |
void | fillRectList (const RectangleList< float > &) override |
Rectangle< int > | getClipBounds () const override |
const Font & | getFont () 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< int > | bounds |
SavedState * | currentState |
HWND | hwnd |
std::unique_ptr< Pimpl > | pimpl |
OwnedArray< SavedState > | states |
juce::Direct2DLowLevelGraphicsContext::Direct2DLowLevelGraphicsContext | ( | HWND | ) |
juce::Direct2DLowLevelGraphicsContext::~Direct2DLowLevelGraphicsContext | ( | ) |
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
void juce::Direct2DLowLevelGraphicsContext::clear | ( | ) |
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Reimplemented from juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
void juce::Direct2DLowLevelGraphicsContext::end | ( | ) |
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
Implements juce::LowLevelGraphicsContext.
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
inlineoverridevirtual |
Returns true if this device is vector-based, e.g.
a printer.
Implements juce::LowLevelGraphicsContext.
References addTransform(), beginTransparencyLayer(), clear(), clipRegionIntersects(), clipToImageAlpha(), clipToPath(), clipToRectangle(), clipToRectangleList(), drawGlyph(), drawImage(), drawLine(), drawTextLayout(), end(), endTransparencyLayer(), excludeClipRectangle(), fillPath(), fillRect(), fillRectList(), getClipBounds(), getFont(), getPhysicalPixelScaleFactor(), isClipEmpty(), resized(), restoreState(), saveState(), setFill(), setFont(), setInterpolationQuality(), setOpacity(), setOrigin(), and start().
void juce::Direct2DLowLevelGraphicsContext::resized | ( | ) |
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
|
overridevirtual |
Implements juce::LowLevelGraphicsContext.
Referenced by isVectorDevice().
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.
Referenced by isVectorDevice().
void juce::Direct2DLowLevelGraphicsContext::start | ( | ) |
Referenced by isVectorDevice().
|
private |
|
private |
|
private |
|
private |