I want to know if it possible for me to create a line or a triangle or any shape with only c++ code.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Based on the OP comments elsewhere in this thread, it sounds like he wants to do this by direct manipulation of the low-level instructions on the various pieces of hardware used for rendering images. To do this:
Once that’s done, you can use your API to draw a triangle or any other polygon you like. Personally, this seems a bit too much for me, and so I’ll use an existing API. But this might be a worthwhile learning experience for somebody without a spouse and children.