File: pixel.h

package info (click to toggle)
wizznic 0.9.2-preview2%2Bdfsg-1.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 49,456 kB
  • ctags: 808
  • sloc: ansic: 6,842; sh: 139; makefile: 65; xml: 7
file content (11 lines) | stat: -rw-r--r-- 383 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#ifndef PIXEL_H_INCLUDED
#define PIXEL_H_INCLUDED

#include <SDL/SDL.h>

inline void plotPixel(SDL_Surface* img, int x, int y, uint16_t col);
inline void plotPixelu(SDL_Surface* img, int x, int y, uint16_t col);
inline uint16_t freadPixel(SDL_Surface* img, int x, int y);
inline void readPixel(SDL_Surface* img, int x, int y, int* r, int* g, int* b);

#endif // PIXEL_H_INCLUDED