From f18ea4474bb4905a00e0b39e7205c177ee994196 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Tue, 20 Feb 2024 18:04:23 +1300 Subject: Improved binding for the FLTK.Images package subtree --- doc/fl_shared_image.html | 153 ++++++++++++++++++++++++++--------------------- 1 file changed, 84 insertions(+), 69 deletions(-) (limited to 'doc/fl_shared_image.html') diff --git a/doc/fl_shared_image.html b/doc/fl_shared_image.html index 1dd8943..0c43ff7 100644 --- a/doc/fl_shared_image.html +++ b/doc/fl_shared_image.html @@ -47,31 +47,93 @@ - + - + + - + + + + + + + + + + + + + + + + + + + + + + + +
Functions and Procedures
Static Functions and Procedures
-Fl_Shared_Image();
+static void add_handler(Fl_Shared_Handler f);
 
 Documentation lacking, claims to be a test function yet used for adding extra formats?
-Fl_Shared_Image(const char *n, Fl_Image *img=0);
+static Fl_Shared_Image * find(const char *name, int W=0, int H=0);
+
+function Find
+       (Name : in String;
+        W, H : in Integer := 0)
+    return Shared_Image;
 
 
-static void add_handler(Fl_Shared_Handler f);
+static Fl_Shared_Image * get(const char *name, int W=0, int H=0);
+
+function Create
+       (Filename : in String;
+        W, H     : in Integer)
+    return Shared_Image;
+
+static Fl_Shared_Image * get(Fl_RGB_Image *rgb, int own_it=1);
+
+function Create
+       (From : in FLTK.Images.RGB.RGB_Image'Class)
+    return Shared_Image;
+
+static Fl_Shared_Image ** images();
 
 
+static int num_images();
+
+function Number_Of_Images
+    return Natural;
+
+static void remove_handler(Fl_Shared_Handler f);
+
Documentation lacking, claims to be a test function yet used for adding extra formats?
+static void scaling_algorithm(Fl_RGB_Scaling algorithm);
+
+procedure Set_Scaling_Algorithm
+       (To : in Scaling_Kind);
+
+ + + + + + + + - - - - - - - - - - - - - - - - - - - - + - - + @@ -224,14 +252,8 @@ procedure Reload - - - - - - - - - -
Functions and Procedures
 virtual void color_average(Fl_Color c, float i);
 
@@ -140,48 +202,6 @@ procedure Draw
 
   
-static Fl_Shared_Image * find(const char *name, int W=0, int H=0);
-
-function Find
-       (Name : in String;
-        W, H : in Integer := 0)
-    return Shared_Image;
-
-static Fl_Shared_Image * get(const char *name, int W=0, int H=0);
-
-function Create
-       (Filename : in String;
-        W, H     : in Integer)
-    return Shared_Image;
-
-static Fl_Shared_Image * get(Fl_RGB_Image *rgb, int own_it=1);
-
-function Create
-       (From : in FLTK.Images.RGB.RGB_Image'Class)
-    return Shared_Image;
-
-static Fl_Shared_Image ** images();
-
 
 const char * name();
 
@@ -193,16 +213,24 @@ function Name
 
   
-static int num_images();
+int original();
+
+function Original
+       (This : in Shared_Image)
+    return Boolean;
 
 
 int refcount();
 
 
+function Reference_Count
+       (This : in Shared_Image)
+    return Natural;
+
-static void remove_handler(Fl_Shared_Handler f);
-
 
-void scale(int width, int height, int proportional=1, int can_expand=0);
+void scale(int width, int height,
+    int proportional=1, int can_expand=0);
 
 procedure Scale
@@ -244,19 +266,12 @@ procedure Scale
 
   
-static void scaling_algorithm(Fl_RGB_Scaling algorithm);
-
-procedure Set_Scaling_Algorithm
-       (To : in Scaling_Kind);
+virtual void uncache();
 
-virtual void uncache();
+procedure Uncache
+       (This : in out Shared_Image);
 
 
-- cgit