Ejemplo n.º 1
0
 /// <summary>Restores the draw style state to the previously pushed state from the stack</summary>
 [MethodImpl(INLINE)] public static void PopStyle() => StyleStack.Pop();
Ejemplo n.º 2
0
 /// <summary>Pushes the current draw style state onto the style stack. Calling <see cref="Draw.PopStyle()"/> will restore this state</summary>
 [MethodImpl(INLINE)] public static void PushStyle() => StyleStack.Push(Draw.style);
Ejemplo n.º 3
0
 internal static void Push(DrawStyle style, Matrix4x4 mtx)
 {
     StyleStack.Push(style);
     MatrixStack.Push(mtx);
 }
Ejemplo n.º 4
0
 internal static void Pop()
 {
     MatrixStack.Pop();
     StyleStack.Pop();
 }
Ejemplo n.º 5
0
 /// <summary>Restores the draw style state to the previously pushed state from the stack</summary>
 public static void PopStyle() => StyleStack.Pop();
Ejemplo n.º 6
0
 /// <summary>Pushes the current draw style state onto the style stack. Calling <see cref="Draw.PopStyle()"/> will restore this state</summary>
 public static void PushStyle() => StyleStack.Push(Draw.style);