#include <juce_RenderingHelpers.h>
Public Types | |
using | Ptr = typename Base::Ptr |
Public Member Functions | |
EdgeTableRegion (const EdgeTable &e) | |
EdgeTableRegion (Rectangle< int > r) | |
EdgeTableRegion (Rectangle< float > r) | |
EdgeTableRegion (const RectangleList< int > &r) | |
EdgeTableRegion (const RectangleList< float > &r) | |
EdgeTableRegion (Rectangle< int > bounds, const Path &p, const AffineTransform &t) | |
EdgeTableRegion (const EdgeTableRegion &other) | |
Ptr | applyClipTo (const Ptr &target) const override |
bool | clipRegionIntersects (Rectangle< int > r) const override |
Ptr | clipToEdgeTable (const EdgeTable &et) override |
Ptr | clipToImageAlpha (const Image &image, const AffineTransform &transform, Graphics::ResamplingQuality quality) override |
Ptr | clipToPath (const Path &p, const AffineTransform &transform) override |
Ptr | clipToRectangle (Rectangle< int > r) override |
Ptr | clipToRectangleList (const RectangleList< int > &r) override |
Ptr | clone () const override |
void | decReferenceCount () noexcept |
Decreases the object's reference count. More... | |
bool | decReferenceCountWithoutDeleting () noexcept |
Decreases the object's reference count. More... | |
Ptr | excludeClipRectangle (Rectangle< int > r) override |
void | fillAllWithColour (SavedStateType &state, PixelARGB colour, bool replaceContents) const override |
void | fillAllWithGradient (SavedStateType &state, ColourGradient &gradient, const AffineTransform &transform, bool isIdentity) const override |
void | fillRectWithColour (SavedStateType &state, Rectangle< int > area, PixelARGB colour, bool replaceContents) const override |
void | fillRectWithColour (SavedStateType &state, Rectangle< float > area, PixelARGB colour) const override |
Rectangle< int > | getClipBounds () const override |
int | getReferenceCount () const noexcept |
Returns the object's current reference count. More... | |
void | incReferenceCount () noexcept |
Increments the object's reference count. More... | |
EdgeTableRegion & | operator= (const EdgeTableRegion &)=delete |
void | renderImageTransformed (SavedStateType &state, const Image &src, int alpha, const AffineTransform &transform, Graphics::ResamplingQuality quality, bool tiledFill) const override |
void | renderImageUntransformed (SavedStateType &state, const Image &src, int alpha, int x, int y, bool tiledFill) const override |
void | translate (Point< int > delta) override |
Public Attributes | |
EdgeTable | edgeTable |
Private Member Functions | |
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, Graphics::ResamplingQuality quality, const SrcPixelType *) |
using juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::Ptr = typename Base::Ptr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::Path::addRectangle(), juce::Image::ARGB, juce::EdgeTable::clipToEdgeTable(), juce::Image::getFormat(), juce::AffineTransform::getTranslationX(), juce::AffineTransform::getTranslationY(), juce::Image::BitmapData::height, int(), juce::AffineTransform::isOnlyTranslation(), juce::AffineTransform::isSingularity(), juce::Graphics::lowResamplingQuality, juce::Image::BitmapData::readOnly, and juce::Image::BitmapData::width.
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::EdgeTable::clipToEdgeTable().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
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.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
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.
|
delete |
|
inlineoverridevirtual |
|
inlineprivate |
References juce::RenderingHelpers::EdgeTableFillers::ImageFill< DestPixelType, SrcPixelType, repeatPattern >::clipEdgeTableLine(), juce::EdgeTable::clipToRectangle(), juce::Rectangle< ValueType >::getHeight(), juce::Rectangle< ValueType >::getWidth(), juce::Rectangle< ValueType >::getX(), juce::Rectangle< ValueType >::getY(), juce::Image::BitmapData::height, and juce::Image::BitmapData::width.
|
inlineprivate |
References juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::clipEdgeTableLine(), juce::Rectangle< ValueType >::getHeight(), juce::EdgeTable::getMaximumBounds(), juce::Rectangle< ValueType >::getWidth(), juce::Rectangle< ValueType >::getX(), and juce::Rectangle< ValueType >::getY().
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::Point< ValueType >::x, and juce::Point< ValueType >::y.
EdgeTable juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::edgeTable |