aboutsummaryrefslogtreecommitdiff
path: root/doc/fl_shared_image.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/fl_shared_image.html')
-rw-r--r--doc/fl_shared_image.html292
1 files changed, 231 insertions, 61 deletions
diff --git a/doc/fl_shared_image.html b/doc/fl_shared_image.html
index 298a541..1f8ae25 100644
--- a/doc/fl_shared_image.html
+++ b/doc/fl_shared_image.html
@@ -1,4 +1,3 @@
-
<!DOCTYPE html>
<html lang="en">
@@ -14,6 +13,9 @@
<h2>Fl_Shared_Image Binding Map</h2>
+<a href="index.html">Back to Index</a>
+
+
<table class="package">
<tr><th colspan="2">Package name</th></tr>
@@ -39,104 +41,169 @@
<td>Shared_Image_Reference</td>
</tr>
+ <tr>
+ <td>Fl_Shared_Handler</td>
+ <td>&nbsp;</td>
+ </tr>
+
</table>
<table class="function">
- <tr><th colspan="2">Functions and Procedures</th></tr>
+ <tr><th colspan="2">Static Protected Attributes</th></tr>
<tr>
<td><pre>
-Fl_Shared_Image();
+static int alloc_handlers_ = 0;
</pre></td>
-<td>&nbsp;</td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
<td><pre>
-Fl_Shared_Image(const char *n, Fl_Image *img=0);
+static int alloc_images_ = 0;
</pre></td>
-<td>&nbsp;</td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
<td><pre>
-static void add_handler(Fl_Shared_Handler f);
+static Fl_Shared_Handler * handlers_ = 0;
</pre></td>
-<td>&nbsp;</td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
<td><pre>
-virtual void color_average(Fl_Color c, float i);
+static Fl_Shared_Image ** images_ = 0;
</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
<td><pre>
-procedure Color_Average
- (This : in out Shared_Image;
- Col : in Color;
- Amount : in Blend);
+static int num_handlers_ = 0;
</pre></td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
<td><pre>
-virtual Fl_Image * copy(int W, int H);
+static int num_images_ = 0;
</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Protected Attributes</th></tr>
+
+ <tr>
<td><pre>
-function Copy
- (This : in Shared_Image;
- Width, Height : in Natural)
- return Shared_Image'Class;
+int alloc_image_;
</pre></td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
<td><pre>
-Fl_Image * copy();
+Fl_Image * image_;
</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
<td><pre>
-function Copy
- (This : in Shared_Image)
- return Shared_Image'Class;
+const char * name_;
</pre></td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
<td><pre>
-virtual void desaturate();
+int original_;
</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
<td><pre>
-procedure Desaturate
- (This : in out Shared_Image);
+int refcount_;
</pre></td>
+<td>Intentionally left unbound.</td>
</tr>
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Constructors</th></tr>
+
<tr>
<td><pre>
-virtual void draw(int X, int Y, int W, int H, int cx, int cy);
+Fl_Shared_Image();
</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
<td><pre>
-procedure Draw
- (This : in Shared_Image;
- X, Y, W, H : in Integer;
- CX, CY : in Integer := 0);
+Fl_Shared_Image(const char *n, Fl_Image *img=0);
</pre></td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
<td><pre>
-void draw(int X, int Y);
+static Fl_Shared_Image * get(const char *name, int W=0, int H=0);
</pre></td>
<td><pre>
-procedure Draw
- (This : in Shared_Image;
- X, Y : in Integer);
+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>&nbsp;</td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+static void add_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 Fl_Shared_Image * find(const char *name, int W=0, int H=0);
</pre></td>
<td><pre>
@@ -149,32 +216,105 @@ function Find
<tr>
<td><pre>
-static Fl_Shared_Image * get(const char *name, int W=0, int H=0);
+static int num_images();
</pre></td>
<td><pre>
-function Create
- (Filename : in String;
- W, H : in Integer)
- return Shared_Image;
+function Number_Of_Images
+ return Natural;
</pre></td>
</tr>
<tr>
<td><pre>
-static Fl_Shared_Image * get(Fl_RGB_Image *rgb, int own_it=1);
+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>
-function Create
- (From : in FLTK.Images.RGB.RGB_Image'Class)
- return Shared_Image;
+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>
-static Fl_Shared_Image ** images();
+virtual void color_average(Fl_Color c, float i);
+</pre></td>
+<td><pre>
+procedure Color_Average
+ (This : in out Shared_Image;
+ Col : in Color;
+ Amount : in Blend);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+virtual Fl_Image * copy(int W, int H);
+</pre></td>
+<td><pre>
+function Copy
+ (This : in Shared_Image;
+ Width, Height : in Natural)
+ return Shared_Image'Class;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+Fl_Image * copy();
+</pre></td>
+<td><pre>
+function Copy
+ (This : in Shared_Image)
+ return Shared_Image'Class;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+virtual void desaturate();
+</pre></td>
+<td><pre>
+procedure Desaturate
+ (This : in out Shared_Image);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+virtual void draw(int X, int Y, int W, int H,
+ int cx, int cy);
+</pre></td>
+<td><pre>
+procedure Draw
+ (This : in Shared_Image;
+ X, Y, W, H : in Integer;
+ CX, CY : in Integer := 0);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw(int X, int Y);
+</pre></td>
+<td><pre>
+procedure Draw
+ (This : in Shared_Image;
+ X, Y : in Integer);
</pre></td>
-<td>&nbsp;</td>
</tr>
<tr>
@@ -190,23 +330,31 @@ 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>&nbsp;</td>
</tr>
<tr>
<td><pre>
int refcount();
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+function Reference_Count
+ (This : in Shared_Image)
+ return Natural;
+</pre></td>
</tr>
<tr>
<td><pre>
void release();
</pre></td>
-<td>Used as destructor, handled automatically with Finalize procedure using Limited_Controlled types</td>
+<td>Used as destructor, handled automatically.</td>
</tr>
<tr>
@@ -221,14 +369,8 @@ procedure Reload
<tr>
<td><pre>
-static void remove_handler(Fl_Shared_Handler f);
-</pre></td>
-<td>&nbsp;</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
@@ -241,17 +383,24 @@ procedure Scale
<tr>
<td><pre>
-static void scaling_algorithm(Fl_RGB_Scaling algorithm);
+virtual void uncache();
</pre></td>
<td><pre>
-procedure Set_Scaling_Algorithm
- (To : in Scaling_Kind);
+procedure Uncache
+ (This : in out Shared_Image);
</pre></td>
</tr>
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Protected Functions and Procedures</th></tr>
+
<tr>
<td><pre>
-virtual void uncache();
+static int compare(Fl_Shared_Image **i0, Fl_Shared_Image **i1);
</pre></td>
<td>&nbsp;</td>
</tr>
@@ -259,6 +408,27 @@ virtual void uncache();
</table>
+
+<table class="function">
+ <tr><th colspan="2">Protected Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+void add();
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+void update();
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+</table>
+
+
</body>
</html>