This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 297d1d0
committed
[[ Graphics ]] Drawing
This patch adds the notion of a 'Drawing' to libgraphics.
A drawing is a simple bytecode format for efficiently representing
what are generally called 'vector graphics' - i.e. a combination
of geometric shapes which are painted using solid colors, gradients
and patterns.
Currently the format can represent a subset of SVG Tiny 1.2, although
it is designed so that it can be easily evolved to support ever
greater subsets.
The drawing format has been designed so that a drawing file can be
mapped into memory and executed without any processing - greater
efficiency being possible in the future by caching various runtime
aspects.1 parent 17209e4 commit 297d1d0
File tree
3 files changed
+2243
-0
lines changed- libgraphics
- include
- src
3 files changed
+2243
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1015 | 1015 | | |
1016 | 1016 | | |
1017 | 1017 | | |
| 1018 | + | |
| 1019 | + | |
1018 | 1020 | | |
1019 | 1021 | | |
1020 | 1022 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments