#1156 Flash Viewer - DefineScalingGrid (9 slice scaling)

This commit is contained in:
Jindra Petřík
2016-02-21 09:29:48 +01:00
parent 5b89b153f9
commit a9c2234bcf
15 changed files with 149 additions and 29 deletions

View File

@@ -364,7 +364,7 @@ public class FolderPreviewPanel extends JPanel {
image.fillTransparent();
if (imgSrc == null) {
DrawableTag drawable = (DrawableTag) treeItem;
drawable.toImage(0, 0, 0, new RenderContext(), image, false, m, m, null);
drawable.toImage(0, 0, 0, new RenderContext(), image, false, m, new Matrix(), m, null);
} else {
Graphics2D g = (Graphics2D) image.getGraphics();
g.setTransform(m.toTransform());