Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
Related Pages
Here is a list of all related documentation pages:
[detail level 123]
 Agent Instructions for docs/
 Donner API
 Donner Build Report
 CSS
 Agent Instructions for Design Docs
 CompileTimeMap
 Design: <Feature Name>
 <Feature Name> Developer Guide
 TerminalImageViewer Developer Guide
 Developer Docs
 System Architecture
 Coding Style
 Entity Component System (ECS)
 Building Donner
 Maintenance
 Updating dependencies
 Devtools
 Fuzzing
 Terminal image previews
 Resvg Test Suite Instructions
 Data FormatsSVG data is specified using many different micro-syntaxes such as Path Data Syntax and Polyline/Polygon Points List
 Path Data Syntax
 Polyline/Polygon Points ListThe points attribute is used to specify line paths for "<polyline>" and "<polygon>"
 Elements: Basic Shapes
 "<circle>"Creates a circle centered on cx, cy, with radius r
 "<ellipse>"Creates an ellipse centered on cx, cy, with radius rx and ry
 "<line>"Creates a line between two points, using the x1, y1, x2, and y2 attributes
 "<path>"Defines a shape using a path, which can include straight lines, curves, and sub-paths
 "<polygon>"Creates a closed polygon with straight lines between the points, using the points attribute
 "<polyline>"Creates a set of connected straight line segments, using the points attribute
 "<rect>"Creates a rectangle with the top-left corner at (x, y) and the specified width and height, optionally with rounded corners
 Elements: Masking and Clipping
 "<mask>"Defines a mask, which is used to apply image-based visibility to graphical elements
 "<clipPath>"Defines a clipping path, which is used to clip the rendering of other elements using paths and shapes
 Elements: Painting
 "<linearGradient>"Defines the paint server for a linear gradients
 "<radialGradient>"Defines the paint server for a radial gradients
 "<pattern>"Defines a paint server containing a repeated pattern, which is tiled to fill the area
 "<stop>"Defines a color stop for a gradient
 "<marker>"Creates a marker element that can be used to define graphical objects that can be used repeatedly in a drawing, such as arrowheads or other markers on paths
 Elements: Structural
 "<svg>"The root element of an SVG document
 "<g>"Creates a group of elements which can be transformed as a single object
 "<defs>"Container for definitions of reusable graphics elements
 "<use>"Reuses an existing element by referencing it with a URI
 "<symbol>"Defines a symbol element that can be used to define graphical templates which are not rendered directly but can be instantiated by a "<use>" element
 <symbol> Usage: Coordinate System and Sizing Behavior
 CompileTimeMap usage examples
 "<text>"Defines a graphics element consisting of text
 "<tspan>"The <tspan> element defines a sub-string or sub-group of text that can be independently positioned or styled inside an SVG text flow
 Todo List