15c6c1daeSBarry Smith 25c6c1daeSBarry Smith /* 35c6c1daeSBarry Smith Provides the calling sequences for all the basic Draw routines. 45c6c1daeSBarry Smith */ 5af0996ceSBarry Smith #include <petsc/private/drawimpl.h> /*I "petscdraw.h" I*/ 65c6c1daeSBarry Smith 75c6c1daeSBarry Smith /*@ 85c6c1daeSBarry Smith PetscDrawEllipse - Draws an ellipse onto a drawable. 95c6c1daeSBarry Smith 105c6c1daeSBarry Smith Not collective 115c6c1daeSBarry Smith 125c6c1daeSBarry Smith Input Parameters: 135c6c1daeSBarry Smith + draw - The drawing context 145c6c1daeSBarry Smith . x,y - The center 155c6c1daeSBarry Smith . a,b - The major and minor axes lengths 165c6c1daeSBarry Smith - c - The color 175c6c1daeSBarry Smith 185c6c1daeSBarry Smith Level: beginner 195c6c1daeSBarry Smith 20db781477SPatrick Sanan .seealso: `PetscDrawRectangle()`, `PetscDrawTriangle()`, `PetscDrawMarker()`, `PetscDrawPoint()`, `PetscDrawString()`, `PetscDrawArrow()` 215c6c1daeSBarry Smith @*/ 225c6c1daeSBarry Smith PetscErrorCode PetscDrawEllipse(PetscDraw draw, PetscReal x, PetscReal y, PetscReal a, PetscReal b, int c) 235c6c1daeSBarry Smith { 245c6c1daeSBarry Smith PetscFunctionBegin; 255c6c1daeSBarry Smith PetscValidHeaderSpecific(draw, PETSC_DRAW_CLASSID,1); 26*dbbe0bcdSBarry Smith PetscUseTypeMethod(draw,ellipse , x, y, a, b, c); 275c6c1daeSBarry Smith PetscFunctionReturn(0); 285c6c1daeSBarry Smith } 29