Calculates the alpha values and positions for rendering the edges of a non-pixel-aligned rectangle. More...
#include <juce_RenderingHelpers.h>

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 |
Calculates the alpha values and positions for rendering the edges of a non-pixel-aligned rectangle.
@tags{Graphics}
|
inline |
References bottom, bottomAlpha, left, leftAlpha, right, rightAlpha, top, topAlpha, totalBottom, totalLeft, totalRight, and totalTop.
|
inlinenoexcept |
References bottomAlpha, and leftAlpha.
|
inlinenoexcept |
References bottomAlpha, and rightAlpha.
|
inlinenoexcept |
|
inlinenoexcept |
References rightAlpha, and topAlpha.
|
inlinenoexcept |
References left, leftAlpha, right, and rightAlpha.
|
inline |
References bottom, bottomAlpha, left, leftAlpha, right, rightAlpha, top, topAlpha, totalBottom, totalLeft, totalRight, and totalTop.
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::bottom |
Referenced by FloatRectangleRasterisingInfo(), and iterate().
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::bottomAlpha |
Referenced by FloatRectangleRasterisingInfo(), getBottomLeftCornerAlpha(), getBottomRightCornerAlpha(), and iterate().
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::left |
Referenced by FloatRectangleRasterisingInfo(), isOnePixelWide(), and iterate().
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::leftAlpha |
Referenced by FloatRectangleRasterisingInfo(), getBottomLeftCornerAlpha(), getTopLeftCornerAlpha(), isOnePixelWide(), and iterate().
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::right |
Referenced by FloatRectangleRasterisingInfo(), isOnePixelWide(), and iterate().
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::rightAlpha |
Referenced by FloatRectangleRasterisingInfo(), getBottomRightCornerAlpha(), getTopRightCornerAlpha(), isOnePixelWide(), and iterate().
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::top |
Referenced by FloatRectangleRasterisingInfo(), and iterate().
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::topAlpha |
Referenced by FloatRectangleRasterisingInfo(), getTopLeftCornerAlpha(), getTopRightCornerAlpha(), and iterate().
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalBottom |
Referenced by FloatRectangleRasterisingInfo(), and iterate().
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalLeft |
Referenced by FloatRectangleRasterisingInfo(), and iterate().
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalRight |
Referenced by FloatRectangleRasterisingInfo(), and iterate().
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalTop |
Referenced by FloatRectangleRasterisingInfo(), and iterate().