DrawSetViewPort

Sets the portion of the window (page) to which draw routines will write.

Synopsis

int DrawSetViewPort(Draw draw,double xl,double yl,double xr,double yr)
Collective on Draw

Input Parameters

xl,yl,xr,yr - upper right and lower left corners of subwindow These numbers must always be between 0.0 and 1.0. Lower left corner is (0,0).
draw - the drawing context

Keywords

draw, set, view, port

Location: src/draw/interface/dviewp.c
Graphics (Draw) Index
Table of Contents