hey
how could i draw a circle and paint it red or green? i cant figure it out from any tutorials
thanx
how could i draw a circle and paint it red or green? i cant figure it out from any tutorials
thanx
you need to create a brush:
CreateSolidBrush
select it in your output device:
SelectObject
and then fill the circle:
Ellipse
optionally you can apply an outline to the circle by using a pen (CreatePen).
CreateSolidBrush
select it in your output device:
SelectObject
and then fill the circle:
Ellipse
optionally you can apply an outline to the circle by using a pen (CreatePen).
thanx beaster
could u plz show me some code for it tho?
could u plz show me some code for it tho?
Look into:
FillRgn
FrameRgn
CreateRegion
CreateEllipticalRegion
SelectObject
F**k it,
Look at this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/regions_6o6r.asp
FillRgn
FrameRgn
CreateRegion
CreateEllipticalRegion
SelectObject
F**k it,
Look at this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/regions_6o6r.asp