Jump to content
  • Advertisement
Sign in to follow this  
iliak

Complex path drawing

This topic is 3125 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The goal is to add Complex shapes (paths) drawing methods to my 2d framework. My question is how keep in memory all paths and the drawing them only when calling a certain method (ake : Fill() or Stroke()) is called. I know how to draw the path as it's called, but not at the end.

Share this post


Link to post
Share on other sites
Advertisement
Can't work out what your asking (link didn't seem to help). Could you provide more details? Are these paths just paths (as in lines) or do you draw the out like of shapes and then fill them to create a solid shape? The latter I'd imagine would be quite difficult when drawing concave shapes.

If your drawing concave shapes your going to have to break it down into a number of triangles first and then draw them all as solid.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!