Results 1 to 2 of 2

Thread: little pixel-sized question

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Posts
    13

    Question

    what is the difference between the API functions "SetPixel" and "SetPixelV"?

  2. #2
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987
    Both SetPixel and SetPixelV perform the same the action but SetPixel is a little bit more accurate and returns the color that the pixel was changed to (neither function is 100% accurate when setting colors) . SetPixelV sets a pixel to close approximation of the value you specify (again not 100% accurate) but it is a little faster than SetPixel because it does not return a color, it returns 0 if it failed and 1 if it was succesful in changing the pixel.
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width