JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::LowLevelGraphicsSoftwareRenderer Class Reference

A lowest-common-denominator implementation of LowLevelGraphicsContext that does all its rendering in memory. More...

#include "juce_LowLevelGraphicsSoftwareRenderer.h"

Inheritance diagram for juce::LowLevelGraphicsSoftwareRenderer:
juce::RenderingHelpers::StackBasedLowLevelGraphicsContext< RenderingHelpers::SoftwareRendererSavedState > juce::LowLevelGraphicsContext

Public Member Functions

 LowLevelGraphicsSoftwareRenderer (const Image &imageToRenderOnto)
 Creates a context to render into an image.
 
 LowLevelGraphicsSoftwareRenderer (const Image &imageToRenderOnto, Point< int > origin, const RectangleList< int > &initialClip)
 Creates a context to render into a clipped subsection of an image.
 
 ~LowLevelGraphicsSoftwareRenderer () override
 Destructor.
 
- Public Member Functions inherited from juce::RenderingHelpers::StackBasedLowLevelGraphicsContext< RenderingHelpers::SoftwareRendererSavedState >
bool isVectorDevice () const override
 Returns true if this device is vector-based, e.g.
 
void setOrigin (Point< int > o) override
 Moves the origin to a new position.
 
void addTransform (const AffineTransform &t) override
 
float getPhysicalPixelScaleFactor () override
 
Rectangle< intgetClipBounds () const override
 
bool isClipEmpty () const override
 
bool clipRegionIntersects (const Rectangle< int > &r) override
 
bool clipToRectangle (const Rectangle< int > &r) override
 
bool clipToRectangleList (const RectangleList< int > &r) override
 
void excludeClipRectangle (const Rectangle< int > &r) override
 
void clipToPath (const Path &path, const AffineTransform &t) override
 
void clipToImageAlpha (const Image &im, const AffineTransform &t) override
 
void saveState () override
 
void restoreState () override
 
void beginTransparencyLayer (float opacity) override
 
void endTransparencyLayer () override
 
void setFill (const FillType &fillType) override
 
void setOpacity (float newOpacity) override
 
void setInterpolationQuality (Graphics::ResamplingQuality quality) override
 
void fillRect (const Rectangle< int > &r, bool replace) override
 
void fillRect (const Rectangle< float > &r) override
 
void fillRectList (const RectangleList< float > &list) override
 
void fillPath (const Path &path, const AffineTransform &t) override
 
void drawImage (const Image &im, const AffineTransform &t) override
 
void drawGlyph (int glyphNumber, const AffineTransform &t) override
 
void drawLine (const Line< float > &line) override
 
void setFont (const Font &newFont) override
 
const FontgetFont () override
 
- Public Member Functions inherited from juce::LowLevelGraphicsContext
virtual void fillAll ()
 
virtual bool drawTextLayout (const AttributedString &, const Rectangle< float > &)
 

Additional Inherited Members

- Protected Member Functions inherited from juce::RenderingHelpers::StackBasedLowLevelGraphicsContext< RenderingHelpers::SoftwareRendererSavedState >
 StackBasedLowLevelGraphicsContext (RenderingHelpers::SoftwareRendererSavedState *initialState)
 
- Protected Attributes inherited from juce::RenderingHelpers::StackBasedLowLevelGraphicsContext< RenderingHelpers::SoftwareRendererSavedState >
RenderingHelpers::SavedStateStack< RenderingHelpers::SoftwareRendererSavedStatestack
 

Detailed Description

A lowest-common-denominator implementation of LowLevelGraphicsContext that does all its rendering in memory.

User code is not supposed to create instances of this class directly - do all your rendering via the Graphics class instead.

@tags{Graphics}

Definition at line 39 of file juce_LowLevelGraphicsSoftwareRenderer.h.

Constructor & Destructor Documentation

◆ LowLevelGraphicsSoftwareRenderer() [1/2]

juce::LowLevelGraphicsSoftwareRenderer::LowLevelGraphicsSoftwareRenderer ( const Image imageToRenderOnto)

Creates a context to render into an image.

Definition at line 29 of file juce_LowLevelGraphicsSoftwareRenderer.cpp.

◆ LowLevelGraphicsSoftwareRenderer() [2/2]

juce::LowLevelGraphicsSoftwareRenderer::LowLevelGraphicsSoftwareRenderer ( const Image imageToRenderOnto,
Point< int origin,
const RectangleList< int > &  initialClip 
)

Creates a context to render into a clipped subsection of an image.

Definition at line 35 of file juce_LowLevelGraphicsSoftwareRenderer.cpp.

◆ ~LowLevelGraphicsSoftwareRenderer()

juce::LowLevelGraphicsSoftwareRenderer::~LowLevelGraphicsSoftwareRenderer ( )
override

Destructor.

Definition at line 42 of file juce_LowLevelGraphicsSoftwareRenderer.cpp.


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