ddddmmmmFFFFXXXXGGGGeeeettttDDDDaaaattttaaaaPPPPttttrrrr, ddddmmmmFFFFXXXXGGGGeeeettttRRRRoooowwwwLLLLeeeennnnggggtttthhhh - return a pointer to the pixels stored
_f_x_b_u_f_f_e_r A buffer that was created with ddddmmmmFFFFXXXXAAAAllllllllooooccccaaaatttteeeeIIIImmmmaaaaggggeeeeBBBBuuuuffffffffeeeerrrrssss.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
These functions are used to access the pixels stored in a _D_M_f_x_b_u_f_f_e_r.
Before calling them, you must first set up the buffer. To read pixels
from the buffer, call ddddmmmmFFFFXXXXSSSSeeeettttuuuuppppIIIInnnnppppuuuuttttIIIImmmmaaaaggggeeeeBBBBuuuuffffffffeeeerrrrWWWWiiiitttthhhhUUUUssssaaaaggggeeee, and specify
bbbbuuuuffffIIIInnnnppppuuuuttttDDDDiiiirrrreeeecccctttt. To write pixels into a buffer, call
ddddmmmmFFFFXXXXSSSSeeeettttuuuuppppOOOOuuuuttttppppuuuuttttIIIImmmmaaaaggggeeeeBBBBuuuuffffffffeeeerrrr and specify bbbbuuuuffffOOOOuuuuttttppppuuuuttttDDDDiiiirrrreeeecccctttt.
After the buffer has been set up for input or output access,
ddddmmmmFFFFXXXXGGGGeeeettttDDDDaaaattttaaaaPPPPttttrrrr will return a pointer to the first pixel in the buffer,
the one at the upper-left corner of the image.
When _D_M_f_x_b_u_f_f_e_rs are allocated, they may be bigger than necessary to hold
the requested images. ddddmmmmFFFFXXXXGGGGeeeettttRRRRoooowwwwLLLLeeeennnnggggtttthhhh will return the number of pixels
to skip to get from the beginning of one row to the beginning of the
next.
If the buffer has not been set up correctly for direct access,
ddddmmmmFFFFXXXXGGGGeeeettttDDDDaaaattttaaaaPPPPttttrrrr will return NULL and ddddmmmmFFFFXXXXGGGGeeeettttRRRRoooowwwwLLLLeeeennnnggggtttthhhh will return 0.
Under normal circumstances, ddddmmmmFFFFXXXXGGGGeeeettttRRRRoooowwwwLLLLeeeennnnggggtttthhhh will return the width of the
buffer, as requested when it was created. Applications that use
DMfxbuffers can count on this. It can be useful, when debugging plugins,
to create buffers that have a larger internal width. If you are using
the debug version of libfxplugutils, setting the environment variable
FFFFXXXX____SSSSTTTTRRRRAAAANNNNGGGGEEEE____RRRROOOOWWWWBBBBYYYYTTTTEEEESSSS to YYYYEEEESSSS will cause it to create buffers where the
width of the storage area is greater than is needed.