We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe this convenience procedure makes sense here
Image32/source/Img32.FMX.pas
Line 43 in a9af172
procedure AssignImage32ToFmxCanvas(Img32: TImage32; canvas: TCanvas); var bmp: TBitmap; rec: TRectF; begin bmp := TBitmap.Create; try AssignImage32ToFmxBitmap(Img32, bmp); rec := RectF(0, 0, bmp.Width, bmp.Height); canvas.BeginScene(); canvas.Lock; canvas.DrawBitmap(bmp, rec, rec, 1.0); canvas.Unlock; canvas.EndScene(); finally bmp.Free; end; end;
Usages example:
Img32 := TImage32.Create; Img32.LoadFromStream(ms); AssignImage32ToFmxCanvas(Img32, Image1.Canvas);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Maybe this convenience procedure makes sense here
Image32/source/Img32.FMX.pas
Line 43 in a9af172
Usages example:
The text was updated successfully, but these errors were encountered: