RE: [gtk-list] Drawing scaled GdkPixmap objects
- From: "Arjan J. Molenaar" <arjan xirion nl>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: RE: [gtk-list] Drawing scaled GdkPixmap objects
- Date: Thu, 19 Aug 1999 10:10:08 +0200
Hi,
Using Imlib is the most easiest way to scale pixmaps... It is common in new Linux distributions.
regards,
Arjan
> -----Original Message-----
> From: briareos@lokigames.com [mailto:briareos@lokigames.com]
> Sent: Wednesday, August 18, 1999 9:03 PM
> To: gtk-list@redhat.com
> Subject: [gtk-list] Drawing scaled GdkPixmap objects
>
>
> I have a GdkPixmap (several, actually), that needs to be displayed at
> multiple widths and heights. Is there a way to do this painlessly? I
> basically want:
>
> void gdk_draw_pixmap_scaled( GdkDrawable* drawable,
> GdkGC* gc,
> GdkDrawable* src,
> gint xsrc,
> gint ysrc,
> gint xdest,
> gint ydest,
> gint wsrc,
> gint hsrc,
> gint wdest,
> gint hdest );
>
> My gut feeling is that this doesn't exist because there's no
> XStretchCopyArea, but that's why we have gdk, right ;)?
>
> m.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]