summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/fl_postscript_file_device.html321
-rw-r--r--doc/index.html3
2 files changed, 323 insertions, 1 deletions
diff --git a/doc/fl_postscript_file_device.html b/doc/fl_postscript_file_device.html
new file mode 100644
index 0000000..00a49ab
--- /dev/null
+++ b/doc/fl_postscript_file_device.html
@@ -0,0 +1,321 @@
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Fl_PostScript_File_Device Binding Map</title>
+ <link href="map.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+
+<h2>Fl_PostScript_File_Device Binding Map</h2>
+
+
+<a href="index.html">Back to Index</a>
+
+
+<table class="package">
+ <tr><th colspan="2">Package name</th></tr>
+
+ <tr>
+ <td>Fl_PostScript_File_Device</td>
+ <td>FLTK.Devices.Surface.Paged.Postscript</td>
+ </tr>
+
+</table>
+
+
+
+<table class="type">
+ <tr><th colspan="2">Types</th></tr>
+
+ <tr>
+ <td>Fl_PostScript_File_Device</td>
+ <td>Postscript_File_Device</td>
+ </tr>
+
+ <tr>
+ <td>&nbsp;</td>
+ <td>Postscript_File_Device_Reference</td>
+ </tr>
+
+ <tr>
+ <td>FILE *</td>
+ <td>File_Type</td>
+ </tr>
+
+</table>
+
+
+
+<table class="type">
+ <tr><th colspan="2">Errors</th></tr>
+
+ <tr>
+ <td>int</td>
+ <td>File_Open_Error</td>
+ </tr>
+
+ <tr>
+ <td>int</td>
+ <td>File_Close_Error</td>
+ </tr>
+
+ <tr>
+ <td>int</td>
+ <td>User_Cancel_Error</td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Attributes</th></tr>
+
+ <tr>
+<td><pre>
+static const char * class_id = "Fl_PostScript_File_Device";
+</pre></td>
+<td>Deprecated, use runtime tag checks instead.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static const char * file_chooser_title = "Select a .ps file";
+</pre></td>
+<td><pre>
+function Get_File_Chooser_Title
+ return String;
+
+procedure Set_File_Chooser_Title
+ (Value : in String);
+</pre></td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Constructors</th></tr>
+
+ <tr>
+<td><pre>
+Fl_PostScript_File_Device();
+</pre></td>
+<td><pre>
+function Create
+ return Postscript_File_Device;
+</pre></td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+const char * class_name();
+</pre></td>
+<td>Deprecated, use runtime tag checks instead.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+void end_job(void);
+</pre></td>
+<td><pre>
+procedure End_Job
+ (This : in out Postscript_File_Device);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int end_page(void);
+</pre></td>
+<td><pre>
+procedure End_Page
+ (This : in out Postscript_File_Device);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void margins(int *left, int *top, int *right, int *bottom);
+</pre></td>
+<td><pre>
+procedure Get_Margins
+ (This : in Postscript_File_Device;
+ Left, Top, Right, Bottom : out Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void origin(int *x, int *y);
+</pre></td>
+<td><pre>
+procedure Get_Origin
+ (This : in Postscript_File_Device;
+ X, Y : out Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void origin(int x, int y);
+</pre></td>
+<td><pre>
+procedure Set_Origin
+ (This : in out Postscript_File_Device;
+ X, Y : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int printable_rect(int *w, int *h);
+</pre></td>
+<td><pre>
+procedure Get_Printable_Rect
+ (This : in Postscript_File_Device;
+ W, H : out Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void rotate(float angle);
+</pre></td>
+<td><pre>
+procedure Rotate
+ (This : in out Postscript_File_Device;
+ Degrees : in Float);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void scale(float scale_x, float scale_y=0);
+</pre></td>
+<td><pre>
+procedure Scale
+ (This : in out Postscript_File_Device;
+ Factor : in Float);
+
+procedure Scale
+ (This : in out Postscript_File_Device;
+ Factor_X, Factor_Y : in Float);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int start_job(FILE *ps_output, int pagecount,
+ enum Fl_Paged_Device::Page_Format format=Fl_Paged_Device::A4,
+ enum Fl_Paged_Device::Page_Layout layout=Fl_Paged_Device::PORTRAIT);
+</pre></td>
+<td><pre>
+procedure Start_Job
+ (This : in out Postscript_File_Device;
+ Output : in File_Type'Class;
+ Count : in Natural := 0;
+ Format : in Page_Format := A4;
+ Layout : in Page_Layout := Portrait)
+with Pre => Output.Is_Open;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int start_job(int pagecount,
+ enum Fl_Paged_Device::Page_Format format=Fl_Paged_Device::A4,
+ enum Fl_Paged_Device::Page_Layout layout=Fl_Paged_Device::PORTRAIT);
+</pre></td>
+<td><pre>
+procedure Start_Job
+ (This : in out Postscript_File_Device;
+ Count : in Natural := 0;
+ Format : in Page_Format := A4;
+ Layout : in Page_Layout := Portrait);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int start_job(int pagecount, int *from, int *to);
+</pre></td>
+<td><pre>
+procedure Start_Job
+ (This : in out Postscript_File_Device;
+ Count : in Natural := 0);
+
+procedure Start_Job
+ (This : in out Postscript_File_Device;
+ Count : in Natural := 0;
+ From, To : out Positive);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int start_page(void);
+</pre></td>
+<td><pre>
+procedure Start_Page
+ (This : in out Postscript_File_Device);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void translate(int x, int y);
+</pre></td>
+<td><pre>
+procedure Translate
+ (This : in out Postscript_File_Device;
+ Delta_X, Delta_Y : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void untranslate(void);
+</pre></td>
+<td><pre>
+procedure Untranslate
+ (This : in out Postscript_File_Device);
+</pre></td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Protected Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+Fl_PostScript_Graphics_Driver * driver();
+</pre></td>
+<td><pre>
+function Get_Postscript_Driver
+ (This : in out Postscript_File_Device)
+ return FLTK.Devices.Graphics.Graphics_Driver_Reference;
+</pre></td>
+ </tr>
+
+</table>
+
+
+ </body>
+</html>
+
diff --git a/doc/index.html b/doc/index.html
index 6157396..2f1773a 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -86,7 +86,7 @@
<li><a href="fl_pixmap.html">Fl_Pixmap</a></li>
<li><a href="fl_png_image.html">Fl_PNG_Image</a></li>
<li><a href="fl_pnm_image.html">Fl_PNM_Image</a></li>
- <li>Fl_Postscript_File_Device</li>
+ <li><a href="fl_postscript_file_device.html">Fl_Postscript_File_Device</a></li>
<li><a href="fl_preferences.html">Fl_Preferences</a></li>
<li><a href="fl_printer.html">Fl_Printer</a></li>
<li><a href="fl_progress.html">Fl_Progress</a></li>
@@ -144,6 +144,7 @@
<li><a href="fl_display_device.html">FLTK.Devices.Surface.Display</a></li>
<li><a href="fl_image_surface.html">FLTK.Devices.Surface.Image</a></li>
<li><a href="fl_paged_device.html">FLTK.Devices.Surface.Paged</a></li>
+ <li><a href="fl_postscript_file_device.html">FLTK.Devices.Surface.Paged.Postscript</a></li>
<li><a href="fl_printer.html">FLTK.Devices.Surface.Paged.Printers</a></li>
<li><a href="fl_draw.html">FLTK.Draw</a></li>
<li><a href="fl_preferences.html">FLTK.Environment</a></li>