Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtSurfaceTestPoint

PtSurfaceTestPoint

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PtSurfaceTestPoint()

Test whether or not a point is inside a control surface

Synopsis:

int PtSurfaceTestPoint( PtSurface_t const *surface,
                        PhPoint_t const *point );

Library:

ph

Description:

This function determines whether or not the given point is inside the control surface described by the structure pointed to by surface.

Returns:

A nonzero value if the point is inside the control surface, or zero if it isn't.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhPoint_t, PtSurfaceCalcBoundingBox(), PtSurfaceHit(), PtSurfaceRect()

Control Surfaces chapter of the Photon Programmer's Guide