@Test public void testScaleUnits() { tested.scale(0.22d, 0.33d); assertEquals(0.22d, transform.getScaleX(), 0d); assertEquals(0.33d, transform.getScaleY(), 0d); }
public void scale(final double sx, final double sy) { setTransform(t -> scale(t, sx, sy)); }
LienzoLayer { public void scale(final double sx, final double sy) { setTransform(t -> scale(t, sx, sy)); } }
LienzoLayer { public void scale(final double sx, final double sy) { setTransform(t -> scale(t, sx, sy)); } LienzoLayer();   LienzoLayer(final LienzoCustomLayer layer); }
LienzoLayer { public void scale(final double sx, final double sy) { setTransform(t -> scale(t, sx, sy)); } LienzoLayer();   LienzoLayer(final LienzoCustomLayer layer); void setSkipDraw(final boolean skipDraw); LienzoLayer add(final IPrimitive<?> shape); LienzoLayer delete(final IPrimitive<?> shape); void clear(); void onAfterDraw(final Command callback); Layer getTopLayer(); void add(final Layer layer); boolean isReady(); void remove(final Layer layer); void destroy(); Layer getLienzoLayer(); org.kie.workbench.common.stunner.core.client.canvas.Transform getTransform(); void translate(final double tx,
                          final double ty); void scale(final double sx,
                      final double sy); void scale(final double delta); }
LienzoLayer { public void scale(final double sx, final double sy) { setTransform(t -> scale(t, sx, sy)); } LienzoLayer();   LienzoLayer(final LienzoCustomLayer layer); void setSkipDraw(final boolean skipDraw); LienzoLayer add(final IPrimitive<?> shape); LienzoLayer delete(final IPrimitive<?> shape); void clear(); void onAfterDraw(final Command callback); Layer getTopLayer(); void add(final Layer layer); boolean isReady(); void remove(final Layer layer); void destroy(); Layer getLienzoLayer(); org.kie.workbench.common.stunner.core.client.canvas.Transform getTransform(); void translate(final double tx,
                          final double ty); void scale(final double sx,
                      final double sy); void scale(final double delta);  }