A3DMarkupPositionIsScreenLocation
-
A3DStatus
A3DMarkupPositionIsScreenLocation(const A3DMarkupDefinition *pMarkupDefinition, A3DBool *pIsScreenLocation, A3DMDPosition2DData *pPosition, A3DVector2dData *pOffsetAnchorPoint) A3DStatusA3DMarkupPositionIsScreenLocation(constA3DMarkupDefinition* pMarkupDefinition,A3DBool* pIsScreenLocation,A3DMDPosition2DData* pPosition,A3DVector2dData* pOffsetAnchorPoint)Test if the position of the markup is a screen position, and return the position and the offset of the anchor point.
9.2Return Values
A3D_INITIALIZE_NOT_CALLED:
A3D_INVALID_DATA_STRUCT_SIZE:
A3D_INVALID_DATA_STRUCT_NULL:
A3D_INVALID_ENTITY_NULL:
A3D_INVALID_ENTITY_TYPE:
A3D_SUCCESS:
Parameters
pMarkupDefinition: is the markup.
pIsScreenLocation: true if the position of the markup is a screen position.
pPosition: is the 2D position of the markup.
pOffsetAnchorPoint: is the offset of position of the markup.
Returns
A3D_SUCCESSon success, or an error code on failure