Calculates the alpha values and positions for rendering the edges of a non-pixel-aligned rectangle.
More...
#include <juce_RenderingHelpers.h>
Calculates the alpha values and positions for rendering the edges of a non-pixel-aligned rectangle.
@tags{Graphics}
◆ FloatRectangleRasterisingInfo()
juce::RenderingHelpers::FloatRectangleRasterisingInfo::FloatRectangleRasterisingInfo |
( |
Rectangle< float > |
area | ) |
|
|
inline |
◆ 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 |
◆ 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: