X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2Ftags-Surface.html-inc;h=00ebaaa2dcfa7d8b73d462bbdbeebec6303a700f;hb=1d5d4d44a3acf89f7820195b5016f4ebc4489250;hp=a11190b93ecd98224f8ca593393028e2a11cad27;hpb=65a973147068b3edbbb232aa50fd53a79d7daaef;p=sdlgit%2FSDL-Site.git diff --git a/pages/tags-Surface.html-inc b/pages/tags-Surface.html-inc index a11190b..00ebaaa 100644 --- a/pages/tags-Surface.html-inc +++ b/pages/tags-Surface.html-inc @@ -1 +1 @@ -

Results for tag: Surface

Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on SDLx::Surface . So far I have only start on the 32 bpp surfaces.
The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]

\ No newline at end of file +

Results for tag: Surface

Providing direct memory access to SDL_Surface's pixels
Wednesday, 23 June 2010
Tags: [Pack] [Perl] [SDL] [Surface] [XS]
In an attempt to make pixel access easier on SDL_Surface pixels. I have started work on SDLx::Surface . So far I have only start on the 32 bpp surfaces.
The general idea is to make Pointer Values (PV) of each pixel in the surface and place them into a 2D matrix. First I make pointer values like this:
SV * get_pixel32 ( SDL_Surface * surface , int x , int y )
[more]

\ No newline at end of file