Forum

× Components and Libraries for Graphics Development, discussions, problems and suggestions.

file Question GR32 Bitmap Linux Errors

  • Denis Ducreux
  • Denis Ducreux's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 7 months ago #10588 by Denis Ducreux
GR32 Bitmap Linux Errors was created by Denis Ducreux
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.

More
1 year 7 months ago #10589 by Matis A.
Replied by Matis A. on topic GR32 Bitmap Linux Errors
Yes, we try to fix these problems

CodeTyphon Core Programmer

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