Hello.
I drew vector images with TBGRABitmap.Canvas2D.FillText
It works fine. but TBGRABitmap.Canvas2D.scale function makes position error.
I attached two images with different scale.
Here's code
1. image 1.bmp
with aBGRABitmap.Canvas2D do
begin
FontEmHeight := 30;
FontName := 'Arial';
FontStyle := [];
Antialiasing := True;
FillStyle(BGRABlack);
TextBaseline := 'top';
FillText('123456', 100 ,50);
end;
2. image 2.bmp
with aBGRABitmap.Canvas2D do
begin
Scale(1/5, 5);
FontEmHeight := 30;
FontName := 'Arial';
FontStyle := [];
Antialiasing := True;
FillStyle(BGRABlack);
TextBaseline := 'top';
FillText('123456', 100 ,50);
Scale(5, 1/5);
end;
Anyone knows why the text position different?