D
Don
When creating a new region for a control via a GraphicsPath object, it
appears the entire rightmost column of pixels and bottom most row of pixels
are not included in the region.
I will try to clarify with some ASCII art. Imagine a GraphicsPath
describing a 4x4 pixel square with rounded corners (X = pixel, _ = blank)
_ X X _
X X X X
X X X X
_ X X _
Creating a region from this GraphicsPath object will yield a region shaped
like this:
_ X X
X X X
X X X
Can anyone tell me what's going on with this? How can this be fixed?
- Don
appears the entire rightmost column of pixels and bottom most row of pixels
are not included in the region.
I will try to clarify with some ASCII art. Imagine a GraphicsPath
describing a 4x4 pixel square with rounded corners (X = pixel, _ = blank)
_ X X _
X X X X
X X X X
_ X X _
Creating a region from this GraphicsPath object will yield a region shaped
like this:
_ X X
X X X
X X X
Can anyone tell me what's going on with this? How can this be fixed?
- Don