|
|
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.