Jump to content

  • Log In with Google      Sign In   
  • Create Account

Drawing a pixel


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 DoubleDose   Members   -  Reputation: 122

Like
Likes
Like

Posted 05 September 1999 - 10:28 AM

I know very little about object programming and such, so please forgive my knowing very little. Anyways, i have Borland's Turbo C++ and i was just wondering what is the source code for drawing a pixel. If you can tell me that, i can figure out the rest.

Sponsor:

#2 bosjoh   Members   -  Reputation: 122

Like
Likes
Like

Posted 04 September 1999 - 08:41 PM

First you will need to know how to set videomodes (don't start with BGI, it's really not worth it.). To do this you must learn a little asm.

And it is really useful if you know how to access memory data (using pointers).

Hope that gave you the courage to learn more about graphics programming.


#3 CJ   Members   -  Reputation: 122

Like
Likes
Like

Posted 05 September 1999 - 10:28 AM

Hmmmm.....I don't think it will get you far to know how to write a pixel on a screen. It surely depends what you are using. Like a DIB-section, or DirectX or OpenGL. Each handles their pixel-writing different.

------------------
Dance with me......





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS