JUCE  v5.1.1-3-g1a0b28c73
JUCE API
RenderingHelpers::FloatRectangleRasterisingInfo Struct Reference

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

#include <juce_RenderingHelpers.h>

Collaboration diagram for RenderingHelpers::FloatRectangleRasterisingInfo:

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ FloatRectangleRasterisingInfo()

RenderingHelpers::FloatRectangleRasterisingInfo::FloatRectangleRasterisingInfo ( const Rectangle< float > &  area)
inline

Member Function Documentation

◆ getBottomLeftCornerAlpha()

int RenderingHelpers::FloatRectangleRasterisingInfo::getBottomLeftCornerAlpha ( ) const
inlinenoexcept

◆ getBottomRightCornerAlpha()

int RenderingHelpers::FloatRectangleRasterisingInfo::getBottomRightCornerAlpha ( ) const
inlinenoexcept

◆ getTopLeftCornerAlpha()

int RenderingHelpers::FloatRectangleRasterisingInfo::getTopLeftCornerAlpha ( ) const
inlinenoexcept

◆ getTopRightCornerAlpha()

int RenderingHelpers::FloatRectangleRasterisingInfo::getTopRightCornerAlpha ( ) const
inlinenoexcept

◆ isOnePixelWide()

bool RenderingHelpers::FloatRectangleRasterisingInfo::isOnePixelWide ( ) const
inlinenoexcept

◆ iterate()

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

Member Data Documentation

◆ bottom

int RenderingHelpers::FloatRectangleRasterisingInfo::bottom

◆ bottomAlpha

int RenderingHelpers::FloatRectangleRasterisingInfo::bottomAlpha

◆ left

◆ leftAlpha

int RenderingHelpers::FloatRectangleRasterisingInfo::leftAlpha

◆ right

int RenderingHelpers::FloatRectangleRasterisingInfo::right

◆ rightAlpha

int RenderingHelpers::FloatRectangleRasterisingInfo::rightAlpha

◆ top

◆ topAlpha

int RenderingHelpers::FloatRectangleRasterisingInfo::topAlpha

◆ totalBottom

int RenderingHelpers::FloatRectangleRasterisingInfo::totalBottom

◆ totalLeft

int RenderingHelpers::FloatRectangleRasterisingInfo::totalLeft

◆ totalRight

int RenderingHelpers::FloatRectangleRasterisingInfo::totalRight

◆ totalTop

int RenderingHelpers::FloatRectangleRasterisingInfo::totalTop

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