Examples of applyScale()


Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.applyScale()

      }
      else
      {
        r = new Rectangle();
      }
      r = view.applyScale(r, false);

      ViewDropRegion region = new ViewDropRegion("global", this, r, view);
      region.setPaint(ModelerColors.DROP_REGION);
      return Collections.singletonList(region);
    }
View Full Code Here

Examples of org.openbp.cockpit.modeler.drawing.WorkspaceDrawingView.applyScale()

  {
    if (flavors.contains(ModelerFlavors.COLOR))
    {
      // Use the whole figure as target
      WorkspaceDrawingView view = getDrawing().getView();
      Rectangle r = view.applyScale(displayBox(), false);
      return Collections.singletonList(new ViewDropRegion(REGION_COLOR, this, r, view));
    }

    return null;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.