[improve] add smoothing to image part
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user