PetscDrawZoom#

Allows one to provide a function that gets called for zooming in on a drawing using the mouse buttons

Synopsis#

#include "petscdraw.h"  
PetscErrorCode PetscDrawZoom(PetscDraw draw, PetscErrorCode (*func)(PetscDraw, void *), void *ctx)

Collective draw

Input Parameters#

  • draw - the window where the graph will be made.

  • func - users function that draws the graphic

  • ctx - pointer to any user required data

See Also#

PetscDraw, PetscDrawCreate()

Level#

advanced

Location#

src/sys/classes/draw/utils/zoom.c


Edit on GitLab

Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages