Searched refs:port_yl (Results 1 – 9 of 9) sorted by relevance
| /petsc/src/sys/classes/draw/interface/ |
| H A D | dviewp.c | 31 draw->port_yl = yl; in PetscDrawSetViewPort() 71 *yl = draw->port_yl; in PetscDrawGetViewPort() 123 draw->port_yl = yl + .05 * h; in PetscDrawSplitViewPort() 177 …PetscCall(PetscDrawGetViewPort(draw, &ports->port_xl, &ports->port_yl, &ports->port_xr, &ports->po… in PetscDrawViewPortsCreate() 264 …PetscCall(PetscDrawGetViewPort(draw, &ports->port_xl, &ports->port_yl, &ports->port_xr, &ports->po… in PetscDrawViewPortsCreateRect() 322 …PetscCall(PetscDrawSetViewPort(ports->draw, ports->port_xl, ports->port_yl, ports->port_xr, ports-… in PetscDrawViewPortsDestroy()
|
| H A D | drawreg.c | 160 draw->port_yl = 0.0; in PetscDrawCreate()
|
| /petsc/src/sys/classes/draw/impls/tikz/ |
| H A D | tikz.c | 69 #define YTRANS(draw, y) (double)((draw)->port_yl + (((y - (draw)->coor_yl) * ((draw)->port_yr - (dr… 124 ry = b / 2 * (draw->port_yr - draw->port_yl) / (draw->coor_yr - draw->coor_yl); in PetscDrawEllipse_TikZ() 177 if (y) *y = .05 * (draw->coor_yr - draw->coor_yl) / (draw->port_yr - draw->port_yl); in PetscDrawStringGetSize_TikZ()
|
| /petsc/src/sys/classes/draw/impls/x/ |
| H A D | xops.c | 11 … - 1) - (int)(((xwin)->h - 1) * ((draw)->port_yl + (((y - (draw)->coor_yl) * ((draw)->port_yr - (d… 14 …etscReal)(j)) / ((xwin)->h - 1) + (draw)->port_yl - 1) * ((draw)->coor_yr - (draw)->coor_yl) / ((d… 202 h = (int)(XiWin->h * y * (draw->port_yr - draw->port_yl) / (draw->coor_yr - draw->coor_yl)); in PetscDrawStringSetSize_X() 217 if (y) *y = h * (draw->coor_yr - draw->coor_yl) / (XiWin->h * (draw->port_yr - draw->port_yl)); in PetscDrawStringGetSize_X() 291 PetscReal xl = draw->port_xl, yl = draw->port_yl; in PetscDrawClear_X() 407 …PetscCall(PetscDrawSetViewport_X(draw, draw->port_xl, draw->port_yl, draw->port_xr, draw->port_yr)… in PetscDrawCheckResizedWindow_X() 434 …PetscCall(PetscDrawSetViewport_X(draw, draw->port_xl, draw->port_yl, draw->port_xr, draw->port_yr)… in PetscDrawResizeWindow_X() 512 … *y_user = draw->coor_yl + (yy - draw->port_yl) * (draw->coor_yr - draw->coor_yl) / (draw->port_yr… in PetscDrawGetMouseButton_X() 593 (*sdraw)->port_yl = draw->port_yl; in PetscDrawGetSingleton_X()
|
| /petsc/src/sys/classes/draw/impls/image/ |
| H A D | drawimage.c | 14 … - 1) - (int)(((img)->h - 1) * ((draw)->port_yl + ((((y) - (draw)->coor_yl) * ((draw)->port_yr - (… 17 …PetscReal)(j)) / ((img)->h - 1) + (draw)->port_yl - 1) * ((draw)->coor_yr - (draw)->coor_yl) / ((d… 230 if (h) *h = th * (draw->coor_yr - draw->coor_yl) / (img->h * (draw->port_yr - draw->port_yl)); in PetscDrawStringGetSize_Image() 359 …PetscCall(PetscDrawSetViewport_Image(draw, draw->port_xl, draw->port_yl, draw->port_xr, draw->port… in PetscDrawResizeWindow_Image() 547 draw->port_yl = 0; in PetscDrawCreate_Image()
|
| /petsc/src/sys/classes/draw/impls/null/ |
| H A D | drawnull.c | 168 draw->port_yl = 0; in PetscDrawCreate_Null()
|
| /petsc/include/petsc/private/ |
| H A D | drawimpl.h | 56 PetscReal port_xl, port_yl, port_xr, port_yr; member
|
| /petsc/src/sys/classes/draw/impls/win32/ |
| H A D | win32draw.c | 25 …in, y) (int)(((win)->h) * (1.0 - (draw)->port_yl - (((y - (draw)->coor_yl) * ((draw)->port_yr - (d… 399 …h = (int)(windraw->h * height * (draw->port_yr - draw->port_yl) / (draw->coor_yr - draw->coor_yl)); in PetscDrawStringSetSize_Win32() 410 … scaleY = (draw->coor_yr - draw->coor_yl) / (draw->h) * (draw->port_yr - draw->port_yl); in PetscDrawStringGetSize_Win32()
|
| /petsc/include/ |
| H A D | petscdraw.h | 256 PetscReal port_xl, port_yl, port_xr, port_yr; /* original port of parent PetscDraw */ member
|