Logo Search packages:      
Sourcecode: blender version File versions

void GHOST_ClientToScreen ( GHOST_WindowHandle  windowhandle,
GHOST_TInt32  inX,
GHOST_TInt32  inY,
GHOST_TInt32 *  outX,
GHOST_TInt32 *  outY 
)

Converts a point in screen coordinates to client rectangle coordinates

Parameters:
windowhandle The handle to the window
inX The x-coordinate in the client rectangle.
inY The y-coordinate in the client rectangle.
outX The x-coordinate on the screen.
outY The y-coordinate on the screen.

Definition at line 584 of file GHOST_C-api.cpp.

References GHOST_IWindow::clientToScreen(), and GHOST_ClientToScreen().

Referenced by GHOST_ClientToScreen().

{
      GHOST_IWindow* window = (GHOST_IWindow*) windowhandle;

      window->clientToScreen(inX, inY, *outX, *outY);
}


Generated by  Doxygen 1.6.0   Back to index