gflAddText hast strange behavior
Posted: Tue Jun 21, 2005 7:31 am
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
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