X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=sdlgit%2FSDL-Site.git;a=blobdiff_plain;f=pages%2Ftags-Surface.html-inc;h=f852f95762ed0ec1a6c5c93af36cc898acb64f1e;hp=5c2b84af863ee775f06c1698fd71dd795d7bb52a;hb=e785862422f3e827a242fc244bd57b23443887ce;hpb=879fff64432f43c80083c7b45da72611be9dca4b diff --git a/pages/tags-Surface.html-inc b/pages/tags-Surface.html-inc index 5c2b84a..f852f95 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