PETSc version v3.15.4-845-g6762c1643e
Fix/Edit manual page

PetscDrawGetViewPort

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

Synopsis

#include "petscdraw.h" 
PetscErrorCode  PetscDrawGetViewPort(PetscDraw draw,PetscReal *xl,PetscReal *yl,PetscReal *xr,PetscReal *yr)
Collective on PetscDraw

Input Parameter

draw - the drawing context

Output Parameters

xl - the horizontal coordinate of the lower left corner of the subwindow.
yl - the vertical coordinate of the lower left corner of the subwindow.
xr - the horizontal coordinate of the upper right corner of the subwindow.
yr - the vertical coordinate of the upper right corner of the subwindow.

Notes

These numbers must always be between 0.0 and 1.0. Lower left corner is (0,0).

Level

advanced

Location

src/sys/classes/draw/interface/dviewp.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages