Welcome, Guest
Username: Password: Remember me
Components and Libraries for Graphics Development, discussions, problems and suggestions.
  • Page:
  • 1

TOPIC:

GR32 Bitmap Linux Errors 7 years 3 weeks ago #10588

  • Denis Ducreux
  • Denis Ducreux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Hello,
I'am trying to code using CT my Image Processing software which uses GR32, but I encountered some bugs:
1- bitmap.textout doesn't work
var
bmp32:tbitmap32;
begin
bmp32:=tbitmap32.create;
bmp32.setsize(128,128);
bmp32.Canvas.brush.Style:=bsclear;
bmp32.Canvas.font.size:=9;
bmp32.Canvas.Font.Color:=clred;
bmp32.canvas.font.Style:=[]
bmp32.canvas.Font.Name:='FreeSans';
bmp32.canvas.Font.PixelsPerInch:=96;

bmp32.Canvas.TextOut(1,1,'Test');
bmp32.SaveToFile('test.bmp');
bmp32.Free;

2- bitmap.ellipse does'nt draw anything
var
abmp32:tbitmap32;
begin
abmp32:=tbitmap32.create;
abmp32.setsize(128,128);
abmp32.Canvas.Brush.Color := clwhite;
abmp32.Canvas.Brush.Style:= bsSolid;
abmp32.Canvas.Pen.Color := clBlack;
abmp32.Canvas.Pen.Width := 2;
abmp32.Canvas.Ellipse(Rect(54,54,74,74));
abmp32.savetofile('test.bmp');
abmp32.free;
end;



I'm under Linux Fedora 25 with KDE Plasma, and CT 6.00 fresh new installed.
Any idea ?
Thank you in advance.

Please Log in or Create an account to join the conversation.

GR32 Bitmap Linux Errors 7 years 3 weeks ago #10589

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1047
  • Thank you received: 145
Yes, we try to fix these problems
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1