carta
dtk_relrotate_shape(3)

dtk_relrotate_shape3

Shape displacement

Part of dtk_move_shape(3).

Overview

These functions control the position and the rotation with which the shape shp will be next drawn.

dtk_move_shape() set the translation the shape for the next draws. The position defined by x and y corresponds to the position of the origin of the shape (corresponding to the point (0,0) when the shape has been created).

dtk_rotate_shape() set the rotation (counter-clockwise) of the shape around its origin of the shape. This rotation is performed relatively to the initial posture of the shape (at creation time). The argument deg specify the angle of rotation expressed in degrees.

dtk_relmove_shape() and dtk_relrotate_shape() do the same excepting that their arguments dx, dy and ddeg updates the current parameters of the translation and rotation.

Return value

None of these functions returns value.

From libdrawtk-dev 2.0-2.1 in Debian 8 (Jessie). Parsed by carta from the page's man source.