Ejemplo n.º 1
0
 public RenderInfo(String str, GraphicState state, Matrix tm)
 {
     _string          = str;
     _gs              = state;
     _textToUserSpace = tm.Multiply(state.CurrentTransform);
     _fontMatrix      = state.Font.GetFontMatrix();
 }
Ejemplo n.º 2
0
 public GraphicState(GraphicState state)
 {
     _font             = state._font;
     _fontSize         = state._fontSize;
     _charSpacing      = state._charSpacing;
     _lineWidth        = state._lineWidth;
     _horzScaling      = state._horzScaling;
     _wordSpacing      = state._wordSpacing;
     _currentTransform = state._currentTransform;
 }
Ejemplo n.º 3
0
        public void SaveState()
        {
            var newState = new GraphicState(GraphicState);

            _graphicStack.Push(newState);
        }