Differences between version 2 and previous revision of SDL_Surface(3).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, June 3, 2002 6:53:49 pm | by perry | Revert |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:53:49 pm | by perry | Revert |
@@ -14,9 +14,9 @@
typedef struct SDL_Surface {
Uint32 flags; /* Read-only */
-SDL_PixelFormat *format; /* Read-only */
+SDL_!
PixelFormat *format; /* Read-only */
int w, h; /* Read-only */
Uint16 pitch; /* Read-only */
void *pixels; /* Read-write */
int offset; /* Private */
@@ -26,9 +26,9 @@
SDL_Rect clip_rect; /* Read-only */
Uint32 unused1; /* for binary compatibility */
Uint32 unused2; /* for binary compatibility */
/* info for fast blit mapping to other surfaces */
-struct SDL_BlitMap *map; /* Private */
+struct SDL_!
BlitMap *map; /* Private */
/* format version, bumped at every change to invalidate blit maps */
unsigned int format_version; /* Private */
/* Reference count -- used when freeing surface */
int refcount; /* Read-mostly */
@@ -63,15 +63,15 @@
__SDL_Surface__'s represent areas of
__SDL_Surface__ by
-__SDL_SetVideoMode__ and __SDL_GetVideoSurface__. Most
+__SDL_!
SetVideoMode__ and __SDL_!
GetVideoSurface__. Most
of the fields should be pretty obvious. __w__ and
__h__ are the width and height of the surface in pixels.
__pixels__ is a pointer to the actual pixel data, the
surface should be ''locked'' before accessing this field.
The __clip_rect__ field is the clipping rectangle as set
-by __SDL_SetClipRect__.
+by __SDL_!
SetClipRect__.
The following are supported in the __flags__
field.
@@ -158,6 +158,6 @@
memory
!!SEE ALSO
-__SDL_PixelFormat__
+__SDL_!
PixelFormat__
----