In my code I'm trying to draw a generic button with an arbitrary clipping
region. Is there any way I can get the outline of the region to draw its
border?
Basically what I'm trying to do is take the region of a control and first
draw the border using one color then shrink it down a pixel or two and draw
it again using another color and shrink it down again and fill the interior.
It seems that if I can't get the outline of the region then its a lot more
work to do. I was thinking of simplying intersecting the region with a
shrunk version of itself to remove the interior but this seems a little
backwards. I suppose I could create a custom pen too somehow but not sure
if I can do that or not.
Thanks,
Jon