Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::CA::SVG_Render_Options Struct Reference

SVG rendering options. More...

#include <ca-svg.H>

Collaboration diagram for Aleph::CA::SVG_Render_Options:
[legend]

Public Attributes

double cell_size = 18.0
 logical cell size in SVG units
 
double stroke_width = 0.75
 grid stroke width
 
bool draw_grid = true
 draw cell borders
 
bool omit_dead_cells = false
 skip cells equal to dead_state
 
RGB8 stroke_colour {190, 190, 190}
 grid colour
 

Detailed Description

SVG rendering options.

cell_size is the rectangle side length for square lattices, the circumradius for hexagons and the side length for triangles.

Definition at line 75 of file ca-svg.H.

Member Data Documentation

◆ cell_size

double Aleph::CA::SVG_Render_Options::cell_size = 18.0

logical cell size in SVG units

Definition at line 77 of file ca-svg.H.

Referenced by main().

◆ draw_grid

bool Aleph::CA::SVG_Render_Options::draw_grid = true

draw cell borders

Definition at line 79 of file ca-svg.H.

◆ omit_dead_cells

bool Aleph::CA::SVG_Render_Options::omit_dead_cells = false

skip cells equal to dead_state

Definition at line 80 of file ca-svg.H.

◆ stroke_colour

RGB8 Aleph::CA::SVG_Render_Options::stroke_colour {190, 190, 190}

grid colour

Definition at line 81 of file ca-svg.H.

◆ stroke_width

double Aleph::CA::SVG_Render_Options::stroke_width = 0.75

grid stroke width

Definition at line 78 of file ca-svg.H.


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