NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
novasvg::render::gradient_stop_t Struct Reference

Represents a gradient stop. More...

#include <render.h>

Collaboration diagram for novasvg::render::gradient_stop_t:

Public Attributes

float offset
 The offset of the gradient stop, as a value between 0 and 1.
 
color_t color
 The color of the gradient stop.
 

Detailed Description

Represents a gradient stop.

Definition at line 1311 of file render.h.

Member Data Documentation

◆ color

color_t novasvg::render::gradient_stop_t::color

The color of the gradient stop.

Definition at line 1313 of file render.h.

Referenced by novasvg::render::blend_gradient().

◆ offset

float novasvg::render::gradient_stop_t::offset

The offset of the gradient stop, as a value between 0 and 1.

Definition at line 1312 of file render.h.

Referenced by novasvg::render::blend_gradient().


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