openshot-audio  0.1.2
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
juce::RenderingHelpers::SoftwareRendererSavedState Class Reference

#include <juce_graphics.h>

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

Public Types

typedef GlyphCache< CachedGlyphEdgeTable< SoftwareRendererSavedState >, SoftwareRendererSavedStateGlyphCacheType
 
- Public Types inherited from juce::RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >
typedef ClipRegions< SoftwareRendererSavedState >::Base BaseRegionType
 
typedef ClipRegions< SoftwareRendererSavedState >::EdgeTableRegion EdgeTableRegionType
 
typedef ClipRegions< SoftwareRendererSavedState >::RectangleListRegion RectangleListRegionType
 

Public Member Functions

 SoftwareRendererSavedState (const Image &im, const Rectangle< int > &clipBounds)
 
 SoftwareRendererSavedState (const Image &im, const RectangleList< int > &clipList, Point< int > origin)
 
 SoftwareRendererSavedState (const SoftwareRendererSavedState &other)
 
SoftwareRendererSavedStatebeginTransparencyLayer (float opacity)
 
void endTransparencyLayer (SoftwareRendererSavedState &finishedLayerState)
 
void drawGlyph (int glyphNumber, const AffineTransform &trans)
 
Rectangle< int > getMaximumBounds () const
 
template<typename IteratorType >
void renderImageTransformed (IteratorType &iter, const Image &src, const int alpha, const AffineTransform &trans, Graphics::ResamplingQuality quality, bool tiledFill) const
 
template<typename IteratorType >
void renderImageUntransformed (IteratorType &iter, const Image &src, const int alpha, int x, int y, bool tiledFill) const
 
template<typename IteratorType >
void fillWithSolidColour (IteratorType &iter, const 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 (const Rectangle< int > &initialClip)
 
 SavedStateBase (const RectangleList< int > &clipList, Point< int > origin)
 
 SavedStateBase (const SavedStateBase &other)
 
SoftwareRendererSavedStategetThis () noexcept
 
bool clipToRectangle (const Rectangle< int > &r)
 
bool clipToRectangleList (const RectangleList< int > &r)
 
bool excludeClipRectangle (const Rectangle< int > &r)
 
void clipToPath (const Path &p, const AffineTransform &t)
 
void clipToImageAlpha (const Image &sourceImage, const AffineTransform &t)
 
bool clipRegionIntersects (const Rectangle< int > &r) const
 
Rectangle< int > getClipBounds () const
 
void setFillType (const FillType &newFill)
 
void fillTargetRect (const Rectangle< int > &r, const bool replaceContents)
 
void fillTargetRect (const Rectangle< float > &r)
 
void fillRectAsPath (const Rectangle< CoordType > &r)
 
void fillRect (const Rectangle< int > &r, const bool replaceContents)
 
void fillRect (const Rectangle< float > &r)
 
void fillRectList (const RectangleList< float > &list)
 
void fillPath (const Path &path, const AffineTransform &t)
 
void fillEdgeTable (const EdgeTable &edgeTable, const float x, const int y)
 
void drawLine (const Line< float > &line)
 
void drawImage (const Image &sourceImage, const AffineTransform &trans)
 
void renderImage (const Image &sourceImage, const AffineTransform &trans, const BaseRegionType *const tiledFillClipRegion)
 
void fillShape (typename BaseRegionType::Ptr shapeToFill, const bool replaceContents)
 
void cloneClipIfMultiplyReferenced ()
 

Static Public Member Functions

static void clearGlyphCache ()
 
- Static Public Member Functions inherited from juce::RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >
static Rectangle< int > getLargestIntegerWithin (Rectangle< float > r)
 
static bool isOnlyTranslationAllowingError (const AffineTransform &t)
 

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
 

Member Typedef Documentation

◆ GlyphCacheType

Constructor & Destructor Documentation

◆ SoftwareRendererSavedState() [1/3]

juce::RenderingHelpers::SoftwareRendererSavedState::SoftwareRendererSavedState ( const Image im,
const 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)
inline

Member Function Documentation

◆ beginTransparencyLayer()

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

◆ clearGlyphCache()

static 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,
const PixelARGB  colour,
bool  replaceContents 
) const
inline

◆ getMaximumBounds()

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

◆ renderImageTransformed()

template<typename IteratorType >
void juce::RenderingHelpers::SoftwareRendererSavedState::renderImageTransformed ( IteratorType &  iter,
const Image src,
const 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,
const 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: