making a simple paint program
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..
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...
Newbie programmers think programming is hard.Amature programmers think programming is easy.Professional programmers know programming is hard.
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.
Keeping to shapes and lines should work fine, if that''s all you want.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement