Ejemplo n.º 1
0
 public XLine(IAPoint a, IAPoint b)
    : this()
 {
     A = a.Clone();
     B = b.Clone();
     Len = B.IVal - A.IVal;
 }
Ejemplo n.º 2
0
            public GlyphSlot( char c,  IList<PointF> data, int[] contours,  float xHeight) : this()
            {
                Area = Factory.RectFEmpty;

                if (data == null)
                {
                    Points = new PointF[4];
                    Data = new IAPoint[0];
                }
                else
                {
                    Data = new List<IAPoint>();
                    Points = data.ToArray();
                }

                XHeight = xHeight.Ceiling();
                Character = c;
                Contours = contours;
                initialize();
            }