aboutsummaryrefslogtreecommitdiff
path: root/doc/fl_bitmap.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/fl_bitmap.html')
-rw-r--r--doc/fl_bitmap.html109
1 files changed, 98 insertions, 11 deletions
diff --git a/doc/fl_bitmap.html b/doc/fl_bitmap.html
index 4d22550..edaf6a4 100644
--- a/doc/fl_bitmap.html
+++ b/doc/fl_bitmap.html
@@ -1,4 +1,3 @@
-
<!DOCTYPE html>
<html lang="en">
@@ -14,6 +13,9 @@
<h2>Fl_Bitmap Binding Map</h2>
+<a href="index.html">Back to Index</a>
+
+
<table class="package">
<tr><th colspan="2">Package name</th></tr>
@@ -44,22 +46,103 @@
<table class="function">
- <tr><th colspan="2">Functions and Procedures</th></tr>
+ <tr><th colspan="2">Attributes</th></tr>
<tr>
<td><pre>
-Fl_Bitmap(const uchar *bits, int W, int H);
+int alloc_array;
</pre></td>
-<td>&nbsp;</td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
<td><pre>
+const uchar * array;
+</pre></td>
+<td><pre>
+function Data_Size
+ (This : in Bitmap)
+ return Size_Type;
+
+function Get_Datum
+ (This : in Bitmap;
+ Place : in Positive_Size)
+ return Color_Component
+with Pre => Place <= This.Data_Size;
+
+procedure Set_Datum
+ (This : in out Bitmap;
+ Place : in Positive_Size;
+ Value : in Color_Component)
+with Pre => Place <= This.Data_Size;
+
+function Slice
+ (This : in Bitmap;
+ Low : in Positive_Size;
+ High : in Size_Type)
+ return Color_Component_Array
+with Pre => High <= This.Data_Size,
+ Post => Slice'Result'Length = Size_Type'Max (0, High - Low + 1);
+
+procedure Overwrite
+ (This : in out Bitmap;
+ Place : in Positive_Size;
+ Values : in Color_Component_Array)
+with Pre => Place + Values'Length - 1 <= This.Data_Size;
+
+function All_Data
+ (This : in Bitmap)
+ return Color_Component_Array
+with Post => All_Data'Result'Length = This.Data_Size;
+</pre></td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Constructors</th></tr>
+
+ <tr>
+<td><pre>
+Fl_Bitmap(const uchar *bits, int W, int H);
+
Fl_Bitmap(const char *bits, int W, int H);
</pre></td>
+<td><pre>
+function Create
+ (Data : in Color_Component_Array;
+ Width, Height : in Natural)
+ return Bitmap
+with Pre =>
+ Data'Length >= Size_Type (Bytes_Needed (Width)) * Size_Type (Height);
+</pre></td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Functions and Procedures</th></tr>
+
+ <tr>
<td>&nbsp;</td>
+<td><pre>
+function Bytes_Needed
+ (Bits : in Natural)
+ return Natural;
+</pre></td>
</tr>
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Functions and Procedures</th></tr>
+
<tr>
<td><pre>
virtual Fl_Image * copy(int W, int H);
@@ -85,13 +168,14 @@ function Copy
<tr>
<td><pre>
-virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0);
+virtual void draw(int X, int Y, int W, int H,
+ int cx=0, int cy=0);
</pre></td>
<td><pre>
procedure Draw
- (This : in Bitmap;
- X, Y, W, H : in Integer;
- CX, CY : in Integer := 0);
+ (This : in Bitmap;
+ X, Y, W, H : in Integer;
+ Clip_X, Clip_Y : in Integer := 0);
</pre></td>
</tr>
@@ -110,21 +194,24 @@ procedure Draw
<td><pre>
virtual void label(Fl_Widget *w);
</pre></td>
-<td>&nbsp;</td>
+<td>Marked as obsolete.</td>
</tr>
<tr>
<td><pre>
virtual void label(Fl_Menu_Item *m);
</pre></td>
-<td>&nbsp;</td>
+<td>Marked as obsolete.</td>
</tr>
<tr>
<td><pre>
virtual void uncache();
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Uncache
+ (This : in out Bitmap);
+</pre></td>
</tr>
</table>