Method

ClutterTextposition_to_coords

Declaration [src]

gboolean
clutter_text_position_to_coords (
  ClutterText* self,
  gint position,
  gfloat* x,
  gfloat* y,
  gfloat* line_height
)

Description [src]

Retrieves the coordinates of the given position.

Available since:1.0

Parameters

position gint
 

Position in characters.

x gfloat*
 

Return location for the X coordinate, or NULL.

 The argument will be set by the function.
y gfloat*
 

Return location for the Y coordinate, or NULL.

 The argument will be set by the function.
line_height gfloat*
 

Return location for the line height, or NULL.

 The argument will be set by the function.

Return value

Returns: gboolean
 

TRUE if the conversion was successful.