summaryrefslogtreecommitdiff
path: root/src/fltk-images-bitmaps.ads
blob: 53229e2ddd78fd855113a1eb55b81a02bcb9f1d5 (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'Class;

    function Copy
           (This : in Bitmap)
        return Bitmap'Class;




    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;