summaryrefslogtreecommitdiff
path: root/src/fltk-images-bitmaps.ads
blob: 8f2e4bf2ea4ed2de7cf3de6cd0fdafe1f146e924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39


package FLTK.Images.Bitmaps is


    type Bitmap is new Image with private;




    function Copy
           (This          : in Bitmap;
            Width, Height : in Natural)
        return Bitmap;

    function Copy
           (This : in Bitmap)
        return Bitmap;




    procedure Draw
           (This       : in Bitmap;
            X, Y, W, H : in Integer;
            CX, CY     : in Integer := 0);


private


    type Bitmap is new Image with null record;

    overriding procedure Finalize
           (This : in out Bitmap);


end FLTK.Images.Bitmaps;