Photon 1.0.0
Loading...
Searching...
No Matches
litehtml::background_layer::gradient_base Class Reference

#include <background.h>

Inheritance diagram for litehtml::background_layer::gradient_base:
litehtml::background_layer::conic_gradient litehtml::background_layer::linear_gradient litehtml::background_layer::radial_gradient

Public Member Functions

void color_points_transparent_fix ()
 
bool prepare_color_points (float len, string_id grad_type, const vector< gradient::color_stop > &colors)
 

Public Attributes

vector< color_pointcolor_points
 
color_space_t color_space = color_space_none
 
hue_interpolation_t hue_interpolation = hue_interpolation_none
 

Member Function Documentation

◆ color_points_transparent_fix()

void litehtml::background_layer::gradient_base::color_points_transparent_fix ( )

◆ prepare_color_points()

bool litehtml::background_layer::gradient_base::prepare_color_points ( float  len,
string_id  grad_type,
const vector< gradient::color_stop > &  colors 
)

Member Data Documentation

◆ color_points

vector<color_point> litehtml::background_layer::gradient_base::color_points

◆ color_space

color_space_t litehtml::background_layer::gradient_base::color_space = color_space_none

◆ hue_interpolation

hue_interpolation_t litehtml::background_layer::gradient_base::hue_interpolation = hue_interpolation_none

The documentation for this class was generated from the following files: