Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if Scene <> nil then
- lScale := Scene.GetSceneScale
- else
- lScale := 1;
- fBitmap.BitmapScale := lScale;
- // scale it with current scale, so it will be larger than PaintBox, - in this case it draws bitmap with antialiasing
- fBitmap.SetSize(Ceil(Width * lScale), Ceil(Height * lScale) );
Add Comment
Please, Sign In to add comment