#include <juce_mac_CoreGraphicsContext.h>
|
| | CoreGraphicsContext (CGContextRef context, float flipHeight, float targetScale) |
| |
| | ~CoreGraphicsContext () override |
| |
| void | addTransform (const AffineTransform &) override |
| |
| void | beginTransparencyLayer (float opacity) override |
| |
| 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 | 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 | 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...
|
| |
◆ CoreGraphicsContext()
| juce::CoreGraphicsContext::CoreGraphicsContext |
( |
CGContextRef |
context, |
|
|
float |
flipHeight, |
|
|
float |
targetScale |
|
) |
| |
◆ ~CoreGraphicsContext()
| juce::CoreGraphicsContext::~CoreGraphicsContext |
( |
| ) |
|
|
override |
◆ addTransform()
◆ applyTransform()
| void juce::CoreGraphicsContext::applyTransform |
( |
const AffineTransform & |
| ) |
const |
|
private |
◆ beginTransparencyLayer()
| void juce::CoreGraphicsContext::beginTransparencyLayer |
( |
float |
opacity | ) |
|
|
overridevirtual |
◆ clipRegionIntersects()
| bool juce::CoreGraphicsContext::clipRegionIntersects |
( |
const Rectangle< int > & |
| ) |
|
|
overridevirtual |
◆ clipToImageAlpha()
◆ clipToPath()
◆ clipToRectangle()
◆ clipToRectangleList()
◆ clipToRectangleListWithoutTest()
◆ createPath() [1/2]
| void juce::CoreGraphicsContext::createPath |
( |
const Path & |
| ) |
const |
|
private |
◆ createPath() [2/2]
◆ drawGlyph()
◆ drawGradient()
| void juce::CoreGraphicsContext::drawGradient |
( |
| ) |
|
|
private |
◆ drawImage() [1/2]
◆ drawImage() [2/2]
◆ drawLine()
| void juce::CoreGraphicsContext::drawLine |
( |
const Line< float > & |
| ) |
|
|
overridevirtual |
◆ drawTextLayout()
◆ endTransparencyLayer()
| void juce::CoreGraphicsContext::endTransparencyLayer |
( |
| ) |
|
|
overridevirtual |
◆ excludeClipRectangle()
| void juce::CoreGraphicsContext::excludeClipRectangle |
( |
const Rectangle< int > & |
| ) |
|
|
overridevirtual |
◆ fillCGRect()
| void juce::CoreGraphicsContext::fillCGRect |
( |
const CGRect & |
, |
|
|
bool |
replaceExistingContents |
|
) |
| |
|
private |
◆ fillPath()
◆ fillRect() [1/2]
| void juce::CoreGraphicsContext::fillRect |
( |
const Rectangle< int > & |
, |
|
|
bool |
replaceExistingContents |
|
) |
| |
|
overridevirtual |
◆ fillRect() [2/2]
| void juce::CoreGraphicsContext::fillRect |
( |
const Rectangle< float > & |
| ) |
|
|
overridevirtual |
◆ fillRectList()
◆ flip()
| void juce::CoreGraphicsContext::flip |
( |
| ) |
const |
|
private |
◆ getClipBounds()
| Rectangle<int> juce::CoreGraphicsContext::getClipBounds |
( |
| ) |
const |
|
overridevirtual |
◆ getFont()
| const Font& juce::CoreGraphicsContext::getFont |
( |
| ) |
|
|
overridevirtual |
◆ getPhysicalPixelScaleFactor()
| float juce::CoreGraphicsContext::getPhysicalPixelScaleFactor |
( |
| ) |
|
|
overridevirtual |
◆ isClipEmpty()
| bool juce::CoreGraphicsContext::isClipEmpty |
( |
| ) |
const |
|
overridevirtual |
◆ isVectorDevice()
| bool juce::CoreGraphicsContext::isVectorDevice |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns true if this device is vector-based, e.g.
a printer.
Implements juce::LowLevelGraphicsContext.
References addTransform(), beginTransparencyLayer(), clipRegionIntersects(), clipToImageAlpha(), clipToPath(), clipToRectangle(), clipToRectangleList(), drawGlyph(), drawImage(), drawLine(), drawTextLayout(), endTransparencyLayer(), excludeClipRectangle(), fillPath(), fillRect(), fillRectList(), getClipBounds(), getFont(), getPhysicalPixelScaleFactor(), isClipEmpty(), restoreState(), saveState(), setFill(), setFont(), setInterpolationQuality(), setOpacity(), and setOrigin().
◆ restoreState()
| void juce::CoreGraphicsContext::restoreState |
( |
| ) |
|
|
overridevirtual |
◆ saveState()
| void juce::CoreGraphicsContext::saveState |
( |
| ) |
|
|
overridevirtual |
◆ setFill()
| void juce::CoreGraphicsContext::setFill |
( |
const FillType & |
| ) |
|
|
overridevirtual |
◆ setFont()
| void juce::CoreGraphicsContext::setFont |
( |
const Font & |
| ) |
|
|
overridevirtual |
◆ setInterpolationQuality()
◆ setOpacity()
| void juce::CoreGraphicsContext::setOpacity |
( |
float |
| ) |
|
|
overridevirtual |
◆ setOrigin()
| void juce::CoreGraphicsContext::setOrigin |
( |
Point< int > |
| ) |
|
|
overridevirtual |
◆ context
| CGContextRef juce::CoreGraphicsContext::context |
|
private |
◆ flipHeight
| const CGFloat juce::CoreGraphicsContext::flipHeight |
|
private |
◆ greyColourSpace
| CGColorSpaceRef juce::CoreGraphicsContext::greyColourSpace |
|
private |
◆ lastClipRect
◆ lastClipRectIsValid
| bool juce::CoreGraphicsContext::lastClipRectIsValid = false |
|
mutableprivate |
◆ rgbColourSpace
| CGColorSpaceRef juce::CoreGraphicsContext::rgbColourSpace |
|
private |
◆ state
| std::unique_ptr<SavedState> juce::CoreGraphicsContext::state |
|
private |
◆ stateStack
◆ targetScale
| float juce::CoreGraphicsContext::targetScale |
|
private |
The documentation for this class was generated from the following file: