Thread: SDL getPixel

  1. #1
    Registered User Nova_Collision's Avatar
    Join Date
    Feb 2003

    SDL getPixel

    For anyone who knows SDL, is there a getPixel routine, or something like it, that will return the 24bit color information of a specified pixel on an SDL_Surface?
    When in doubt, empty your magazine - Murphy's Laws Of Combat #7

  2. #2
    Registered User
    Join Date
    Aug 2001
    There is code for a getpixel at
    there is also a putpixel which may be handy.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SDL and stdio.h
    By a.mlw.walker in forum C Programming
    Replies: 1
    Last Post: 02-06-2009, 07:45 AM
  2. Problems compiling this SDL app
    By Rider in forum C++ Programming
    Replies: 3
    Last Post: 03-27-2007, 12:22 PM
  3. SDL and MinGW Studio
    By Vicious in forum Tech Board
    Replies: 0
    Last Post: 07-30-2004, 09:59 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. sdl in c++
    By Klinerr1 in forum C++ Programming
    Replies: 8
    Last Post: 07-07-2002, 07:46 AM