Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

monster

OpenGL opengl

This topic is 6690 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

I have some OpenGl question(I use VC6.0 to develop MFC program): I want my program to display a Bezier curve, then use mouse to locate control-point. So control-point would be display at the position that mouse point to. In the mouse-message, "CPoint point" regard left-top angle of the window clientarea as coordinate origin (0.0), use pixel as unit. But in some sample Bezier program, control-point use the center of the clientarea as coordinate origin (0.0), and I don''t know what is its coordinate unit. What is the proportion relation between this coordinate unit and pixel? Which variable is clientarea''s length and width stored in? How to get the variable in mouse message process function? please help me, thanks.

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!