diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2024-02-20 18:04:23 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2024-02-20 18:04:23 +1300 |
commit | f18ea4474bb4905a00e0b39e7205c177ee994196 (patch) | |
tree | 67a06833192e0f47695ab872badb88fb0970280a /doc/fl_shared_image.html | |
parent | c47bea48a24e51e178354f3e3bb53d8b9964b769 (diff) |
Improved binding for the FLTK.Images package subtree
Diffstat (limited to 'doc/fl_shared_image.html')
-rw-r--r-- | doc/fl_shared_image.html | 153 |
1 files changed, 84 insertions, 69 deletions
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 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Functions and Procedures</th></tr> <tr> <td><pre> -Fl_Shared_Image(); +static void add_handler(Fl_Shared_Handler f); </pre></td> -<td> </td> +<td>Documentation lacking, claims to be a test function yet used for adding extra formats?</td> </tr> <tr> <td><pre> -Fl_Shared_Image(const char *n, Fl_Image *img=0); +static Fl_Shared_Image * find(const char *name, int W=0, int H=0); +</pre></td> +<td><pre> +function Find + (Name : in String; + W, H : in Integer := 0) + return Shared_Image; </pre></td> -<td> </td> </tr> <tr> <td><pre> -static void add_handler(Fl_Shared_Handler f); +static Fl_Shared_Image * get(const char *name, int W=0, int H=0); +</pre></td> +<td><pre> +function Create + (Filename : in String; + W, H : in Integer) + return Shared_Image; +</pre></td> + </tr> + + <tr> +<td><pre> +static Fl_Shared_Image * get(Fl_RGB_Image *rgb, int own_it=1); +</pre></td> +<td><pre> +function Create + (From : in FLTK.Images.RGB.RGB_Image'Class) + return Shared_Image; +</pre></td> + </tr> + + <tr> +<td><pre> +static Fl_Shared_Image ** images(); </pre></td> <td> </td> </tr> <tr> <td><pre> +static int num_images(); +</pre></td> +<td><pre> +function Number_Of_Images + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +static void remove_handler(Fl_Shared_Handler f); +</pre></td> +<td>Documentation lacking, claims to be a test function yet used for adding extra formats?</td> + </tr> + + <tr> +<td><pre> +static void scaling_algorithm(Fl_RGB_Scaling algorithm); +</pre></td> +<td><pre> +procedure Set_Scaling_Algorithm + (To : in Scaling_Kind); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> virtual void color_average(Fl_Color c, float i); </pre></td> <td><pre> @@ -140,48 +202,6 @@ procedure Draw <tr> <td><pre> -static Fl_Shared_Image * find(const char *name, int W=0, int H=0); -</pre></td> -<td><pre> -function Find - (Name : in String; - W, H : in Integer := 0) - return Shared_Image; -</pre></td> - </tr> - - <tr> -<td><pre> -static Fl_Shared_Image * get(const char *name, int W=0, int H=0); -</pre></td> -<td><pre> -function Create - (Filename : in String; - W, H : in Integer) - return Shared_Image; -</pre></td> - </tr> - - <tr> -<td><pre> -static Fl_Shared_Image * get(Fl_RGB_Image *rgb, int own_it=1); -</pre></td> -<td><pre> -function Create - (From : in FLTK.Images.RGB.RGB_Image'Class) - return Shared_Image; -</pre></td> - </tr> - - <tr> -<td><pre> -static Fl_Shared_Image ** images(); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> const char * name(); </pre></td> <td><pre> @@ -193,16 +213,24 @@ function Name <tr> <td><pre> -static int num_images(); +int original(); +</pre></td> +<td><pre> +function Original + (This : in Shared_Image) + return Boolean; </pre></td> -<td> </td> </tr> <tr> <td><pre> int refcount(); </pre></td> -<td> </td> +<td><pre> +function Reference_Count + (This : in Shared_Image) + return Natural; +</pre></td> </tr> <tr> @@ -224,14 +252,8 @@ procedure Reload <tr> <td><pre> -static void remove_handler(Fl_Shared_Handler f); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -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); </pre></td> <td><pre> procedure Scale @@ -244,19 +266,12 @@ procedure Scale <tr> <td><pre> -static void scaling_algorithm(Fl_RGB_Scaling algorithm); -</pre></td> -<td><pre> -procedure Set_Scaling_Algorithm - (To : in Scaling_Kind); +virtual void uncache(); </pre></td> - </tr> - - <tr> <td><pre> -virtual void uncache(); +procedure Uncache + (This : in out Shared_Image); </pre></td> -<td> </td> </tr> </table> |