Previous:
DgGlyphTone
Up:
PARC DataGlyph Toolkit 4.0 API
Next:
DgGlyphTone_Delete
DgGlyphTone_ComparePixelType
(from ../include/DgGlyphTone.h)
typedef DgInt32 (
DgGlyphTone_ComparePixelType
) (
const
DgGlyphTone_Threshold
*pixel0,
const
DgGlyphTone_Threshold
*pixel1
);
Summary
Type definition of a function that sorts pixels. Sorting is done on the order the pixels are turned on in a threshhold array. When a function of this type is called, the caller will fill in proper values in tData object of both pixel0 and pixel1.
Parameters
pixel0
Pointer to pixel 0
pixel1
Pointer to pixel 1
Return Value
-1
if pixel 0 shall be turned on before pixel 1.
+1
otherwise.
References
DgGlyphTone_Mark