|
NovaSVG 0.10.0
A header-only SVG library
|
Represents a color with red, green, blue, and alpha components. More...
#include <render.h>
Public Attributes | |
| float | r |
| Red component (0 to 1). | |
| float | g |
| Green component (0 to 1). | |
| float | b |
| Blue component (0 to 1). | |
| float | a |
| Alpha (opacity) component (0 to 1). | |
Represents a color with red, green, blue, and alpha components.
| float novasvg::render::color::a |
Alpha (opacity) component (0 to 1).
Definition at line 1023 of file render.h.
Referenced by novasvg::render::canvas_set_color(), novasvg::render::color_init_rgba(), novasvg::render::color_to_argb32(), novasvg::render::color_to_rgba32(), novasvg::render::paint_create_color(), novasvg::render::paint_create_rgba(), and novasvg::render::premultiply_color_with_opacity().
| float novasvg::render::color::b |
Blue component (0 to 1).
Definition at line 1022 of file render.h.
Referenced by novasvg::render::canvas_set_color(), novasvg::render::color_init_rgba(), novasvg::render::color_to_argb32(), novasvg::render::color_to_rgba32(), novasvg::render::paint_create_color(), novasvg::render::paint_create_rgba(), and novasvg::render::premultiply_color_with_opacity().
| float novasvg::render::color::g |
Green component (0 to 1).
Definition at line 1021 of file render.h.
Referenced by novasvg::render::canvas_set_color(), novasvg::render::color_init_rgba(), novasvg::render::color_to_argb32(), novasvg::render::color_to_rgba32(), novasvg::render::paint_create_color(), novasvg::render::paint_create_rgba(), and novasvg::render::premultiply_color_with_opacity().
| float novasvg::render::color::r |
Red component (0 to 1).
Definition at line 1020 of file render.h.
Referenced by novasvg::render::canvas_set_color(), novasvg::render::color_init_rgba(), novasvg::render::color_to_argb32(), novasvg::render::color_to_rgba32(), novasvg::render::paint_create_color(), novasvg::render::paint_create_rgba(), and novasvg::render::premultiply_color_with_opacity().