Exemplo n.º 1
0
 /// <summary>Restores the draw state to the previously pushed state from the stack</summary>
 [MethodImpl(INLINE)] public static void Pop() => StateStack.Pop();
Exemplo n.º 2
0
 /// <summary>Pushes the current draw state onto the stack. Calling <see cref="Draw.Pop()"/> will restore the saved state state</summary>
 [MethodImpl(INLINE)] public static void Push() => StateStack.Push(Draw.style, Draw.matrix);