Archived

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

making a simple paint program

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

Can anyone tell me where to find code for a simple paint program. I want to make one that will do a line, pencil, rectangle ... just easy stuff. But I am starting to learn Opengl and need some tips. Like, I want to have a panel for controls and a drawing window, etc..

Share this post


Link to post
Share on other sites
Are you sure you want to use OpenGL for that? The windows GUI will do fine in most cases, and is probably easier to use for that. And if you don''t mind programming in another language than C++, I''d strongly recommend Borland Delphi, which even has components that you can use as a paint-field with just one click and a few lines of code. The Personal Edition, which is still quite complete, is free for download...

Share this post


Link to post
Share on other sites
As long as you don''t intend to use "pixel" operations, openGL should work for you. By "pixel" I mean flood fills, paint brushes, pixel filters, etc. Reading/writing individual pixels is not openGL''s forte as I understand it.

Keeping to shapes and lines should work fine, if that''s all you want.

Share this post


Link to post
Share on other sites