# PetscDrawSetCurrentPoint
Sets the current draw point, some codes use this point to determine where to draw next 
## Synopsis
```
#include "petscdraw.h" 
PetscErrorCode PetscDrawSetCurrentPoint(PetscDraw draw, PetscReal x, PetscReal y)
```
Not collective


## Input Parameters

- ***draw -*** the drawing context
- ***x,y -*** the location of the current point





## See Also
 `PetscDraw`, `PetscDrawPushCurrentPoint()`, `PetscDrawPopCurrentPoint()`, `PetscDrawGetCurrentPoint()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/interface/dline.c.html#PetscDrawSetCurrentPoint">src/sys/classes/draw/interface/dline.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/interface/dline.c)


[Index of all Draw routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
