Page 1 of 1

gflAddText hast strange behavior

Posted: Tue Jun 21, 2005 7:31 am
by Gert
Hello,

I've got this code in Delphi (just using the sample code):

...
e := gflLoadBitmap(PChar(filename), gfl_bmp, lp, finfo);

New(gfl_color);
gfl_color.Red:=1;
gfl_color.Green:=255;
gfl_color.Blue:=255;
gflAddText(gfl_bmp, PChar('Test'), PChar('Arial'), 100, 100, 14, 1, 0, 0, 0, 0, 0, gfl_color);
...

After that the image is mirrored an upside down. Using gflAddText a second time will not mirror the image again.

It's the first time for me using gfl, so maybe I did something terrible stupid or so...

Thanks, Gert

Re: gflAddText hast strange behavior

Posted: Tue Jun 21, 2005 3:07 pm
by xnview
Gert wrote:Hello,

I've got this code in Delphi (just using the sample code):

...
e := gflLoadBitmap(PChar(filename), gfl_bmp, lp, finfo);

New(gfl_color);
gfl_color.Red:=1;
gfl_color.Green:=255;
gfl_color.Blue:=255;
gflAddText(gfl_bmp, PChar('Test'), PChar('Arial'), 100, 100, 14, 1, 0, 0, 0, 0, 0, gfl_color);
...

After that the image is mirrored an upside down. Using gflAddText a second time will not mirror the image again.

It's the first time for me using gfl, so maybe I did something terrible stupid or so...

Thanks, Gert
Could you send me a Private mail with your email to send you the current beta?