| /petsc/src/sys/classes/draw/tests/ |
| H A D | ex1.c | 20 PetscCall(PetscDrawString(draw, .2, .2, PETSC_DRAW_RED, "Some Text")); in main() 21 PetscCall(PetscDrawString(draw, .5, .5, PETSC_DRAW_GREEN, "Some Text")); in main() 22 PetscCall(PetscDrawString(draw, .2, .8, PETSC_DRAW_BLUE, "Some Text")); in main() 29 PetscCall(PetscDrawString(draw, .2, .2, PETSC_DRAW_RED, "Some Text")); in main() 30 PetscCall(PetscDrawString(draw, .5, .5, PETSC_DRAW_GREEN, "Some Text")); in main() 31 PetscCall(PetscDrawString(draw, .2, .8, PETSC_DRAW_BLUE, "Some Text")); in main() 42 PetscCall(PetscDrawString(draw, .2, .2, PETSC_DRAW_RED, "Some Text\n Some Other Text")); in main() 43 PetscCall(PetscDrawString(draw, .5, .5, PETSC_DRAW_RED, "ABCygj\n()[]F$")); in main() 44 PetscCall(PetscDrawString(draw, 0, 0, PETSC_DRAW_RED, "Horizontal Text (ABCygj)")); in main()
|
| H A D | ex10.c | 25 PetscCall(PetscDrawString(draw, .2, .2, PETSC_DRAW_RED, "Some Text")); in main() 27 PetscCall(PetscDrawString(draw, .2, .2, PETSC_DRAW_BLUE, "Some Text")); in main()
|
| /petsc/src/sys/classes/draw/interface/ |
| H A D | dtext.c | 21 PetscErrorCode PetscDrawString(PetscDraw draw, PetscReal xl, PetscReal yl, int cl, const char text[… in PetscDrawString() function 59 …for (int i = 0; (chr[0] = text[i]); i++) PetscCall(PetscDrawString(draw, xl, yl - th * ((PetscReal… in PetscDrawStringVertical() 93 PetscCall(PetscDrawString(draw, xc, yl, cl, text)); in PetscDrawStringCentered() 162 …for (i = 0; i < cnt; i++) PetscCall(PetscDrawString(draw, left + tw, top - (1.5 + i) * th, sc, arr… in PetscDrawStringBoxed()
|
| H A D | dtri.c | 80 PetscCall(PetscDrawString(popup, 0.2, 0.02 + i / 10.0, PETSC_DRAW_BLACK, string)); in PetscDrawScalePopup()
|
| /petsc/src/dm/impls/da/ |
| H A D | gr2.c | 87 if (zctx->name0) PetscCall(PetscDrawString(draw, x, yl, PETSC_DRAW_BLACK, zctx->name0)); in VecView_MPI_Draw_DA2d_Zoom() 101 PetscCall(PetscDrawString(draw, xmin, ymin - .05 * (ymax - ymin), PETSC_DRAW_BLACK, value)); in VecView_MPI_Draw_DA2d_Zoom() 105 …PetscCall(PetscDrawString(draw, xmax - len * w, ymin - .05 * (ymax - ymin), PETSC_DRAW_BLACK, valu… in VecView_MPI_Draw_DA2d_Zoom() 107 PetscCall(PetscDrawString(draw, xmin - .05 * (xmax - xmin), ymin, PETSC_DRAW_BLACK, value)); in VecView_MPI_Draw_DA2d_Zoom() 109 PetscCall(PetscDrawString(draw, xmin - .05 * (xmax - xmin), ymax, PETSC_DRAW_BLACK, value)); in VecView_MPI_Draw_DA2d_Zoom()
|
| H A D | da2.c | 102 PetscCall(PetscDrawString(draw, x, y, PETSC_DRAW_BLACK, node)); in DMView_DA_2d() 121 PetscCall(PetscDrawString(draw, x / dd->w, y, PETSC_DRAW_BLUE, node)); in DMView_DA_2d()
|
| H A D | da1.c | 105 PetscCall(PetscDrawString(draw, x, ymin, PETSC_DRAW_RED, node)); in DMView_DA_1d()
|
| H A D | da3.c | 127 … PetscCall(PetscDrawString(draw, xmin + (dd->M + 1) * k + .2, ymin + .3, PETSC_DRAW_RED, node)); in DMView_DA_3d() 133 PetscCall(PetscDrawString(draw, x, y, PETSC_DRAW_BLACK, node)); in DMView_DA_3d() 167 PetscCall(PetscDrawString(draw, xcoord / dd->w, ycoord, PETSC_DRAW_BLUE, node)); in DMView_DA_3d()
|
| /petsc/include/ |
| H A D | petscdraw.h | 167 PETSC_EXTERN PetscErrorCode PetscDrawString(PetscDraw, PetscReal, PetscReal, int, const char[]);
|
| /petsc/src/sys/classes/draw/utils/ |
| H A D | axisc.c | 368 …PetscCall(PetscDrawString(draw, axis->xlow - ((PetscReal)len + .5) * tw, tickloc[i] - .5 * th, cc,… in PetscDrawAxisDraw()
|
| H A D | lgc.c | 535 …PetscCall(PetscDrawString(draw, xl + 6 * tw, yr - (i + 1.5) * th, PETSC_DRAW_BLACK, lg->legend[i])… in PetscDrawLGDraw()
|
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | sbaij.c | 400 PetscCall(PetscDrawString(draw, .3 * (xl + xr), .3 * (yl + yr), PETSC_DRAW_BLACK, "symmetric")); in MatView_SeqSBAIJ_Draw_Zoom()
|
| /petsc/doc/manual/ |
| H A D | other.md | 748 PetscDrawString(PetscDraw win, PetscReal x, PetscReal y, int color, char *text);
|