aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-02-07 22:48:46 +0100
committerMattias Andrée <maandree@kth.se>2023-02-07 22:48:46 +0100
commite7b56841561f9a8bc40d8cebd9dae23b3c5951a2 (patch)
tree87b5e109a7c92fec341ad4096c315929dbb3979d /README
parentAdd man pages (diff)
downloadlibrifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-e7b56841561f9a8bc40d8cebd9dae23b3c5951a2.tar.gz
librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-e7b56841561f9a8bc40d8cebd9dae23b3c5951a2.tar.bz2
librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-e7b56841561f9a8bc40d8cebd9dae23b3c5951a2.tar.xz
Change back the name of rtgrpblib_draw_elliptical_arc to rtgrpblib_draw_circular_arc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--README9
1 files changed, 3 insertions, 6 deletions
diff --git a/README b/README
index 4f8d93a..d297047 100644
--- a/README
+++ b/README
@@ -10,17 +10,14 @@ DESCRIPTION
library only supports curve types that are used for drawing glyphs; specifically
this means that lines and quadratic Bézier curves are supported by cause this
is what is required to draw vectorised bitmap fonts and TrueType fonts, but also
- cubic Bézier curves as this is required for OpenType fonts and elliptical arcs
- (elliptical rather than circular because it may be need required to strech the
- circle to support outputs with different vertical and horizontal dot density
- and to support subpixel antialiasing) as this is commonly used for corners when
- stroking the outline of a glyph.
+ cubic Bézier curves as this is required for OpenType fonts and circular arcs
+ as this is commonly used for corners when stroking the outline of a glyph.
The create an image, first create a buffer using rtgrpblib_create_raster(3)
(if you already have one that is large enough, you can reinitialise it with
rtgrpblib_reset_raster(3)), and than using the drawing functions
(rtgrpblib_draw_linear_bezier(3), rtgrpblib_draw_quadratic_bezier(3),
- rtgrpblib_draw_cubic_bezier(3), and rtgrpblib_draw_elliptical_arc(3)) to
+ rtgrpblib_draw_cubic_bezier(3), and rtgrpblib_draw_circular_arc(3)) to
draw the components of each shape's outline. When done, create an image
using the rtgrpblib_fill_shapes(3) function: you will receive a ink-level
map, where the value 0 means background, and 1 means foreground, and values