sourceToViewCoord

public final PointF sourceToViewCoord(PointF sxy)

Convert source coordinate to view coordinate.

Return

view coordinates.

Parameters

sxy

source coordinates to convert.


public final PointF sourceToViewCoord(float sx, float sy)

Convert source coordinate to view coordinate.

Return

view coordinates.

Parameters

sx

source X coordinate.

sy

source Y coordinate.


public final PointF sourceToViewCoord(float sx, float sy, PointF vTarget)

Convert source coordinate to view coordinate.

Return

view coordinates. This is the same instance passed to the vTarget param.

Parameters

sx

source X coordinate.

sy

source Y coordinate.

vTarget

target object for result. The same instance is also returned.


public final PointF sourceToViewCoord(PointF sxy, PointF vTarget)

Convert source coordinate to view coordinate.

Return

view coordinates. This is the same instance passed to the vTarget param.

Parameters

sxy

source coordinates to convert.

vTarget

target object for result. The same instance is also returned.