Example #1
0
 public Map(GLib lib, Size size) : base(lib.Bounds, new Rect(size), lib.Mirror)
 {
     this.lib = lib;
     Resize(size);
     UpdateScale();
     ScaleDown();
 }
Example #2
0
//		public float ScaleX { get { return scaleX; } set { scaleX = value; } }
//		public float ScaleY { get { return scaleY; } set { scaleY = value; } }
//		public float Angle { get { return angle; } set { angle = value; } }

        #region Construction

/*		public BgImage(Map map)
 *              {
 *                      this.lib = map.Lib;
 *                      X = map.Pos.X;
 *                      Y = map.Pos.Y;
 *                      Scale = (float)map.PixelScale;
 *              }*/

        internal BgImage(GLib lib)
        {
            this.lib = lib;
        }
Example #3
0
        public GGap(GLib lib)
        {
            this.lib  = lib;
            style.pen = new Pen(color);
//			style.brush = new SolidBrush(color);
        }
Example #4
0
 public GGrid(GLib lib)
 {
     this.lib  = lib;
     style.pen = new Pen(color);
 }
Example #5
0
 public Scales(GLib lib)
 {
     this.lib = lib;
 }
Example #6
0
 public void Init(GLib lib)
 {
     this.lib = lib;
 }