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::GradientPixelIterators::Radial Struct Reference

Iterates the colour of pixels in a circular radial gradient. More...

#include "juce_RenderingHelpers.h"

Inheritance diagram for juce::RenderingHelpers::GradientPixelIterators::Radial:
juce::RenderingHelpers::GradientPixelIterators::TransformedRadial

Public Member Functions

 Radial (const ColourGradient &gradient, const AffineTransform &, const PixelARGB *colours, int numColours)
 
forcedinline void setY (int y) noexcept
 
PixelARGB getPixel (int px) const noexcept
 

Public Attributes

const PixelARGB *const lookupTable
 
const int numEntries
 
const double gx1
 
const double gy1
 
double maxDist
 
double invScale
 
double dy
 

Detailed Description

Iterates the colour of pixels in a circular radial gradient.

Definition at line 476 of file juce_RenderingHelpers.h.

Constructor & Destructor Documentation

◆ Radial()

juce::RenderingHelpers::GradientPixelIterators::Radial::Radial ( const ColourGradient gradient,
const AffineTransform ,
const PixelARGB colours,
int  numColours 
)

Definition at line 478 of file juce_RenderingHelpers.h.

Member Function Documentation

◆ getPixel()

PixelARGB juce::RenderingHelpers::GradientPixelIterators::Radial::getPixel ( int  px) const
noexcept

Definition at line 498 of file juce_RenderingHelpers.h.

◆ setY()

forcedinline void juce::RenderingHelpers::GradientPixelIterators::Radial::setY ( int  y)
noexcept

Definition at line 492 of file juce_RenderingHelpers.h.

Member Data Documentation

◆ dy

double juce::RenderingHelpers::GradientPixelIterators::Radial::dy

Definition at line 510 of file juce_RenderingHelpers.h.

◆ gx1

const double juce::RenderingHelpers::GradientPixelIterators::Radial::gx1

Definition at line 509 of file juce_RenderingHelpers.h.

◆ gy1

const double juce::RenderingHelpers::GradientPixelIterators::Radial::gy1

Definition at line 509 of file juce_RenderingHelpers.h.

◆ invScale

double juce::RenderingHelpers::GradientPixelIterators::Radial::invScale

Definition at line 510 of file juce_RenderingHelpers.h.

◆ lookupTable

const PixelARGB* const juce::RenderingHelpers::GradientPixelIterators::Radial::lookupTable

Definition at line 507 of file juce_RenderingHelpers.h.

◆ maxDist

double juce::RenderingHelpers::GradientPixelIterators::Radial::maxDist

Definition at line 510 of file juce_RenderingHelpers.h.

◆ numEntries

const int juce::RenderingHelpers::GradientPixelIterators::Radial::numEntries

Definition at line 508 of file juce_RenderingHelpers.h.


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