VisComp: 2.6 VisCompClass Instance Data: Managing Instance Data

Up: GEOS SDK TechDocs | Up | Prev: 2.5 VCI_geoDimensionAttrs | Next: 3 Using VisCompClass
MSG_VIS_COMP_GET_GEO_ATTRS, MSG_VIS_COMP_SET_GEO_ATTRS

To retrieve the flags currently set in both VCI_geoAttrs and VCI_geoDimensionAttrs , use MSG_VIS_COMP_GET_GEO_ATTRS . To set the attributes in either or both fields, use MSG_VIS_COMP_SET_GEO_ATTRS . both of these messages are detailed below.

MSG_VIS_COMP_SET_GEO_ATTRS

void	MSG_VIS_COMP_SET_GEO_ATTRS(
        word	attrsToSet,
        word	attrsToClear);

This message sets the flags in the composite object's VCI_geoAttrs and VCI_geoDimensionAttrs fields. The high byte of each parameter represents the dimension attributes, and the low byte represents the geometry attributes. This message does not invalidate or update the object's geometry.

Source: Unrestricted.

Destination: Any visible composite object.

Parameters: attrsToSet A word of attributes that should be set for the object. The high byte is a record of VisCompGeoDimensionAttrs , and the low byte is a record of VisCompGeoAttrs . The attributes set in this parameter will be set for the object.

attrsToClear
A word of attributes to be cleared from the object's instance data. It has the same form as attrsToSet , above. Any attribute set in this parameter will be cleared in the instance fields.

Return: Nothing.

Interception: Unlikely.

MSG_VIS_COMP_GET_GEO_ATTRS

word	MSG_VIS_COMP_GET_GEO_ATTRS();

This message retrieves the flags set in the object's VCI_geoAttrs and VCI_geoDimensionAttrs fields. The high byte of the return value represents the dimension attributes, and the low byte represents the geometry attributes. This message does not invalidate or update the object's geometry.

Source: Unrestricted.

Destination: Any visible composite object.

Parameters: None.

Return: A word of flags. The high byte is a record of type VisCompGeoDimensionAttrs ; the low byte is a record of type VisCompGeoAttrs . The high byte represents the attributes set in the object's VCI_geoDimensionAttrs field, and the low byte represents the attributes set in the object's VCI_geoAttrs field.

Interception: Unlikely.


Up: GEOS SDK TechDocs | Up | Prev: 2.5 VCI_geoDimensionAttrs | Next: 3 Using VisCompClass