# PetscDrawPointPixel
draws a point onto a drawable, in pixel coordinates 
## Synopsis
```
#include "petscdraw.h" 
PetscErrorCode PetscDrawPointPixel(PetscDraw draw, int x, int y, int c)
```
Not collective


## Input Parameters

- ***draw -*** the drawing context
- ***x,y -*** the pixel coordinates of the point
- ***c -*** the color of the point





## See Also
 `PetscDraw`, `PetscDrawPoint()`, `PetscDrawPointSetSize()`

## Level
beginner

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/impls/image/drawimage.c.html#PetscDrawPointPixel_Image">PetscDrawPointPixel_Image in src/sys/classes/draw/impls/image/drawimage.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/impls/null/drawnull.c.html#PetscDrawPointPixel_Null">PetscDrawPointPixel_Null in src/sys/classes/draw/impls/null/drawnull.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/impls/x/xops.c.html#PetscDrawPointPixel_X">PetscDrawPointPixel_X in src/sys/classes/draw/impls/x/xops.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/interface/dpoint.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)  
