LMMS
Loading...
Searching...
No Matches
juce::LowLevelGraphicsSoftwareRenderer Class Reference

#include <juce_LowLevelGraphicsSoftwareRenderer.h>

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

Public Member Functions

 LowLevelGraphicsSoftwareRenderer (const Image &imageToRenderOnto)
 LowLevelGraphicsSoftwareRenderer (const Image &imageToRenderOnto, Point< int > origin, const RectangleList< int > &initialClip)
 ~LowLevelGraphicsSoftwareRenderer () override
Public Member Functions inherited from juce::RenderingHelpers::StackBasedLowLevelGraphicsContext< RenderingHelpers::SoftwareRendererSavedState >
bool isVectorDevice () const override
void setOrigin (Point< int > o) override
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 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 ~LowLevelGraphicsContext ()=default
virtual void fillRect (const Rectangle< float > &)=0
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 Member Functions inherited from juce::LowLevelGraphicsContext
 LowLevelGraphicsContext ()=default
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}

Constructor & Destructor Documentation

◆ LowLevelGraphicsSoftwareRenderer() [1/2]

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

Creates a context to render into an image.

◆ 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.

◆ ~LowLevelGraphicsSoftwareRenderer()

juce::LowLevelGraphicsSoftwareRenderer::~LowLevelGraphicsSoftwareRenderer ( )
override

Destructor.


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