From 7f03514c3e2e20eb7c376f68d21540568ea5465d Mon Sep 17 00:00:00 2001 From: shmyga Date: Wed, 15 Jan 2020 17:14:19 +0300 Subject: [PATCH] [improve] add smoothing to image part --- src/haxe/ru/m/puzzlez/render/RenderUtil.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haxe/ru/m/puzzlez/render/RenderUtil.hx b/src/haxe/ru/m/puzzlez/render/RenderUtil.hx index 95a52d3..0d8cc01 100644 --- a/src/haxe/ru/m/puzzlez/render/RenderUtil.hx +++ b/src/haxe/ru/m/puzzlez/render/RenderUtil.hx @@ -46,7 +46,7 @@ class RenderUtil { var image = new BitmapData(Std.int(mask.rect.width), Std.int(mask.rect.height), true, 0x00000000); var matrix = new Matrix(); matrix.translate(-mask.rect.x, -mask.rect.y); - image.draw(canvas, matrix); + image.draw(canvas, matrix, null, null, null, true); var borderWidth = image.width * 0.02; var borderAlpha = 1.0; #if flash