From c6f54dc9529bdfe943d2b5569aebf4a8b8ce5581 Mon Sep 17 00:00:00 2001
From: scuri
Date: Fri, 26 Feb 2010 05:14:38 +0000
Subject: *** empty log message ***
---
html/en/drv/pdf.html | 11 +-
html/en/drv/ps.html | 21 +-
html/en/drv/svg.html | 23 +++
html/en/history.html | 11 ++
src/svg/cdsvg.c | 525 ++++++++++++++++++++++++++++----------------------
test/cdtest/drivers.c | 2 +-
6 files changed, 344 insertions(+), 249 deletions(-)
diff --git a/html/en/drv/pdf.html b/html/en/drv/pdf.html
index 9198a38..379d43c 100644
--- a/html/en/drv/pdf.html
+++ b/html/en/drv/pdf.html
@@ -113,7 +113,7 @@ or in C
parameter "-o" is used, the horizontal and vertical values are switched.
In Lua, it is necessary to call function cdluapdf_open() after a call
to function cdlua_open(), apart from linkediting with the "cdluapdf"
- library.
+ library. This is not necessary if you do require"cdluapdf".
Behavior of Functions
Control
@@ -133,18 +133,9 @@ or in C
Attributes
- -
-
- Background does nothing, returns CD_WHITE.
- -
- BackOpacity: does nothing, returns CD_TRANSPARENT.
-
WriteMode: does nothing, returns CD_REPLACE.
- - Hatch:
- is always opaque.
- -
- Stipple: is always opaque.
- Font:
the old "System" font is mapped to the "Courier" font. For
the PDF core fonts styles are added to the font name, for other fonts styles
diff --git a/html/en/drv/ps.html b/html/en/drv/ps.html
index 011e834..f27efb7 100644
--- a/html/en/drv/ps.html
+++ b/html/en/drv/ps.html
@@ -187,21 +187,24 @@
Exclusive Attributes
- - "POLYHOLE": defines the index of
- the vertex where there is a hole in a
- closed polygon. It will affect the next cdEnd. Can be called several times between
- cdBegin and cdEnd to define holes. The value passed must
- be a string containing an integer ("%d"). If the value of the attribute passed is NULL, all holes will no longer be
- considered. When consulted returns the current number of holes ("%d"). It can have a maximum of 500 holes.
+ - "POLYHOLE": defines the index
+ of the vertex where there is a hole in a closed polygon. It will affect the
+ next cdEnd. Can be called several times between
+ cdBegin and cdEnd to define holes. The value
+ passed must be a string containing an integer ("%d"). If the value of the
+ attribute passed is NULL, all holes will no longer be considered. When
+ consulted returns the current number of holes ("%d"). It can have a maximum
+ of 500 holes.
- "CMD": saves a string directly to the file. Allows adding PostScript commands
to the file generated by the CD library. (set only)
- - "ROTATE": allows the usage of 1 angle and 1 coordinate (x, y), that
- define a global rotation transformation centered in the specified coordinate. Use 1 real and 2 integer values inside a
- string ("%g %d %d" = angle x y).
+ - "ROTATE": allows the usage of 1 angle
+ and 1 coordinate (x, y), that define a global rotation transformation
+ centered in the specified coordinate. Use 1 real and 2 integer values inside
+ a string ("%g %d %d" = angle x y).