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

◆ FloatRectangleRasterisingInfo()

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

Member Function Documentation

◆ getBottomLeftCornerAlpha()

int RenderingHelpers::FloatRectangleRasterisingInfo::getBottomLeftCornerAlpha ( ) const
inlinenoexcept

◆ getBottomRightCornerAlpha()

int RenderingHelpers::FloatRectangleRasterisingInfo::getBottomRightCornerAlpha ( ) const
inlinenoexcept

◆ getTopLeftCornerAlpha()

int RenderingHelpers::FloatRectangleRasterisingInfo::getTopLeftCornerAlpha ( ) const
inlinenoexcept

◆ getTopRightCornerAlpha()

int RenderingHelpers::FloatRectangleRasterisingInfo::getTopRightCornerAlpha ( ) const
inlinenoexcept

◆ isOnePixelWide()

bool RenderingHelpers::FloatRectangleRasterisingInfo::isOnePixelWide ( ) const
inlinenoexcept

◆ iterate()

template<class Callback >
void RenderingHelpers::FloatRectangleRasterisingInfo::iterate ( Callback &  callback) const
inline

Member Data Documentation

◆ bottom

int RenderingHelpers::FloatRectangleRasterisingInfo::bottom

◆ bottomAlpha

int RenderingHelpers::FloatRectangleRasterisingInfo::bottomAlpha

◆ left

int RenderingHelpers::FloatRectangleRasterisingInfo::left

◆ leftAlpha

int RenderingHelpers::FloatRectangleRasterisingInfo::leftAlpha

◆ right

int RenderingHelpers::FloatRectangleRasterisingInfo::right

◆ rightAlpha

int RenderingHelpers::FloatRectangleRasterisingInfo::rightAlpha

◆ top

int RenderingHelpers::FloatRectangleRasterisingInfo::top

◆ topAlpha

int RenderingHelpers::FloatRectangleRasterisingInfo::topAlpha

◆ totalBottom

int RenderingHelpers::FloatRectangleRasterisingInfo::totalBottom

◆ totalLeft

int RenderingHelpers::FloatRectangleRasterisingInfo::totalLeft

◆ totalRight

int RenderingHelpers::FloatRectangleRasterisingInfo::totalRight

◆ totalTop

int RenderingHelpers::FloatRectangleRasterisingInfo::totalTop

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