diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-04 15:20:44 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-04 15:20:44 +1300 |
commit | db6e6c0d15554879df2c4af3f1cfa903106f88c1 (patch) | |
tree | 56e4a1672577d5467500e65db5fad36db39b2a0b /doc/fl_postscript_file_device.html | |
parent | b870f2a1e8fcb956ce316e6a600d7d0625604830 (diff) |
Added Fl_PostScript_File_Device
Diffstat (limited to 'doc/fl_postscript_file_device.html')
-rw-r--r-- | doc/fl_postscript_file_device.html | 321 |
1 files changed, 321 insertions, 0 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> </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> + |