JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::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 juce::RenderingHelpers::FloatRectangleRasterisingInfo:

Public Member Functions

 FloatRectangleRasterisingInfo (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.

{Graphics}

Constructor & Destructor Documentation

◆ FloatRectangleRasterisingInfo()

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

Member Function Documentation

◆ getBottomLeftCornerAlpha()

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

◆ getBottomRightCornerAlpha()

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

◆ getTopLeftCornerAlpha()

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

◆ getTopRightCornerAlpha()

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

◆ isOnePixelWide()

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

◆ iterate()

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

Member Data Documentation

◆ bottom

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::bottom

◆ bottomAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::bottomAlpha

◆ left

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::left

◆ leftAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::leftAlpha

◆ right

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::right

◆ rightAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::rightAlpha

◆ top

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::top

◆ topAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::topAlpha

◆ totalBottom

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalBottom

◆ totalLeft

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalLeft

◆ totalRight

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalRight

◆ totalTop

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalTop

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