Examples of LMagneticGrid


Examples of net.sf.latexdraw.glib.ui.LMagneticGrid

  public void setUp() {
    View2DTK.setFactory(new LViewsFactory());
    IDrawing drawing = ShapeFactory.createDrawing();
    MLayeredPane layers = new MLayeredPane(false, false);
    canvas     = new LCanvas(drawing);
    LMagneticGrid grid = new LMagneticGrid(canvas);
    WidgetZoomer zoomer = new WidgetZoomer(canvas, true, true, null, "", null, "", true); //$NON-NLS-1$ //$NON-NLS-2$
    instrument   = new Pencil(canvas, new TextSetter(layers), layers);
    instrument.addEventable(canvas);
  }
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.