summaryrefslogtreecommitdiff
path: root/src/fltk-images.ads
blob: 51f84438f388239dedf0ef7062f17e3ff4412956 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69


package FLTK.Images is


    type Image is new Wrapper with private;

    type Blend is new Float range 0.0 .. 1.0;




    function Create
           (Width, Height, Depth : in Natural)
        return Image;

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

    function Copy
           (This : in Image)
        return Image;




    procedure Color_Average
           (This   : in out Image;
            Col    : in     Color;
            Amount : in     Blend);

    procedure Desaturate
           (This : in out Image);




    procedure Inactive
           (This : in out Image);




    function Get_W
           (This : in Image)
        return Natural;

    function Get_H
           (This : in Image)
        return Natural;

    function Get_D
           (This : in Image)
        return Natural;


private


    type Image is new Wrapper with null record;

    overriding procedure Finalize
           (This : in out Image);


end FLTK.Images;