DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Terminology for graphics driver writers

stride

stride represents the memory offset, in bytes, between two rows of image memory. A stride variable is used in all graphics driver routines that deal with image data. For example, if image points to pixel (0, 0) of the image, image + stride points to pixel (0,1) of the image.

Examine the sample code for the uses of stride to get a better understanding of what it represents. See, for example, ../X11/server/ddx/ports/nte/nteImage1.c> for more information.


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005