#include <juce_RenderingHelpers.h>
Public Types | |
typedef Base::Ptr | Ptr |
Public Member Functions | |
EdgeTableRegion (const EdgeTable &e) | |
EdgeTableRegion (const Rectangle< int > &r) | |
EdgeTableRegion (const Rectangle< float > &r) | |
EdgeTableRegion (const RectangleList< int > &r) | |
EdgeTableRegion (const RectangleList< float > &r) | |
EdgeTableRegion (const Rectangle< int > &bounds, const Path &p, const AffineTransform &t) | |
EdgeTableRegion (const EdgeTableRegion &other) | |
Ptr | applyClipTo (const Ptr &target) const |
bool | clipRegionIntersects (const Rectangle< int > &r) const |
Ptr | clipToEdgeTable (const EdgeTable &et) |
Ptr | clipToImageAlpha (const Image &image, const AffineTransform &transform, const Graphics::ResamplingQuality quality) |
Ptr | clipToPath (const Path &p, const AffineTransform &transform) |
Ptr | clipToRectangle (const Rectangle< int > &r) |
Ptr | clipToRectangleList (const RectangleList< int > &r) |
Ptr | clone () const |
void | decReferenceCount () noexcept |
Decreases the object's reference count. More... | |
bool | decReferenceCountWithoutDeleting () noexcept |
Decreases the object's reference count. More... | |
Ptr | excludeClipRectangle (const Rectangle< int > &r) |
void | fillAllWithColour (SavedStateType &state, const PixelARGB colour, bool replaceContents) const |
void | fillAllWithGradient (SavedStateType &state, ColourGradient &gradient, const AffineTransform &transform, bool isIdentity) const |
void | fillRectWithColour (SavedStateType &state, const Rectangle< int > &area, const PixelARGB colour, bool replaceContents) const |
void | fillRectWithColour (SavedStateType &state, const Rectangle< float > &area, const PixelARGB colour) const |
Rectangle< int > | getClipBounds () const |
int | getReferenceCount () const noexcept |
Returns the object's current reference count. More... | |
void | incReferenceCount () noexcept |
Increments the object's reference count. More... | |
void | renderImageTransformed (SavedStateType &state, const Image &src, const int alpha, const AffineTransform &transform, Graphics::ResamplingQuality quality, bool tiledFill) const |
void | renderImageUntransformed (SavedStateType &state, const Image &src, const int alpha, int x, int y, bool tiledFill) const |
void | translate (Point< int > delta) |
Public Attributes | |
EdgeTable | edgeTable |
Private Member Functions | |
EdgeTableRegion & | operator= (const EdgeTableRegion &) |
template<class SrcPixelType > | |
void | straightClipImage (const Image::BitmapData &srcData, int imageX, int imageY, const SrcPixelType *) |
template<class SrcPixelType > | |
void | transformedClipImage (const Image::BitmapData &srcData, const AffineTransform &transform, const Graphics::ResamplingQuality quality, const SrcPixelType *) |
typedef Base::Ptr RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::Ptr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements RenderingHelpers::ClipRegions< SavedStateType >::Base.
References Path::addRectangle(), Image::ARGB, EdgeTable::clipToEdgeTable(), Image::getFormat(), AffineTransform::getTranslationX(), AffineTransform::getTranslationY(), Image::BitmapData::height, AffineTransform::isOnlyTranslation(), AffineTransform::isSingularity(), Graphics::lowResamplingQuality, Image::BitmapData::readOnly, and Image::BitmapData::width.
|
inlinevirtual |
Implements RenderingHelpers::ClipRegions< SavedStateType >::Base.
References EdgeTable::clipToEdgeTable().
|
inlinevirtual |
|
inlinevirtual |
Implements RenderingHelpers::ClipRegions< SavedStateType >::Base.
References RectangleList< ValueType >::isEmpty().
|
inlinevirtual |
|
inlinenoexceptinherited |
Decreases the object's reference count.
If the count gets to zero, the object will be deleted.
References jassert.
|
inlinenoexceptinherited |
Decreases the object's reference count.
If the count gets to zero, the object will not be deleted, but this method will return true, allowing the caller to take care of deletion.
References jassert.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinenoexceptinherited |
Returns the object's current reference count.
|
inlinenoexceptinherited |
Increments the object's reference count.
This is done automatically by the smart pointer, but is public just in case it's needed for nefarious purposes.
|
private |
|
inlinevirtual |
|
inlinevirtual |
|
inlineprivate |
References RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::clipEdgeTableLine(), EdgeTable::clipToRectangle(), Rectangle< ValueType >::getHeight(), Rectangle< ValueType >::getWidth(), Rectangle< ValueType >::getX(), Rectangle< ValueType >::getY(), Image::BitmapData::height, and Image::BitmapData::width.
|
inlineprivate |
References RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::clipEdgeTableLine(), juce::Rectangle< ValueType >::getHeight(), EdgeTable::getMaximumBounds(), juce::Rectangle< ValueType >::getWidth(), juce::Rectangle< ValueType >::getX(), and juce::Rectangle< ValueType >::getY().
|
inlinevirtual |
Implements RenderingHelpers::ClipRegions< SavedStateType >::Base.
References Point< ValueType >::x, and Point< ValueType >::y.
EdgeTable RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::edgeTable |