From debc9599032c7036006ec124f4ef8f44b8935568 Mon Sep 17 00:00:00 2001 From: scuri Date: Thu, 17 Jun 2010 19:32:24 +0000 Subject: *** empty log message *** --- html/en/screenshots.html | 66 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 48 insertions(+), 18 deletions(-) (limited to 'html/en/screenshots.html') diff --git a/html/en/screenshots.html b/html/en/screenshots.html index 38616c1..d8b3c28 100644 --- a/html/en/screenshots.html +++ b/html/en/screenshots.html @@ -10,14 +10,33 @@ border-style: solid; border-width: 1px; } +.style5 { + text-align: left; +}

Screenshots

- - -

CD_NATIVEWINDOW

+

All the screenshots here were generated with the same +C source code. The code contains only the +primitives and attributes, the canvas initialization is simply:

+
cdCanvas* canvas = canvas = cdCreateCanvas(ctx, data);
+
+SimpleDraw(canvas);
+
+/* Destroys the canvas and releases internal memory, 
+   important for file based drivers to close the file. */
+cdKillCanvas(canvas);
+
+

CD_NATIVEWINDOW or +CD_IUP

+
Ihandle* cnv = IupCanvas(NULL);
+cdInitContextPlus();
+...
+if (contextplus) cdUseContextPlus(1);
+canvas = cdCreateCanvas(CD_IUP, cnv);
+if (contextplus) cdUseContextPlus(0);
@@ -28,10 +47,10 @@ + + @@ -40,7 +59,7 @@ + @@ -50,30 +69,31 @@ + +
- -
X11
-
- -

CD_IMAGERGB

+
canvas = cdCreateCanvas(CD_IMAGERGB, "1280x938");
+
-

CD_PDF

- +
canvas = cdCreateCanvas(CD_PDF, "cd_pdf.pdf -w270.933 -h198.543 -s120");
+ @@ -81,12 +101,13 @@
-
cd_pdf.pdf

CD_PS

- +
canvas = cdCreateCanvas(CD_PS, "cd_ps.ps -l0 -r0 -t0 -b0 -w270.933 -h198.543 -s120");
+canvas = cdCreateCanvas(CD_PS, "cd_ps.eps -e -w270.933 -h198.543 -s120");
+ @@ -97,12 +118,12 @@
-
cd_ps.ps

CD_SVG

- +
canvas = cdCreateCanvas(CD_SVG, "cd_svg.svg 270.933x198.543 4.72441");
+ @@ -110,7 +131,7 @@
-
cd_svg.svg

CD_EMF

- +
canvas = cdCreateCanvas(CD_EMF, "cd_emf.emf 1280x938");
@@ -121,12 +142,12 @@ - + + @@ -138,16 +159,25 @@

CD_METAFILE - cd_metafile.mf

+
canvas = cdCreateCanvas(CD_METAFILE, "cd_wmf.mf 270.933x198.543 4.72441");

CD_DEBUG - cd_debug.txt

+
canvas = cdCreateCanvas(CD_DEBUG, "cd_debug.txt 270.933x198.543 4.72441");

CD_WMF - cd_wmf.wmf

+
canvas = cdCreateCanvas(CD_WMF, "cd_wmf.wmf 1280x938");

CD_CGM - cd_cgm.cgm

+
canvas = cdCreateCanvas(CD_CGM, "cd_cgm.cgm 270.933x198.543 4.72441");
+

CD_CGM - +cd_cgm_t.cgm  (text mode)

+
canvas = cdCreateCanvas(CD_CGM, "cd_cgm_t.cgm -t 270.933x198.543 4.72441");

CD_DGN - cd_dgn.dgn

+
canvas = cdCreateCanvas(CD_DGN, "cd_dgn.dgn 270.933x198.543 4.72441");

CD_DXF - cd_dxf.dxf

+
canvas = cdCreateCanvas(CD_DXF, "cd_dxf.dxf 270.933x198.543 4.72441");
-- cgit v1.2.3
Win32 -
cd_emf_win32.emf