From dee76d5884c6f079ea3a2387d07289534a51a0c1 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Tue, 28 Jan 2025 21:43:17 +1300 Subject: Revised Image subhierarchy, fixed data subprograms, added constructor for Pixmap --- doc/fl_image.html | 78 +++++++------------------------------------------------ 1 file changed, 10 insertions(+), 68 deletions(-) (limited to 'doc/fl_image.html') diff --git a/doc/fl_image.html b/doc/fl_image.html index 7550b5c..10c9ed8 100644 --- a/doc/fl_image.html +++ b/doc/fl_image.html @@ -84,21 +84,21 @@
 static const int ERR_FILE_ACCESS = -2;
 
-  +See the errors table.
 static const int ERR_FORMAT = -3;
 
-  +See the errors table.
 static const int ERR_NO_IMAGE = -1;
 
-  +See the errors table. @@ -192,20 +192,7 @@ function Copy
 int count() const;
 
-
-function Get_Data_Count
-       (This : in Image)
-    return Natural;
-
- - - -  -
-function Get_Data_Size
-       (This : in Image)
-    return Natural;
-
+Intentionally left unbound. @@ -223,53 +210,8 @@ function Get_D
 const char * const * data() const;
 
-
-function Get_Datum
-       (This     : in Image;
-        Data     : in Positive;
-        Position : in Positive)
-    return Color_Component
-with Pre =>
-        Data <= Get_Data_Count (This) and
-        Position <= Get_Data_Size (This);
-
-procedure Set_Datum
-       (This     : in out Image;
-        Data     : in     Positive;
-        Position : in     Positive;
-        Value    : in     Color_Component)
-with Pre =>
-        Data <= Get_Data_Count (This) and
-        Position <= Get_Data_Size (This);
-
-function Get_Data
-       (This     : in Image;
-        Data     : in Positive;
-        Position : in Positive;
-        Count    : in Natural)
-    return Color_Component_Array
-with Pre =>
-        Data <= Get_Data_Count (This) and
-        Position <= Get_Data_Size (This) and
-        Count <= Get_Data_Size (This) - Position + 1;
-
-function All_Data
-       (This : in Image;
-        Data : in Positive)
-    return Color_Component_Array
-with Pre =>
-        Data <= Get_Data_Count (This);
-
-procedure Update_Data
-       (This     : in out Image;
-        Data     : in     Positive;
-        Position : in     Positive;
-        Values   : in     Color_Component_Array)
-with Pre =>
-        Data <= Get_Data_Count (This) and
-        Position <= Get_Data_Size (This) and
-        Values'Length <= Get_Data_Size (This) - Position + 1;
-
+See Data_Size, Get_Datum, Set_Datum, Slice, Overwrite, All_Data subprograms +in Fl_Bitmap and Fl_RGB_Image. @@ -289,9 +231,9 @@ virtual void draw(int X, int Y, int W, int H,
 procedure Draw
-       (This       : in Image;
-        X, Y, W, H : in Integer;
-        CX, CY     : in Integer := 0);
+       (This           : in Image;
+        X, Y, W, H     : in Integer;
+        Clip_X, Clip_Y : in Integer := 0);
 
@@ -357,7 +299,7 @@ virtual void label(Fl_Menu_Item *m); int ld() const;
-function Get_Line_Data
+function Get_Line_Size
        (This : in Image)
     return Natural;
 
-- cgit