- Uint32 MapRGB(SDL_Surface *s) const
- { return MapRGB(s->format); }
- Uint32 MapRGB(SDL_PixelFormat *f) const
- { return SDL_MapRGB(f, r, g, b); }
-
- Uint32 MapRGBA(SDL_Surface *s) const
- { return MapRGBA(s->format); }
- Uint32 MapRGBA(SDL_PixelFormat *f) const
- { return SDL_MapRGBA(f, r, g, b, a); }
-