bom tweak

anti-aliasing made as configurable item
This commit is contained in:
bancika
2011-01-17 22:28:43 +00:00
parent e866762b05
commit b9aeaff6da
7 changed files with 15 additions and 14 deletions
@@ -8,17 +8,13 @@ import java.awt.Stroke;
public class Constants {
public static final int PIXELS_PER_INCH = 150;//Toolkit.getDefaultToolkit().getScreenResolution();
public static int GRIDS_PER_INCH = 8;
// public static Size GRID_SIZE = new Size(1d / GRIDS_PER_INCH, SizeUnit.in);
// public static final int GRID = 20;
public static Color CANVAS_COLOR = Color.white;
public static Color GRID_COLOR = new Color(240, 240, 240);
public static Color CONTROL_POINT_COLOR = Color.black;
public static Color SELECTED_CONTROL_POINT_COLOR = Color.blue;
public static Color CREATION_POINT_COLOR = Color.decode("#32CD32");
public static Font LABEL_FONT = new Font("Tahoma", Font.PLAIN, 11);
public static Font LABEL_FONT = new Font("Tahoma", Font.PLAIN, 12);
public static final Stroke BASIC_STROKE = new BasicStroke();
public static final Stroke DASHED_STROKE = new BasicStroke(1.0f, BasicStroke.CAP_BUTT,