JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches

for building palettes from linear segments of single colors using JKQTPBuildColorPaletteLUTLinSegmentsSorted() and JKQTPBuildColorPaletteLUTLinSegments() More...

#include <jkqtpbasicimagetools.h>

Public Member Functions

 JKQTPColorPaletteSingleColorLinSegment ()
 
 JKQTPColorPaletteSingleColorLinSegment (double p, uint8_t y1, uint8_t y2)
 

Static Public Member Functions

static JKQTPColorPaletteSingleColorLinSegment makeDbl_0_1 (double p, double y1, double y2)
 

Public Attributes

uint8_t colval_endprevious
 color-channel-value that ends the prevoius segment (ignored for the first entry in a table)
 
uint8_t colval_startnext
 color-channel-value that starts the next segment (ignored for the last entry in a table)
 
double position
 scalar position of the element on the value axis
 

Detailed Description

Constructor & Destructor Documentation

◆ JKQTPColorPaletteSingleColorLinSegment() [1/2]

JKQTPColorPaletteSingleColorLinSegment::JKQTPColorPaletteSingleColorLinSegment ( double  p,
uint8_t  y1,
uint8_t  y2 
)

◆ JKQTPColorPaletteSingleColorLinSegment() [2/2]

JKQTPColorPaletteSingleColorLinSegment::JKQTPColorPaletteSingleColorLinSegment ( )

Member Function Documentation

◆ makeDbl_0_1()

static JKQTPColorPaletteSingleColorLinSegment JKQTPColorPaletteSingleColorLinSegment::makeDbl_0_1 ( double  p,
double  y1,
double  y2 
)
static

Member Data Documentation

◆ colval_endprevious

uint8_t JKQTPColorPaletteSingleColorLinSegment::colval_endprevious

color-channel-value that ends the prevoius segment (ignored for the first entry in a table)

◆ colval_startnext

uint8_t JKQTPColorPaletteSingleColorLinSegment::colval_startnext

color-channel-value that starts the next segment (ignored for the last entry in a table)

◆ position

double JKQTPColorPaletteSingleColorLinSegment::position

scalar position of the element on the value axis


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