summaryrefslogtreecommitdiff
path: root/body/fltk-devices-surface-paged-postscript.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-02-06 19:28:33 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-02-06 19:28:33 +1300
commit547e538476a788dfeb5974f9b8ad29441d18980b (patch)
tree00a3c7d80ee403969971bc4b814876b4399f3ada /body/fltk-devices-surface-paged-postscript.adb
parentbefe66a0a98a58e0bdb31bb8c2db4a975a744072 (diff)
Slightly better / more consistent comments
Diffstat (limited to 'body/fltk-devices-surface-paged-postscript.adb')
-rw-r--r--body/fltk-devices-surface-paged-postscript.adb18
1 files changed, 18 insertions, 0 deletions
diff --git a/body/fltk-devices-surface-paged-postscript.adb b/body/fltk-devices-surface-paged-postscript.adb
index b58b1da..76553b1 100644
--- a/body/fltk-devices-surface-paged-postscript.adb
+++ b/body/fltk-devices-surface-paged-postscript.adb
@@ -26,6 +26,8 @@ package body FLTK.Devices.Surface.Paged.Postscript is
-- Functions From C --
------------------------
+ -- Files --
+
function fopen
(Name, Mode : in Interfaces.C.char_array)
return Storage.Integer_Address;
@@ -39,6 +41,8 @@ package body FLTK.Devices.Surface.Paged.Postscript is
+ -- Allocation --
+
function new_fl_postscript_file_device
return Storage.Integer_Address;
pragma Import (C, new_fl_postscript_file_device, "new_fl_postscript_file_device");
@@ -52,6 +56,8 @@ package body FLTK.Devices.Surface.Paged.Postscript is
+ -- Static Attributes --
+
function fl_postscript_file_device_get_file_chooser_title
return Interfaces.C.Strings.chars_ptr;
pragma Import (C, fl_postscript_file_device_get_file_chooser_title,
@@ -67,6 +73,8 @@ package body FLTK.Devices.Surface.Paged.Postscript is
+ -- Driver --
+
function fl_postscript_file_device_get_driver
(D : in Storage.Integer_Address)
return Storage.Integer_Address;
@@ -76,6 +84,8 @@ package body FLTK.Devices.Surface.Paged.Postscript is
+ -- Job Control --
+
function fl_postscript_file_device_start_job
(D : in Storage.Integer_Address;
C : in Interfaces.C.int)
@@ -125,6 +135,8 @@ package body FLTK.Devices.Surface.Paged.Postscript is
+ -- Spacing and Orientation --
+
procedure fl_postscript_file_device_margins
(D : in Storage.Integer_Address;
L, T, R, B : out Interfaces.C.int);
@@ -301,6 +313,8 @@ package body FLTK.Devices.Surface.Paged.Postscript is
-- API Subprograms --
-----------------------
+ -- Driver --
+
function Get_Postscript_Driver
(This : in out Postscript_File_Device)
return FLTK.Devices.Graphics.Graphics_Driver_Reference is
@@ -311,6 +325,8 @@ package body FLTK.Devices.Surface.Paged.Postscript is
+ -- Job Control --
+
procedure Start_Job
(This : in out Postscript_File_Device;
Count : in Natural := 0) is
@@ -412,6 +428,8 @@ package body FLTK.Devices.Surface.Paged.Postscript is
+ -- Spacing and Orientation --
+
procedure Get_Margins
(This : in Postscript_File_Device;
Left, Top, Right, Bottom : out Integer) is