glBitmap+glDrawPixels

Hello!
Could somebody tell me about these two functions, glBitmap and glDrawPixels. How do they work? What’s that glRasterPos-thing? How is image data stored? Source code for drawing a single pixel would be helpful.

Thank you.