25 #ifndef JUCE_MAC_COREGRAPHICSCONTEXT_H_INCLUDED
26 #define JUCE_MAC_COREGRAPHICSCONTEXT_H_INCLUDED
32 CoreGraphicsContext (CGContextRef context,
const float flipHeight,
const float targetScale);
77 const CGFloat flipHeight;
79 CGColorSpaceRef rgbColourSpace, greyColourSpace;
81 mutable bool lastClipRectIsValid;
86 SavedState (
const SavedState&);
94 CGAffineTransform fontTransform;
95 CGGradientRef gradient;
102 void createPath (
const Path&)
const;
108 void fillCGRect (
const CGRect&,
bool replaceExistingContents);
113 #endif // JUCE_MAC_COREGRAPHICSCONTEXT_H_INCLUDED
void setOpacity(float) override
ResamplingQuality
Definition: juce_GraphicsContext.h:465
Definition: juce_Font.h:39
void setFill(const FillType &) override
void restoreState() override
Definition: juce_Line.h:44
Rectangle< int > getClipBounds() const override
void setOrigin(Point< int >) override
Definition: juce_RectangleList.h:40
void fillRect(const Rectangle< int > &, bool replaceExistingContents) override
void excludeClipRectangle(const Rectangle< int > &) override
float getPhysicalPixelScaleFactor() override
Definition: juce_Point.h:39
bool isVectorDevice() const override
Definition: juce_mac_CoreGraphicsContext.h:36
void saveState() override
bool isClipEmpty() const override
void beginTransparencyLayer(float opacity) override
void setFont(const Font &) override
bool clipRegionIntersects(const Rectangle< int > &) override
void clipToImageAlpha(const Image &, const AffineTransform &) override
void drawGlyph(int glyphNumber, const AffineTransform &) override
Definition: juce_Rectangle.h:36
bool clipToRectangleList(const RectangleList< int > &) override
void drawImage(const Image &sourceImage, const AffineTransform &) override
Definition: juce_Path.h:62
void fillRectList(const RectangleList< float > &) override
bool drawTextLayout(const AttributedString &, const Rectangle< float > &) override
void fillPath(const Path &, const AffineTransform &) override
const Font & getFont() override
bool clipToRectangle(const Rectangle< int > &) override
Definition: juce_AttributedString.h:39
Definition: juce_FillType.h:38
void drawLine(const Line< float > &) override
CoreGraphicsContext(CGContextRef context, const float flipHeight, const float targetScale)
Definition: juce_Image.h:54
Definition: juce_LowLevelGraphicsContext.h:43
void addTransform(const AffineTransform &) override
Definition: juce_mac_CoreGraphicsContext.h:29
void setInterpolationQuality(Graphics::ResamplingQuality) override
void endTransparencyLayer() override
void clipToPath(const Path &, const AffineTransform &) override