Function

Phocutils_rotate_child_position

Declaration [src]

void
phoc_utils_rotate_child_position (
  double* sx,
  double* sy,
  double sw,
  double sh,
  double pw,
  double ph,
  float rotation
)

Description [src]

Rotate a child’s position relative to a parent. The parent size is (pw, ph), the child position is (sx, sy) and its size is (sw, sh).

Parameters

sx

Type: double*

No description available.

The data is owned by the caller of the function.
sy

Type: double*

No description available.

The data is owned by the caller of the function.
sw

Type: double

No description available.

sh

Type: double

No description available.

pw

Type: double

No description available.

ph

Type: double

No description available.

rotation

Type: float

No description available.