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.
{Graphics}
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::bottom |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::bottomAlpha |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::left |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::leftAlpha |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::right |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::rightAlpha |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::top |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::topAlpha |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalBottom |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalLeft |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalRight |
| int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalTop |