LMMS
Loading...
Searching...
No Matches
juce::RenderingHelpers::SoftwareRendererSavedState Class Reference

#include <juce_RenderingHelpers.h>

Inheritance diagram for juce::RenderingHelpers::SoftwareRendererSavedState:
juce::RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >

Public Types

using GlyphCacheType = GlyphCache<CachedGlyphEdgeTable<SoftwareRendererSavedState>, SoftwareRendererSavedState>
Public Types inherited from juce::RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >
using BaseRegionType
using EdgeTableRegionType
using RectangleListRegionType

Public Member Functions

 SoftwareRendererSavedState (const Image &im, Rectangle< int > clipBounds)
 SoftwareRendererSavedState (const Image &im, const RectangleList< int > &clipList, Point< int > origin)
 SoftwareRendererSavedState (const SoftwareRendererSavedState &other)=default
SoftwareRendererSavedStatebeginTransparencyLayer (float opacity)
void endTransparencyLayer (SoftwareRendererSavedState &finishedLayerState)
void drawGlyph (int glyphNumber, const AffineTransform &trans)
Rectangle< intgetMaximumBounds () const
template<typename IteratorType>
void renderImageTransformed (IteratorType &iter, const Image &src, int alpha, const AffineTransform &trans, Graphics::ResamplingQuality quality, bool tiledFill) const
template<typename IteratorType>
void renderImageUntransformed (IteratorType &iter, const Image &src, int alpha, int x, int y, bool tiledFill) const
template<typename IteratorType>
void fillWithSolidColour (IteratorType &iter, PixelARGB colour, bool replaceContents) const
template<typename IteratorType>
void fillWithGradient (IteratorType &iter, ColourGradient &gradient, const AffineTransform &trans, bool isIdentity) const
Public Member Functions inherited from juce::RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >
 SavedStateBase (Rectangle< int > initialClip)
 SavedStateBase (const RectangleList< int > &clipList, Point< int > origin)
 SavedStateBase (const SavedStateBase &other)
SoftwareRendererSavedStategetThis () noexcept
bool clipToRectangle (Rectangle< int > r)
bool clipToRectangleList (const RectangleList< int > &r)
bool excludeClipRectangle (Rectangle< int > r)
void clipToPath (const Path &p, const AffineTransform &t)
void clipToImageAlpha (const Image &sourceImage, const AffineTransform &t)
bool clipRegionIntersects (Rectangle< int > r) const
Rectangle< intgetClipBounds () const
void setFillType (const FillType &newFill)
void fillTargetRect (Rectangle< int > r, bool replaceContents)
void fillTargetRect (Rectangle< float > r)
void fillRectAsPath (Rectangle< CoordType > r)
void fillRect (Rectangle< int > r, bool replaceContents)
void fillRect (Rectangle< float > r)
void fillRectList (const RectangleList< float > &list)
void fillPath (const Path &path, const AffineTransform &t)
void fillEdgeTable (const EdgeTable &edgeTable, float x, int y)
void drawLine (Line< float > line)
void drawImage (const Image &sourceImage, const AffineTransform &trans)
void renderImage (const Image &sourceImage, const AffineTransform &trans, const BaseRegionType *tiledFillClipRegion)
void fillShape (typename BaseRegionType::Ptr shapeToFill, bool replaceContents)
void cloneClipIfMultiplyReferenced ()

Static Public Member Functions

static void clearGlyphCache ()
Static Public Member Functions inherited from juce::RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >
static Rectangle< intgetLargestIntegerWithin (Rectangle< float > r)
static bool isOnlyTranslationAllowingError (const AffineTransform &t, float tolerance) noexcept

Public Attributes

Image image
Font font
Public Attributes inherited from juce::RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >
BaseRegionType::Ptr clip
RenderingHelpers::TranslationOrTransform transform
FillType fillType
Graphics::ResamplingQuality interpolationQuality
float transparencyLayerAlpha

Private Types

using BaseClass = SavedStateBase<SoftwareRendererSavedState>

Private Member Functions

SoftwareRendererSavedStateoperator= (const SoftwareRendererSavedState &)=delete

Member Typedef Documentation

◆ BaseClass

using juce::RenderingHelpers::SoftwareRendererSavedState::BaseClass = SavedStateBase<SoftwareRendererSavedState>
private

◆ GlyphCacheType

using juce::RenderingHelpers::SoftwareRendererSavedState::GlyphCacheType = GlyphCache<CachedGlyphEdgeTable<SoftwareRendererSavedState>, SoftwareRendererSavedState>

Constructor & Destructor Documentation

◆ SoftwareRendererSavedState() [1/3]

juce::RenderingHelpers::SoftwareRendererSavedState::SoftwareRendererSavedState ( const Image & im,
Rectangle< int > clipBounds )
inline

◆ SoftwareRendererSavedState() [2/3]

juce::RenderingHelpers::SoftwareRendererSavedState::SoftwareRendererSavedState ( const Image & im,
const RectangleList< int > & clipList,
Point< int > origin )
inline

◆ SoftwareRendererSavedState() [3/3]

juce::RenderingHelpers::SoftwareRendererSavedState::SoftwareRendererSavedState ( const SoftwareRendererSavedState & other)
default

Member Function Documentation

◆ beginTransparencyLayer()

SoftwareRendererSavedState * juce::RenderingHelpers::SoftwareRendererSavedState::beginTransparencyLayer ( float opacity)
inline

◆ clearGlyphCache()

void juce::RenderingHelpers::SoftwareRendererSavedState::clearGlyphCache ( )
inlinestatic

◆ drawGlyph()

void juce::RenderingHelpers::SoftwareRendererSavedState::drawGlyph ( int glyphNumber,
const AffineTransform & trans )
inline

◆ endTransparencyLayer()

void juce::RenderingHelpers::SoftwareRendererSavedState::endTransparencyLayer ( SoftwareRendererSavedState & finishedLayerState)
inline

◆ fillWithGradient()

template<typename IteratorType>
void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithGradient ( IteratorType & iter,
ColourGradient & gradient,
const AffineTransform & trans,
bool isIdentity ) const
inline

◆ fillWithSolidColour()

template<typename IteratorType>
void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour ( IteratorType & iter,
PixelARGB colour,
bool replaceContents ) const
inline

◆ getMaximumBounds()

Rectangle< int > juce::RenderingHelpers::SoftwareRendererSavedState::getMaximumBounds ( ) const
inline

◆ operator=()

SoftwareRendererSavedState & juce::RenderingHelpers::SoftwareRendererSavedState::operator= ( const SoftwareRendererSavedState & )
privatedelete

◆ renderImageTransformed()

template<typename IteratorType>
void juce::RenderingHelpers::SoftwareRendererSavedState::renderImageTransformed ( IteratorType & iter,
const Image & src,
int alpha,
const AffineTransform & trans,
Graphics::ResamplingQuality quality,
bool tiledFill ) const
inline

◆ renderImageUntransformed()

template<typename IteratorType>
void juce::RenderingHelpers::SoftwareRendererSavedState::renderImageUntransformed ( IteratorType & iter,
const Image & src,
int alpha,
int x,
int y,
bool tiledFill ) const
inline

Member Data Documentation

◆ font

Font juce::RenderingHelpers::SoftwareRendererSavedState::font

◆ image

Image juce::RenderingHelpers::SoftwareRendererSavedState::image

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