JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
juce::RenderingHelpers::FloatRectangleRasterisingInfo Struct Reference

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)
 
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.

@tags{Graphics}

Definition at line 315 of file juce_RenderingHelpers.h.

Constructor & Destructor Documentation

◆ FloatRectangleRasterisingInfo()

juce::RenderingHelpers::FloatRectangleRasterisingInfo::FloatRectangleRasterisingInfo ( Rectangle< float area)

Definition at line 317 of file juce_RenderingHelpers.h.

Member Function Documentation

◆ getBottomLeftCornerAlpha()

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getBottomLeftCornerAlpha ( ) const
noexcept

Definition at line 391 of file juce_RenderingHelpers.h.

◆ getBottomRightCornerAlpha()

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getBottomRightCornerAlpha ( ) const
noexcept

Definition at line 392 of file juce_RenderingHelpers.h.

◆ getTopLeftCornerAlpha()

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getTopLeftCornerAlpha ( ) const
noexcept

Definition at line 389 of file juce_RenderingHelpers.h.

◆ getTopRightCornerAlpha()

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::getTopRightCornerAlpha ( ) const
noexcept

Definition at line 390 of file juce_RenderingHelpers.h.

◆ isOnePixelWide()

bool juce::RenderingHelpers::FloatRectangleRasterisingInfo::isOnePixelWide ( ) const
noexcept

Definition at line 387 of file juce_RenderingHelpers.h.

◆ iterate()

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

Definition at line 377 of file juce_RenderingHelpers.h.

Member Data Documentation

◆ bottom

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::bottom

Definition at line 395 of file juce_RenderingHelpers.h.

◆ bottomAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::bottomAlpha

Definition at line 397 of file juce_RenderingHelpers.h.

◆ left

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::left

Definition at line 395 of file juce_RenderingHelpers.h.

◆ leftAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::leftAlpha

Definition at line 397 of file juce_RenderingHelpers.h.

◆ right

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::right

Definition at line 395 of file juce_RenderingHelpers.h.

◆ rightAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::rightAlpha

Definition at line 397 of file juce_RenderingHelpers.h.

◆ top

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::top

Definition at line 395 of file juce_RenderingHelpers.h.

◆ topAlpha

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::topAlpha

Definition at line 397 of file juce_RenderingHelpers.h.

◆ totalBottom

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalBottom

Definition at line 396 of file juce_RenderingHelpers.h.

◆ totalLeft

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalLeft

Definition at line 396 of file juce_RenderingHelpers.h.

◆ totalRight

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalRight

Definition at line 396 of file juce_RenderingHelpers.h.

◆ totalTop

int juce::RenderingHelpers::FloatRectangleRasterisingInfo::totalTop

Definition at line 396 of file juce_RenderingHelpers.h.


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