Esempio n. 1
0
        private void PerformSymbolTransformation(float rotation)
        {
            var offset = new CanvasPointF(_hOffset, _vOffset);

            //Current.Engine.DrawTextOffestPointsToFontUnit(ref offset);

            SymbolTransformation.Transform(_angle + rotation, offset.X, offset.Y, out _xOffset, out _yOffset);
        }
Esempio n. 2
0
 public void VertiacalMove(float y)
 {
     float[] c = SymbolTransformation.Rotate(-this.Angle, HorizontalOffset, VerticalOffset);
     c[1] += y;
     c     = SymbolTransformation.Rotate(this.Angle, c[0], c[1]);
     this.HorizontalOffset = c[0];
     this.VerticalOffset   = c[1];
 }