Vidíte historickú verziu tejto stránky. Pozrite si aktuálnu verziu.

Porovnať s aktuálnou verziou Zobraziť históriu stránky

« Predchádzajúce Verzia 5 Aktuálny »

%HI_GetDistX, %HI_SetDistX function


Function
The function %HI_SetDistX sets a distance from one point of object to next point on the X-axis (Control function).

The function %HI_GetDistX finds out a distance from one point of object to next point on the X-axis.
Declaration
%HI_SetDistX(
   INT in refId,
   INT in idx,
   INT in value
 )
 
 INT %HI_GetDistX(
   INT in refId,
   INT in idx
 )
Parameters
refIdReference to graphic object (reference variable).
idxIndex which defines a distance.
valueSetting value.
Description
The function %HI_SetDistX is without return value.
The function %HI_GetDistX gets back a value of defined variable.

These functions cannot work with object manager functions that change the dimensions of objects.
They are primarily intended for line objects.

For other objects, they can be used with the following restrictions:

  • line objects and polygon - no limits, except for 3D lines,
  • 3D line can be deformed and drawn incorrectly if the dimensions are improper,
  • when the polygons, circles (radius) and pillar (if value of its index is 1) are drawn, the negations are not acceptable.
  • Žiadne štítky