drawing with GDI inside a region

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
How would I draw inside a region?<br/>
I know how to create the region defined by a path.
I want to draw inside the region only.
Here is what Im getting currently with drawing my custom control.<br/>
<img alt="" src="http://social.msdn.microsoft.com/Forums/getfile/215437
It looks fine if above a certain amount of percentage... But the graphics path ends up being overlapped and draws extra path area... which is filled with a gradient.
My goal is to make a region which is defined by the full progress space and drawing the path inside the region thus eliminating the overflow.
How would I draw inside a region? <hr class="sig <img src="http://mystatus.skype.com/balloon/blondedude092" width="100" height="40" alt="My status" style="border:none Dim Blondedude092 as SkypeUser

View the full article
 
Back
Top