1: #define PETSC_DLL
2: /*
3: Provides the calling sequences for all the basic PetscDraw routines.
4: */
5: #include src/sys/draw/drawimpl.h
9: /*@
10: PetscDrawPoint - PetscDraws a point onto a drawable.
12: Not collective
14: Input Parameters:
15: + draw - the drawing context
16: . xl,yl - the coordinates of the point
17: - cl - the color of the point
19: Level: beginner
21: Concepts: point^drawing
22: Concepts: drawing^point
24: .seealso: PetscDrawPointSetSize()
26: @*/
27: PetscErrorCode PetscDrawPoint(PetscDraw draw,PetscReal xl,PetscReal yl,int cl)
28: {
30: PetscTruth isnull;
34: PetscTypeCompare((PetscObject)draw,PETSC_DRAW_NULL,&isnull);
35: if (isnull) return(0);
36: (*draw->ops->point)(draw,xl,yl,cl);
37: return(0);
38: }