Results 1 to 4 of 4

Thread: Quick question about SetPixel

  1. #1

    Thread Starter
    PowerPoster Arbiter's Avatar
    Join Date
    Sep 2000
    Location
    Manchester
    Posts
    2,276
    Could someone please confirm the difference between SetPixel and SetPixelV.

    I'm led to believe that SetPixelV is faster but the big question is - why?
    Gentile or Jew,
    O you who turn the wheel and look to windward,
    Consider Phlebas, who was once handsome and tall as you...

  2. #2
    Fanatic Member Mad Compie's Avatar
    Join Date
    Aug 2000
    Location
    Kuurne (Belgium)
    Posts
    553
    The SetPixel function sets the pixel at the specified coordinates to the specified color.

    The SetPixelV function sets the pixel at the specified coordinates to the closest approximation of the specified color. The point must be in the clipping region and the visible part of the device surface.

  3. #3
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Setpixels also returns the value of the pixel before it was set.

  4. #4
    Guest
    It returns the colour of the pixel being set (the 3rd argument)

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