1: /* 2: Provides the calling sequences for all the basic PetscDraw routines. 3: */ 4: #include src/sys/src/draw/drawimpl.h 8: /*@ 9: PetscDrawGetCoordinates - Gets the application coordinates of the corners of 10: the window (or page). 12: Not Collective 14: Input Parameter: 15: . draw - the drawing object 17: Level: advanced 19: Ouput Parameters: 20: . xl,yl,xr,yr - the coordinates of the lower left corner and upper 21: right corner of the drawing region. 23: Concepts: drawing^coordinates 24: Concepts: graphics^coordinates 26: .seealso: PetscDrawSetCoordinates() 28: @*/ 29: PetscErrorCode PetscDrawGetCoordinates(PetscDraw draw,PetscReal *xl,PetscReal *yl,PetscReal *xr,PetscReal *yr) 30: { 37: *xl = draw->coor_xl; *yl = draw->coor_yl; 38: *xr = draw->coor_xr; *yr = draw->coor_yr; 39: return(0); 40: }