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 Types | Public Member Functions | Public Attributes | List of all members
juce::RenderingHelpers::GradientPixelIterators::Linear Struct Reference

Iterates the colour of pixels in a linear gradient. More...

#include "juce_RenderingHelpers.h"

Public Types

enum  { numScaleBits }
 

Public Member Functions

 Linear (const ColourGradient &gradient, const AffineTransform &transform, const PixelARGB *colours, int numColours)
 
forcedinline void setY (int y) noexcept
 
PixelARGB getPixel (int x) const noexcept
 

Public Attributes

const PixelARGB *const lookupTable
 
const int numEntries
 
PixelARGB linePix
 
int start
 
int scale
 
double grad
 
double yTerm
 
bool vertical
 
bool horizontal
 

Detailed Description

Iterates the colour of pixels in a linear gradient.

Definition at line 405 of file juce_RenderingHelpers.h.

Member Enumeration Documentation

◆ anonymous enum

Definition at line 469 of file juce_RenderingHelpers.h.

Constructor & Destructor Documentation

◆ Linear()

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

Definition at line 407 of file juce_RenderingHelpers.h.

Member Function Documentation

◆ getPixel()

PixelARGB juce::RenderingHelpers::GradientPixelIterators::Linear::getPixel ( int  x) const
noexcept

Definition at line 457 of file juce_RenderingHelpers.h.

◆ setY()

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

Definition at line 449 of file juce_RenderingHelpers.h.

Member Data Documentation

◆ grad

double juce::RenderingHelpers::GradientPixelIterators::Linear::grad

Definition at line 467 of file juce_RenderingHelpers.h.

◆ horizontal

bool juce::RenderingHelpers::GradientPixelIterators::Linear::horizontal

Definition at line 468 of file juce_RenderingHelpers.h.

◆ linePix

PixelARGB juce::RenderingHelpers::GradientPixelIterators::Linear::linePix

Definition at line 465 of file juce_RenderingHelpers.h.

◆ lookupTable

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

Definition at line 463 of file juce_RenderingHelpers.h.

◆ numEntries

const int juce::RenderingHelpers::GradientPixelIterators::Linear::numEntries

Definition at line 464 of file juce_RenderingHelpers.h.

◆ scale

int juce::RenderingHelpers::GradientPixelIterators::Linear::scale

Definition at line 466 of file juce_RenderingHelpers.h.

◆ start

int juce::RenderingHelpers::GradientPixelIterators::Linear::start

Definition at line 466 of file juce_RenderingHelpers.h.

◆ vertical

bool juce::RenderingHelpers::GradientPixelIterators::Linear::vertical

Definition at line 468 of file juce_RenderingHelpers.h.

◆ yTerm

double juce::RenderingHelpers::GradientPixelIterators::Linear::yTerm

Definition at line 467 of file juce_RenderingHelpers.h.


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