mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 16:50:55 +02:00
gtk2: add some gdk-pixbuf 1.6 scaling functions
git-svn-id: trunk@12998 -
This commit is contained in:
parent
1f6ec36064
commit
ab41a9b2b1
@ -142,6 +142,13 @@ type
|
||||
GDK_INTERP_HYPER
|
||||
);
|
||||
|
||||
TGdkPixbufRotation = (
|
||||
GDK_PIXBUF_ROTATE_NONE = 0,
|
||||
GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE = 90,
|
||||
GDK_PIXBUF_ROTATE_UPSIDEDOWN = 180,
|
||||
GDK_PIXBUF_ROTATE_CLOCKWISE = 270
|
||||
);
|
||||
|
||||
function GDK_TYPE_PIXBUF : GType;
|
||||
function GDK_PIXBUF(anObject : pointer) : PGdkPixbuf;
|
||||
function GDK_IS_PIXBUF(anObject : pointer) : boolean;
|
||||
@ -237,6 +244,10 @@ procedure gdk_pixbuf_composite_color(src:PGdkPixbuf; dest:PGdkPixbuf; dest_x:lon
|
||||
function gdk_pixbuf_scale_simple(src:PGdkPixbuf; dest_width:longint; dest_height:longint; interp_type:TGdkInterpType):PGdkPixbuf; cdecl; external gdkpixbuflib;
|
||||
function gdk_pixbuf_composite_color_simple(src:PGdkPixbuf; dest_width:longint; dest_height:longint; interp_type:TGdkInterpType; overall_alpha:longint;
|
||||
check_size:longint; color1:guint32; color2:guint32):PGdkPixbuf; cdecl; external gdkpixbuflib;
|
||||
{$IFDEF HasGTK2_6}
|
||||
function gdk_pixbuf_rotate_simple(src: PGdkPixbuf; angle: TGdkPixbufRotation): PGdkPixbuf; cdecl; external gdkpixbuflib;
|
||||
function gdk_pixbuf_flip(src: PGdkPixbuf; horizontal: gboolean): PGdkPixbuf; cdecl; external gdkpixbuflib;
|
||||
{$ENDIF}
|
||||
|
||||
{ Animation support }
|
||||
function gdk_pixbuf_animation_get_type:GType; cdecl; external gdkpixbuflib;
|
||||
|
Loading…
Reference in New Issue
Block a user