PetscViewerDrawSetInfo#
Record the default display, title, position, and size to use for PetscDraw windows created by a PETSCVIEWERDRAW viewer.
Synopsis#
#include "petscdraw.h"
#include "petscviewer.h"
PetscErrorCode PetscViewerDrawSetInfo(PetscViewer v, const char display[], const char title[], int x, int y, int w, int h)
Logically Collective
Input Parameters#
v - the
PETSCVIEWERDRAWviewerdisplay - the X display name, or
NULLfor the local machinetitle - the window title, or
NULLx - the horizontal screen coordinate of the upper left corner (unused; retained for API symmetry)
y - the vertical screen coordinate of the upper left corner (unused; retained for API symmetry)
w - the default window width in pixels; values less than 1 are ignored
h - the default window height in pixels; values less than 1 are ignored
Note#
If v is not a PETSCVIEWERDRAW viewer, the call is a no-op.
See Also#
PetscViewer, PETSCVIEWERDRAW, PetscViewerDrawOpen(), PetscViewerDrawSetTitle(), PetscViewerDrawResize()
Level#
intermediate
Location#
src/sys/classes/viewer/impls/draw/drawv.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages