[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] GTK graphics status
|
I tried that but I did not get good results. I was not sure that
was the way to do it, so I did not spend much time. I will try
again.
On Motif, we used XImage to get data from a Pixmap, scale the
data using our own algorithm and then put the data in a new
Pixmap.
Silenio
Havoc Pennington <hp@xxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
03/18/02 03:33 PM
Please respond to platform-swt-dev
To: platform-swt-dev@xxxxxxxxxxx
cc:
Subject: Re: [platform-swt-dev] GTK graphics status
Silenio_Quarti@xxxxxxx writes:
> There is only one out standing problem. I cannot figure out how to scale
> a GdkBitmap. Can I use the GdkPixBuf scaling API to do this?
Maybe. You would need to convert the bitmap to a pixbuf, scale that,
then draw the result back to a bitmap. I'm not sure bitmap<->pixbuf
conversion does anything quite sane but it may just work the same as
for regular pixmaps... worth a try.
What did you do on Motif?
> Now, I will start working in the Font support and GC related APIs.
I'm curious to know how you guys solve the font issue.
Havoc
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev