LMMS
Loading...
Searching...
No Matches
juce::RenderingHelpers::FloatRectangleRasterisingInfo Struct Reference

#include <juce_RenderingHelpers.h>

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.

@tags{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: