Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / September 2008



Tip: Looking for answers? Try searching our database.

How to fill with black color a figure drawn using PolyDraw?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
t0mek - 17 Sep 2008 13:14 GMT
Hello,
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.

Regards,
t0mek
Thorsten Albers - 17 Sep 2008 16:42 GMT
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.