From 0a186150f085c34462b8c6cd5257849c73f80b65 Mon Sep 17 00:00:00 2001 From: scuri Date: Wed, 2 Dec 2009 20:30:55 +0000 Subject: New: driver SVG. --- html/en/drv/gdk.html | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++ html/en/drv/svg.html | 93 ++++++++++++++++++++++++++++++++++++++++++ html/en/history.html | 1 + html/en/prod.html | 12 +++--- html/en/to_do.html | 1 - 5 files changed, 212 insertions(+), 8 deletions(-) create mode 100644 html/en/drv/gdk.html create mode 100644 html/en/drv/svg.html (limited to 'html/en') diff --git a/html/en/drv/gdk.html b/html/en/drv/gdk.html new file mode 100644 index 0000000..df5aab2 --- /dev/null +++ b/html/en/drv/gdk.html @@ -0,0 +1,113 @@ + + + + + + +GDK + + + + + +

GDK Base Driver

+ +

This driver represents a basic driver for all system-dependent drivers + implemented in the X-Windows system. The implementation uses the + GDK and + Cairo API + functions. This driver was designed for the GTK+ version 2, and can be + compiled and used in Microsoft Windows system.

+ +

Behavior of Functions

+

Control 

+ +

Coordinate System and Clipping

+ +

Attributes

+ +

Colors

+ +

Exclusive Attributes

+ + + + + + + + + + + diff --git a/html/en/drv/svg.html b/html/en/drv/svg.html new file mode 100644 index 0000000..e75451e --- /dev/null +++ b/html/en/drv/svg.html @@ -0,0 +1,93 @@ + + + + + + +CD_SVG + + + + + +

CD_SVG - CD Scalable Vector Graphics Driver (cdsvg.h)

+ +

This driver allows the generation of a SVG file, a modularized language for + describing two-dimensional vector and mixed vector/raster graphics in XML. The + SVG specification is an open standard + that has been under development by the World Wide + Web Consortium (W3C) since 1999.

+ +

Use

+ +

The file is created by calling function + cdCreateCanvas(CD_SVG, + Data). The Data parameter is a string that must contain the filename and the canvas + dimensions, in the following format:

+ +
"filename [widthxheight resolution]" or in C "%s %gx%g %g"
+ +

Only the parameter filename is required. The filename must be inside double quotes (") + if it has spaces. Width and height are provided in millimeters + (note the lowercase "x" between them), and their default value in pixels is INT_MAX for + both dimensions. Resolution is the number of pixels per millimeter; its default value is + "3.78 pixels/mm" (96 DPI). Width, height and + resolution are real values.

+

Any amount of such canvases may exist simultaneously. It is important to note that a call to function + + cdKillCanvas is required to close the file properly.

+

Behavior of Functions

+

Control

+ +
  • + Play: does nothing, returns + CD_ERROR.
  • +
  • + Clear: is simulated using + width and height to draw a rect.
  • +
    +

    Coordinate System and Clipping

    + +
  • + UpdateYAxis: does nothing.
  • +
  • Complex Regions: not supported.
  • +
    +

    Attributes

    + +
  • + FontDim: is simulated.
  • +
  • + TextSize: is simulated.
  • +
  • + + WriteMode: does nothing, + returns CD_REPLACE.
  • +
    +

    Colors

    + +
  • + + GetColorPlanes: always returns 24.
  • +
  • + Palette: does nothing.
  • +
    +

    Primitives

    + +
  • + Pixel: + does not exist in SVG, is simulated using a circle with radius=0.1.
  • +
  • Floating point primitives are supported.
  • +
    +

    Client Images

    + +
  • + GetImageRGB: does nothing.
  • +
    +

    Server Images

    + +
  • All functions do nothing.
  • +
    + + + + diff --git a/html/en/history.html b/html/en/history.html index ba6be12..9d82f3b 100644 --- a/html/en/history.html +++ b/html/en/history.html @@ -21,6 +21,7 @@

    History of Changes

    CVS (02/Dec/2009)