![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
If I call GraphicsPath::GetBounds() with no transform matrix and a pen, as follows * * result = myPath.GetBounds(&myRect, NULL, &myPen); I get a rectangle that's much larger (generally several pixels on each side) than the path I defined. I've set the pen width to 0.5 and I have PenAlignmentCenter set. If I make the same call without the pen, i.e. * * result = myPath.GetBounds(&myRect); I get exactly what I expect, although the pen thickness is not taken into account. Is this a known problem, or am I missing something? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |