Search in sources :

Example 6 with AffineTransformSpec

use of org.eclipse.scout.rt.shared.data.basic.AffineTransformSpec in project scout.rt by eclipse.

the class AbstractImageField method doRotate.

@Override
public void doRotate(double angle) {
    AffineTransformSpec t = getImageTransform();
    t.angle = angle;
    setImageTransform(t);
}
Also used : AffineTransformSpec(org.eclipse.scout.rt.shared.data.basic.AffineTransformSpec)

Example 7 with AffineTransformSpec

use of org.eclipse.scout.rt.shared.data.basic.AffineTransformSpec in project scout.rt by eclipse.

the class AbstractImageField method doZoom.

@Override
public void doZoom(double fx, double fy) {
    AffineTransformSpec t = getImageTransform();
    t.sx = fx;
    t.sy = fy;
    setImageTransform(t);
}
Also used : AffineTransformSpec(org.eclipse.scout.rt.shared.data.basic.AffineTransformSpec)

Aggregations

AffineTransformSpec (org.eclipse.scout.rt.shared.data.basic.AffineTransformSpec)7 IMenu (org.eclipse.scout.rt.client.ui.action.menu.IMenu)1 OrderedCollection (org.eclipse.scout.rt.platform.util.collection.OrderedCollection)1