summaryrefslogtreecommitdiff
path: root/src/fltk-images-rgb.ads
blob: f34c34a21dbe249962842b9e0f4e5d624c34b45a (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


package FLTK.Images.RGB is


    type RGB_Image is new Image with private;




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

    function Copy
           (This : in RGB_Image)
        return RGB_Image;




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

    procedure Desaturate
           (This : in out RGB_Image);




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


private


    type RGB_Image is new Image with null record;

    overriding procedure Finalize
           (This : in out RGB_Image);


end FLTK.Images.RGB;