izzi
SVG SUBSET C++ API
Loading...
Searching...
No Matches
svg::color_rstate Struct Reference

Render settings for collections. More...

#include <a60-svg-render-state.h>

+ Inheritance diagram for svg::color_rstate:

Public Types

using colormap = std::unordered_map<string, color_qi>
 

Public Member Functions

 color_rstate ()=default
 
color_qi get_color (const string &s) const
 
- Public Member Functions inherited from svg::collection_rstate
 collection_rstate (const collection_rstate &)=default
 
 collection_rstate (const double o=0.10, const scale rscale=scale::medium)
 
string mangle () const
 
- Public Member Functions inherited from svg::render_state_base
 render_state_base (const select m=select::none)
 
bool is_visible (const select v) const
 

Public Attributes

colormap klrs
 
- Public Attributes inherited from svg::collection_rstate
bool alt
 
bool color_generated
 
double opacity
 
select outline_mode
 
scale scale_mode
 
int text_scale_max
 
bool weigh
 
- Public Attributes inherited from svg::render_state_base
select visible_mode
 

Detailed Description

Render settings for collections.

Definition at line 260 of file a60-svg-render-state.h.

Member Typedef Documentation

◆ colormap

using svg::color_rstate::colormap = std::unordered_map<string, color_qi>

Definition at line 262 of file a60-svg-render-state.h.

Constructor & Destructor Documentation

◆ color_rstate()

svg::color_rstate::color_rstate ( )
default

Member Function Documentation

◆ get_color()

color_qi svg::color_rstate::get_color ( const string & s) const
inline

Definition at line 267 of file a60-svg-render-state.h.

Member Data Documentation

◆ klrs

colormap svg::color_rstate::klrs

Definition at line 264 of file a60-svg-render-state.h.


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