Lines Matching refs:th

253   PetscReal   coors[4] = {0, 0, 0, 0}, tickloc[PETSC_DRAW_AXIS_MAX_SEGMENTS], sep, tw, th;  in PetscDrawAxisDraw()  local
284 PetscCall(PetscDrawStringGetSize(draw, &tw, &th)); in PetscDrawAxisDraw()
286 if (axis->xlabelstr) dyl += 1.5 * th; in PetscDrawAxisDraw()
287 if (axis->xlabel) dyl += 1.5 * th; in PetscDrawAxisDraw()
293 if (axis->ylabelstr) dyr = 0.5 * th; in PetscDrawAxisDraw()
294 if (axis->toplabel) dyr = 1.5 * th; in PetscDrawAxisDraw()
298 dyl += 0.2 * th; in PetscDrawAxisDraw()
299 dyr += 0.2 * th; in PetscDrawAxisDraw()
306 PetscCall(PetscDrawStringGetSize(draw, &tw, &th)); in PetscDrawAxisDraw()
316 PetscReal x = (axis->xlow + axis->xhigh) / 2, y = axis->yhigh + 0.5 * th; in PetscDrawAxisDraw()
328 PetscCall(PetscDrawLine(draw, tickloc[i], axis->ylow, tickloc[i], axis->ylow + .5 * th, tc)); in PetscDrawAxisDraw()
329 … PetscCall(PetscDrawLine(draw, tickloc[i], axis->yhigh, tickloc[i], axis->yhigh - .5 * th, tc)); in PetscDrawAxisDraw()
338 PetscCall(PetscDrawStringCentered(draw, tickloc[i], axis->ylow - 1.5 * th, cc, p)); in PetscDrawAxisDraw()
343 PetscReal x = (axis->xlow + axis->xhigh) / 2, y = axis->ylow - 1.5 * th; in PetscDrawAxisDraw()
345 if (axis->xlabelstr) y -= 1.5 * th; in PetscDrawAxisDraw()
351 numy = (int)(.50 * (axis->yhigh - axis->ylow) / th); in PetscDrawAxisDraw()
368 …cCall(PetscDrawString(draw, axis->xlow - ((PetscReal)len + .5) * tw, tickloc[i] - .5 * th, cc, p)); in PetscDrawAxisDraw()
377 PetscCall(PetscDrawStringVertical(draw, x, y + ((PetscReal)len) * th / 2, cc, axis->ylabel)); in PetscDrawAxisDraw()