EXOBJ_OBJECT (original) (raw)
Summary
Contains the information about the extracted object.
Syntax
Members
L_UINT uStructSize
Size of this structure in bytes, for versioning. Use the sizeof(EXOBJ_OBJECT) operator to calculate this value.
pEXOBJ_OBJECT pPrev
Pointer to EXOBJ_OBJECT structure representing the previous object in the list.
pEXOBJ_OBJECT pNext
Pointer to EXOBJ_OBJECT structure representing the next object in the list.
L_BOOL bWhiteOnBlack
Boolean flag that indicates whether this object is white on a black background. Possible values are:
Value | Meaning |
---|---|
TRUE | The object is white on a black background. |
FALSE | The object is not white on a black background. |
L_RECT rcTotalBounds
The total bounding rectangle for an object (defaults to outline bounds, but must be maintained if siblings are added by user).
pEXOBJ_OUTLINE_POINTLIST pOutline
Pointer to the outline for an object.
Note: This will contain four points (one at each corner) if the outline is around a single pixel.
pEXOBJ_SEGMENTLIST pRegionHorizontal
Pointer to the region for an object stored as a collection of horizontal segments.
pEXOBJ_SEGMENTLIST pRegionVertical
Pointer to the region for an object stored as a collection of vertical segments.
L_UINT64 uImmediatePixelCount
The number of pixels for the object excluding any children.
pEXOBJ_OBJECTLIST pChildren
Pointer to the children of the object.
L_UINT64 uImmediateChildCount
The number of immediate children (this will be equal to pChildren->uCount).
pEXOBJ_OBJECTLIST pSiblings
Optional pointer to the siblings of the object.
Note: This will not be updated by L_ExtractObjectsBitmap, but will be used by helper functions if updated by the user.
Usage
Data Types
- EXOBJ_CONTENTBOUND_OPTIONS
- EXOBJ_OBJECT
- EXOBJ_OBJECTLIST
Functions
- L_ExtractObjects_AddObject
- L_ExtractObjects_CalcRegion
- L_ExtractObjects_MoveObject
- L_ExtractObjects_RemoveObject