openshot-audio  0.1.2
Public Member Functions | Public Attributes | List of all members
juce::RenderingHelpers::FloatRectangleRasterisingInfo Struct Reference

#include <juce_graphics.h>

Public Member Functions

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

Constructor & Destructor Documentation

juce::RenderingHelpers::FloatRectangleRasterisingInfo::FloatRectangleRasterisingInfo ( const Rectangle< float > &  area)
inline

Member Function Documentation

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getBottomLeftCornerAlpha ( ) const
inlinenoexcept
int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getBottomRightCornerAlpha ( ) const
inlinenoexcept
int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getTopLeftCornerAlpha ( ) const
inlinenoexcept
int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getTopRightCornerAlpha ( ) const
inlinenoexcept
bool juce::RenderingHelpers::FloatRectangleRasterisingInfo::isOnePixelWide ( ) const
inlinenoexcept
template<class Callback >
void juce::RenderingHelpers::FloatRectangleRasterisingInfo::iterate ( Callback &  callback) const
inline

Member Data Documentation

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

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