You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -77,19 +84,27 @@ public virtual RBrush GetSolidBrush(RColor color)
77
84
/// Gets a Rectangle structure that bounds the clipping region of this Graphics.
78
85
/// </summary>
79
86
/// <returns>A rectangle structure that represents a bounding rectangle for the clipping region of this Graphics.</returns>
80
-
publicabstractRRectGetClip();
87
+
publicRRectGetClip()
88
+
{
89
+
return_clipStack.Peek();
90
+
}
91
+
92
+
/// <summary>
93
+
/// Pop the latest clip push.
94
+
/// </summary>
95
+
publicabstractvoidPopClip();
81
96
82
97
/// <summary>
83
-
/// Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a Rectangle structure.
98
+
/// Push the clipping region of this Graphics to interception of current clipping rectangle and the given rectangle.
84
99
/// </summary>
85
-
/// <param name="rect">Rectangle structure to combine.</param>
86
-
publicabstractvoidSetClipReplace(RRectrect);
100
+
/// <param name="rect">Rectangle to clip to.</param>
101
+
publicabstractvoidPushClip(RRectrect);
87
102
88
103
/// <summary>
89
-
/// Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a Rectangle structure.
104
+
/// Push the clipping region of this Graphics to exclude the given rectangle from the current clipping rectangle.
90
105
/// </summary>
91
-
/// <param name="rect">Rectangle structure to combine.</param>
92
-
publicabstractvoidSetClipExclude(RRectrect);
106
+
/// <param name="rect">Rectangle to exclude clipping in.</param>
107
+
publicabstractvoidPushClipExclude(RRectrect);
93
108
94
109
/// <summary>
95
110
/// Set the graphics smooth mode to use anti-alias.<br/>
0 commit comments