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
gflAddText hast strange behavior
Moderators: helmut, XnTriq, xnview
-
- Author of XnView
- Posts: 45870
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: gflAddText hast strange behavior
Could you send me a Private mail with your email to send you the current beta?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
Pierre.