DBnewDisplayVector2 |
Top Previous Next |
This call generates a new vector in the data bank which is always indicated. This vector is accommodated in own object in a string element which exists of two points. Elements of the data bank are ordinarily indicated exactly when the objects to which they belong are selected. An exception form the objects and with it elements which are put on in the segment with the ID 65535 (if this segment exists). All these objects are always indicated. Otherwise can be worked with this segment normally. Objects from this segment cannot be only selected. Now with the procedure DBnewDisplayVector this segment 65535 is put on, if it does not exist yet. Then an object is generated in this segment and is generated in this object a string element. Then this element receives both points of the vector added. If this has tramped everything perfectly, the string is delivered as a result. In case of a mistake the value ZERO is delivered. Parametre root (PROOT) [IN] Act to the data bank. x1 (stands in) [IN] x co-ordinate of the starting point of the distance newly to be marked. y1 (stands in) [IN] Y co-ordinate of the starting point of the distance newly to be marked. x2 (stands in) [IN] x co-ordinate of the terminator point of the distance newly to be marked. y2 (stands in) [IN] Y co-ordinate of the terminator point of the distance newly to be marked. zeichenschluessel (int) [IN] With this value the lines are drawn. He corresponds about to one sign colour. Result (T_ERROR) [OUT] If a Vector could be put on, becomes ERROR_OK zurückgeliefert, but a constant from error.h. Declaration Declared in draw.c
T_ERROR DLLENTRY DBnewDisplayVector2 ( PROOT root, stand in x1, stand in y1, stand in x2, stand in y2, int zeichenschluessel ); Related functions
|