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

#include <juce_RenderingHelpers.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

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

Member Function Documentation

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

Member Data Documentation

int RenderingHelpers::FloatRectangleRasterisingInfo::bottom
int RenderingHelpers::FloatRectangleRasterisingInfo::bottomAlpha
int RenderingHelpers::FloatRectangleRasterisingInfo::left
int RenderingHelpers::FloatRectangleRasterisingInfo::leftAlpha
int RenderingHelpers::FloatRectangleRasterisingInfo::right
int RenderingHelpers::FloatRectangleRasterisingInfo::rightAlpha
int RenderingHelpers::FloatRectangleRasterisingInfo::top
int RenderingHelpers::FloatRectangleRasterisingInfo::topAlpha
int RenderingHelpers::FloatRectangleRasterisingInfo::totalBottom
int RenderingHelpers::FloatRectangleRasterisingInfo::totalLeft
int RenderingHelpers::FloatRectangleRasterisingInfo::totalRight
int RenderingHelpers::FloatRectangleRasterisingInfo::totalTop

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