Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RwV2d
[Rt2d]


Functions

RwBool RwV2dIsInPath (RwV2d *point, Rt2dPath *path)
RwV2dRwV2dInvertTransform (RwV2d *pointOut, RwV2d *pointIn)

Detailed Description

Rt2d plugin directly extends the Core Library's RwV2d API functions.

Function Documentation

RwV2d* RwV2dInvertTransform RwV2d   pointOut,
RwV2d   pointIn
 

RwV2dInvertTransform is used to transform a point specified in screen space ( 0.0f -> 1.0f on both axes, origin in Top Left corner ) into the current CTM coordinate space

Parameters:
pointOut  Pointer to the transformed point
pointIn  Pointer to the point to transform
Returns:
Returns the pointer to the transformed point on succes, or NULL on error.
See also:
Rt2dPathCreateMorphResultPath

RwBool RwV2dIsInPath RwV2d   point,
Rt2dPath   path
 

RwV2dIsInPath is used to test if a point is inside a path. the path should be a closed flat path

Parameters:
point  Pointer to the tested point
path  Pointer to the path
Returns:
Returns TRUE if the point is inside the path or TRUE if it is not.
See also:
Rt2dPathCreateMorphResultPath


Criterion Software © 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:47:07 2004. Send Feedback