PLplot
5.9.9
|
#include "plplotP.h"
Go to the source code of this file.
Functions | |
void | c_pladv (PLINT page) |
void | c_plclear (void) |
void | c_pleop (void) |
void | c_plbop (void) |
void | plP_subpInit (void) |
void | plP_setsub (void) |
void | c_plgspa (PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax) |
int | plGetCursor (PLGraphicsIn *plg) |
int | plTranslateCursor (PLGraphicsIn *plg) |
void | c_plcalc_world (PLFLT rx, PLFLT ry, PLFLT *wx, PLFLT *wy, PLINT *window) |
Page/subpage handling routines.
Definition in file plpage.c.
Calculate world coordinates wx, and wy from relative device coordinates, rx and ry. Also, return the window index for which the world coordinates are valid. window is set to -1 and wx and wy to 0. if rx and ry do not correspond to valid world coordinates for any currently existing window.
rx | Relative x device coordinates |
ry | Relative y device coordinates |
wx | Pointer to x world coordinate (after call) |
wy | Pointer to y world coordinate (after call) |
window | Pointer index of window for which the world coordinates are valid |
Get subpage boundaries in absolute coordinates (mm from bottom left-hand corner of page).
xmin | Pointer to PLFLT containing minimum x boundary after call |
xmax | Pointer to PLFLT containing maximum x boundary after call |
ymin | Pointer to PLFLT containing minimum y boundary after call |
ymax | Pointer to PLFLT containing maximum y boundary after call |
int plGetCursor | ( | PLGraphicsIn * | plg | ) |
Wait for graphics input event and translate to world coordinates.
plg | Pointer to PLGraphicsIn |
int plTranslateCursor | ( | PLGraphicsIn * | plg | ) |
Translates cursor position from relative device coordinates to world coordinates.
plg | Pointer to PLGraphicsIn |