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

#include <juce_RenderingHelpers.h>

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

Public Types

typedef GlyphCache< CachedGlyphEdgeTable< SoftwareRendererSavedState >, SoftwareRendererSavedStateGlyphCacheType
 
- Public Types inherited from 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< intgetMaximumBounds () 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 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< intgetClipBounds () 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 RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >
static Rectangle< intgetLargestIntegerWithin (Rectangle< float > r)
 
static bool isOnlyTranslationAllowingError (const AffineTransform &t)
 

Public Attributes

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

Member Typedef Documentation

Constructor & Destructor Documentation

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

Member Function Documentation

SoftwareRendererSavedState* RenderingHelpers::SoftwareRendererSavedState::beginTransparencyLayer ( float  opacity)
inline
static void RenderingHelpers::SoftwareRendererSavedState::clearGlyphCache ( )
inlinestatic
void RenderingHelpers::SoftwareRendererSavedState::drawGlyph ( int  glyphNumber,
const AffineTransform trans 
)
inline
void RenderingHelpers::SoftwareRendererSavedState::endTransparencyLayer ( SoftwareRendererSavedState finishedLayerState)
inline
template<typename IteratorType >
void RenderingHelpers::SoftwareRendererSavedState::fillWithGradient ( IteratorType &  iter,
ColourGradient gradient,
const AffineTransform trans,
bool  isIdentity 
) const
inline
template<typename IteratorType >
void RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour ( IteratorType &  iter,
const PixelARGB  colour,
bool  replaceContents 
) const
inline
Rectangle<int> RenderingHelpers::SoftwareRendererSavedState::getMaximumBounds ( ) const
inline
template<typename IteratorType >
void RenderingHelpers::SoftwareRendererSavedState::renderImageTransformed ( IteratorType &  iter,
const Image src,
const int  alpha,
const AffineTransform trans,
Graphics::ResamplingQuality  quality,
bool  tiledFill 
) const
inline
template<typename IteratorType >
void RenderingHelpers::SoftwareRendererSavedState::renderImageUntransformed ( IteratorType &  iter,
const Image src,
const int  alpha,
int  x,
int  y,
bool  tiledFill 
) const
inline

Member Data Documentation

Font RenderingHelpers::SoftwareRendererSavedState::font
Image RenderingHelpers::SoftwareRendererSavedState::image

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