"ik wrote:
Hi,

Try the following code :

...
uses ... GTK, gdkpixbuf ...
....

function gdk_pixbuf_rotate_simple(pixbuf : PGdkPixbuf; angle :
longint) : PGdkPixbuf; external 'libgdk-x11-2.0.so' name
'gdk_pixbuf_rotate_simple';
Thank you.
I have followed your suggestion, but received error as
'Fatal: Syntax error, ":" expected but "const string" found'.

Also, I still do not understand relationship between TCanvas and GdkPixbuf.
I could not find (in google code search) an example of FreePascal code that draws something on TCanvas using GdkPixbuf.
If you have succeeded in drawing rotated text (or rectangle, ellipse etc), I would appreciate it if you could give me an example of the code.

Haruyuki
_________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to