C
Carlo, MCP
Hello
I'm having lot of problems in writing a method that returns a Path for a
rounded corners rectangle for drawing a non-rectangular border.
The resulting path is ok for using with FillPath method, but applied to a
DrawPath method the resulting non-rectangular rectangle is wrong.
Applying a Pen to my path, the resulting non-rectangluar rectangle results
cut by 1 pixel in width and 1 pixel in height. Currently, I'm using a
Pen.Alignment=Inset. I observed errors with an even value in the width of
the pen (1, 3, 5, ...).
Does someone has some lines of code that may help me to draw a
non-rectangular border?
TIA
Carlo
I'm having lot of problems in writing a method that returns a Path for a
rounded corners rectangle for drawing a non-rectangular border.
The resulting path is ok for using with FillPath method, but applied to a
DrawPath method the resulting non-rectangular rectangle is wrong.
Applying a Pen to my path, the resulting non-rectangluar rectangle results
cut by 1 pixel in width and 1 pixel in height. Currently, I'm using a
Pen.Alignment=Inset. I observed errors with an even value in the width of
the pen (1, 3, 5, ...).
Does someone has some lines of code that may help me to draw a
non-rectangular border?
TIA
Carlo