JUCE
Public Member Functions | Public Attributes | List of all members
juce::RenderingHelpers::FloatRectangleRasterisingInfo Struct Reference

Calculates the alpha values and positions for rendering the edges of a non-pixel-aligned rectangle. More...

Public Member Functions

 FloatRectangleRasterisingInfo (Rectangle< float > area)
 
template<class Callback >
void iterate (Callback &callback) const
 
bool isOnePixelWide () const noexcept
 
int getTopLeftCornerAlpha () const noexcept
 
int getTopRightCornerAlpha () const noexcept
 
int getBottomLeftCornerAlpha () const noexcept
 
int getBottomRightCornerAlpha () const noexcept
 

Public Attributes

int left
 
int top
 
int right
 
int bottom
 
int totalTop
 
int totalLeft
 
int totalBottom
 
int totalRight
 
int topAlpha
 
int leftAlpha
 
int bottomAlpha
 
int rightAlpha
 

Detailed Description

Calculates the alpha values and positions for rendering the edges of a non-pixel-aligned rectangle.

Constructor & Destructor Documentation

◆ FloatRectangleRasterisingInfo()

juce::RenderingHelpers::FloatRectangleRasterisingInfo::FloatRectangleRasterisingInfo ( Rectangle< float >  area)

Member Function Documentation

◆ iterate()

template<class Callback >
void juce::RenderingHelpers::FloatRectangleRasterisingInfo::iterate ( Callback &  callback) const

◆ isOnePixelWide()

bool juce::RenderingHelpers::FloatRectangleRasterisingInfo::isOnePixelWide ( ) const
noexcept

◆ getTopLeftCornerAlpha()

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getTopLeftCornerAlpha ( ) const
noexcept

◆ getTopRightCornerAlpha()

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getTopRightCornerAlpha ( ) const
noexcept

◆ getBottomLeftCornerAlpha()

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getBottomLeftCornerAlpha ( ) const
noexcept

◆ getBottomRightCornerAlpha()

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getBottomRightCornerAlpha ( ) const
noexcept

Member Data Documentation

◆ left

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::left

◆ top

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::top

◆ right

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::right

◆ bottom

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::bottom

◆ totalTop

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalTop

◆ totalLeft

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalLeft

◆ totalBottom

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalBottom

◆ totalRight

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalRight

◆ topAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::topAlpha

◆ leftAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::leftAlpha

◆ bottomAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::bottomAlpha

◆ rightAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::rightAlpha

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