izzi
SVG SUBSET C++ API
Loading...
Searching...
No Matches
a60-svg-composite-and-layer-basics.h File Reference

Go to the source code of this file.

Namespaces

namespace  svg
 

Functions

void svg::composite_bleed_areas (svg_element &obj, const svg::select slxt, const double bleedin, const double bleedxoffset=0)
 Composite frame on bleed. For printed objects with a center gutter, some intra-page adjustments are necessary.
 
string svg::element_to_svg_insert (const string isvgpre)
 Import svg file, convert it to svg_element for insertion.
 
string svg::file_to_svg_insert (const string ifile)
 Import svg file, convert it to svg_element for insertion. ifile is a plain SVG file with a 1:1 aspect ratio.
 
svg_element svg::insert_svg_at (svg_element &obj, const string isvg, const point_2t origin, const double origsize, const double isize, const double angled=0, const style &styl=k::no_style)
 Embed svg in group element.
 
void svg::make_1_channel_insert (svg_element &obj, string insert1)
 
void svg::make_2_channel_insert (svg_element &obj, string insert1, string insert2)
 
svg_element svg::make_svg_1_channel (const space_type deltax, const space_type deltay, const string &outbase)
 Take input size and make a one channel (single-image) SVG form.
 
svg_element svg::make_svg_2_channel (const space_type deltax, const space_type deltay, const string &outbase)
 Take input size and make a two channel (single-image) SVG form.
 
svg_element svg::nest_inner_svg_element_centered (const svg_element &obj, const point_2t &p)
 Take.
 
void svg::paint_edges_with_char_index (svg_element &obj, const area<> a, const char firstc, const svg::color klr=color::duboisgreen2, const double rlen=24.0)
 Paint the edges of a physical page. Assumes page is square. /.