Colors, gradients, and patterns.
size_t blGradientIndexOfStop(
const BLGradientCore* self,
double offset)
void BLRgba32::reset(
const BLRgba64& rgba64)
Extend mode.
Constant | Description |
---|
BL_EXTEND_MODE_PAD | Pad extend [default].
|
BL_EXTEND_MODE_REPEAT | Repeat extend.
|
BL_EXTEND_MODE_REFLECT | Reflect extend.
|
BL_EXTEND_MODE_PAD_X_PAD_Y | Alias to BL_EXTEND_MODE_PAD .
|
BL_EXTEND_MODE_PAD_X_REPEAT_Y | Pad X and repeat Y.
|
BL_EXTEND_MODE_PAD_X_REFLECT_Y | Pad X and reflect Y.
|
BL_EXTEND_MODE_REPEAT_X_REPEAT_Y | Alias to BL_EXTEND_MODE_REPEAT .
|
BL_EXTEND_MODE_REPEAT_X_PAD_Y | Repeat X and pad Y.
|
BL_EXTEND_MODE_REPEAT_X_REFLECT_Y | Repeat X and reflect Y.
|
BL_EXTEND_MODE_REFLECT_X_REFLECT_Y | Alias to BL_EXTEND_MODE_REFLECT .
|
BL_EXTEND_MODE_REFLECT_X_PAD_Y | Reflect X and pad Y.
|
BL_EXTEND_MODE_REFLECT_X_REPEAT_Y | Reflect X and repeat Y.
|
BL_EXTEND_MODE_SIMPLE_MAX_VALUE | Count of simple extend modes (that use the same value for X and Y).
|
BL_EXTEND_MODE_COMPLEX_MAX_VALUE | Count of complex extend modes (that can use independent values for X and Y).
|
BL_EXTEND_MODE_MAX_VALUE | Maximum value of BLExtendMode .
|
Gradient type.
Constant | Description |
---|
BL_GRADIENT_TYPE_LINEAR | Linear gradient type.
|
BL_GRADIENT_TYPE_RADIAL | Radial gradient type.
|
BL_GRADIENT_TYPE_CONIC | Conic gradient type.
|
BL_GRADIENT_TYPE_MAX_VALUE | Maximum value of BLGradientType .
|
Gradient data index.
Constant | Description |
---|
BL_GRADIENT_VALUE_COMMON_X0 | x0 - start 'x' for a Linear gradient and x center for both Radial and Conic gradients.
|
BL_GRADIENT_VALUE_COMMON_Y0 | y0 - start 'y' for a Linear gradient and y center for both Radial and Conic gradients.
|
BL_GRADIENT_VALUE_COMMON_X1 | x1 - end 'x' for a Linear gradient and focal point x for a Radial gradient.
|
BL_GRADIENT_VALUE_COMMON_Y1 | y1 - end 'y' for a Linear/gradient and focal point y for a Radial gradient.
|
BL_GRADIENT_VALUE_RADIAL_R0 | Radial gradient center radius.
|
BL_GRADIENT_VALUE_RADIAL_R1 | Radial gradient focal radius.
|
BL_GRADIENT_VALUE_CONIC_ANGLE | Conic gradient angle.
|
BL_GRADIENT_VALUE_CONIC_REPEAT | Conic gradient angle.
|
BL_GRADIENT_VALUE_MAX_VALUE | Maximum value of BLGradientValue .
|
Gradient rendering quality.
Constant | Description |
---|
BL_GRADIENT_QUALITY_NEAREST | Nearest neighbor.
|
BL_GRADIENT_QUALITY_SMOOTH | Use smoothing, if available (currently never available).
|
BL_GRADIENT_QUALITY_DITHER | The renderer will use an implementation-specific dithering algorithm to prevent banding.
|
BL_GRADIENT_QUALITY_MAX_VALUE | Maximum value of BLGradientQuality .
|
Pattern quality.
Constant | Description |
---|
BL_PATTERN_QUALITY_NEAREST | Nearest neighbor interpolation.
|
BL_PATTERN_QUALITY_BILINEAR | Bilinear interpolation.
|
BL_PATTERN_QUALITY_MAX_VALUE | Maximum value of BLPatternQuality .
|