1: /* 2: Provides the calling sequences for all the basic PetscDraw routines. 3: */ 4: #include src/sys/src/draw/drawimpl.h 8: /*@ 9: PetscDrawPoint - PetscDraws a point onto a drawable. 11: Not collective 13: Input Parameters: 14: + draw - the drawing context 15: . xl,yl - the coordinates of the point 16: - cl - the color of the point 18: Level: beginner 20: Concepts: point^drawing 21: Concepts: drawing^point 23: .seealso: PetscDrawPointSetSize() 25: @*/ 26: PetscErrorCode PetscDrawPoint(PetscDraw draw,PetscReal xl,PetscReal yl,int cl) 27: { 29: PetscTruth isnull; 33: PetscTypeCompare((PetscObject)draw,PETSC_DRAW_NULL,&isnull); 34: if (isnull) return(0); 35: (*draw->ops->point)(draw,xl,yl,cl); 36: return(0); 37: }