Exemplo n.º 1
0
 public PushedState(DrawingContext context, PushedStateType type, Matrix matrix = default(Matrix))
 {
     _level   = context._currentLevel += 1;
     _context = context;
     _type    = type;
     _matrix  = matrix;
 }
Exemplo n.º 2
0
            public PushedState(DrawingContext context, PushedStateType type, Matrix matrix = default(Matrix))
            {
                if (context._states is null)
                {
                    throw new ObjectDisposedException(nameof(DrawingContext));
                }

                _context = context;
                _type    = type;
                _matrix  = matrix;
                _level   = context._currentLevel += 1;
                context._states.Push(this);
            }
Exemplo n.º 3
0
 public PushedState(DrawingContext context, PushedStateType type, Matrix matrix = default(Matrix))
 {
     _context = context;
     _type = type;
     _matrix = matrix;
     _level = context._currentLevel += 1;
     context._states.Push(this);
 }