t0mek <t0mek@com.com.com.com.com> schrieb im Beitrag
<gaqsf7$1jb$1@atlantis.news.neostrada.pl>...
> I have a code, which draws a figure (in fact a few figures) with PolyDraw.
> How can I fill the figure with black color? It is a closed figure.
Try:
- BeginPath
- PolyDraw
- EndPath
- FillPath

Signature
----------------------------------------------------------------------
Thorsten Albers albers(a)uni-freiburg.de
----------------------------------------------------------------------
t0mek - 17 Sep 2008 18:28 GMT
> Try:
> - BeginPath
> - PolyDraw
> - EndPath
> - FillPath
Wow, it works! Thank you! I was trying something like this:
BeginPath
FillPath
EndPath
PolyDraw
and it didn't work ;/
Regards,
t0mek
MikeD - 17 Sep 2008 19:03 GMT
>> Try:
>> - BeginPath
[quoted text clipped - 10 lines]
>
> and it didn't work ;/
Not surprised. How can you fill something that hasn't been drawn yet? <g>

Signature
Mike
Microsoft MVP Visual Basic