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

#include <blend.h>

Collaboration diagram for novasvg::render::gradient_data_t:

Public Attributes

matrix_t matrix
 
spread_method_t spread
 
uint32_t colortable [1024]
 
union { 
 
   struct { 
 
      float   x1 
 
      float   y1 
 
      float   x2 
 
      float   y2 
 
   }   linear 
 
   struct { 
 
      float   cx 
 
      float   cy 
 
      float   cr 
 
      float   fx 
 
      float   fy 
 
      float   fr 
 
   }   radial 
 
} values 
 

Detailed Description

Definition at line 13 of file blend.h.

Member Data Documentation

◆ colortable

uint32_t novasvg::render::gradient_data_t::colortable[1024]

◆ cr

float novasvg::render::gradient_data_t::cr

◆ cx

float novasvg::render::gradient_data_t::cx

◆ cy

float novasvg::render::gradient_data_t::cy

◆ fr

float novasvg::render::gradient_data_t::fr

◆ fx

float novasvg::render::gradient_data_t::fx

◆ fy

float novasvg::render::gradient_data_t::fy

◆ [struct]

struct { ... } novasvg::render::gradient_data_t::linear

◆ matrix

matrix_t novasvg::render::gradient_data_t::matrix

◆ [struct]

struct { ... } novasvg::render::gradient_data_t::radial

◆ spread

spread_method_t novasvg::render::gradient_data_t::spread

Definition at line 15 of file blend.h.

Referenced by novasvg::render::blend_gradient(), and novasvg::render::gradient_clamp().

◆ [union]

◆ x1

float novasvg::render::gradient_data_t::x1

◆ x2

float novasvg::render::gradient_data_t::x2

◆ y1

float novasvg::render::gradient_data_t::y1

◆ y2

float novasvg::render::gradient_data_t::y2

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