Re: [lazarus] rotated text

2007-05-14 Thread Fujimaki Haruyuki
Felipe Monteiro de Carvalho wrote: AFAIK, the correct way to draw rotated texts is to use the functions on LCLIntf. This is very similar as one would do with windows api, and works at least on win32 and qt interfaces. The other interfaces should also support this, but it wasn´t yet

Re: [lazarus] rotated text

2007-05-13 Thread Fujimaki Haruyuki
"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

[lazarus] rotated text

2007-05-12 Thread Fujimaki Haruyuki
Hello, I would like to draw rotated text on TImage.Canvas. In Delphi/Kylix, we have done it with TLogFont/QPainter_rotate. Is there equivalent class or procedure to implement it? I have found QPainter_rotate in qt4.pas. But adding qt4 to uses clause does not work (Fatal:can't find unit qt4) even

Re: [lazarus] rotated text

2007-05-12 Thread Fujimaki Haruyuki
ik wrote: Hi, On GTK2.6 you can try and use the gdk_pixbuf_rotate_simple () function Ido Thanks. It seems similar to QPainter_rotate. How can I call the function from FreePascal? I googled, but could not find even an example for C. Haruyuki

Re: [lazarus] rotated text

2007-05-12 Thread Fujimaki Haruyuki
ik wrote: Apparently you will have to import the function on your own at this time :( I believe (not sure though, maybe someone can answer that) pixbuf device, is the font handle (in this case). If so, then you can use it as follows: [...] Thank you for giving an example code. I have never

Re: [lazarus] Unable to print out nor create a postscript in 2-byte fonts

2007-03-03 Thread Fujimaki Haruyuki
Vincent, As far as I know, no concrete plans exist. But patches which add this are gladly accepted. Thank you for your reply. If I ever have time (maybe not this year), I will try to add it. Haruyuki Fujimaki _ To

[lazarus] cannot create a postcsript with 2-byte fonts

2007-02-28 Thread Fujimaki Haruyuki
Hello, I want to print out or create a postcsript of a document in Japanese. However, I found that according to PostscriptCanvas.pas, at present, only 5 Font.Name, 'times', 'monospaced', 'serif', 'sansserif', and 'symbol' are supported (this itself is a great work, thanks). Those 5 fonts would be

Re: [lazarus] Looking for experience using Lazarus in programming education

2007-01-26 Thread Fujimaki Haruyuki
Tom Verhoeff wrote: [...] I am interested in collecting experiences with using Lazarus in education, in particular as a tool of primary choice for programming. Let me hear those success stories, so I convince others ... Tom Last year, I have launched a 15-h course named Data Processing

Re: [lazarus] From commercial to open-source (Delphi to Lazarus)

2006-11-23 Thread Fujimaki Haruyuki
Graeme Geldenhuys wrote: On 11/22/06, Haruyuki FUJIMAKI [EMAIL PROTECTED] wrote: Of course, FreePascal/Lazarus is the most popular alternative. About 1/3 of Kylixers are coming here. See the result of Q.10 of the unofficial Kylix survey: http://hpcgi2.nifty.com/Fujimaki/Kylix/results.cgi