Home
last modified time | relevance | path

Searched refs:port_yr (Results 1 – 9 of 9) sorted by relevance

/petsc/src/sys/classes/draw/interface/
H A Ddviewp.c33 draw->port_yr = yr; in PetscDrawSetViewPort()
73 *yr = draw->port_yr; in PetscDrawGetViewPort()
124 draw->port_yr = yr - .05 * h; in PetscDrawSplitViewPort()
177 …ll(PetscDrawGetViewPort(draw, &ports->port_xl, &ports->port_yl, &ports->port_xr, &ports->port_yr)); in PetscDrawViewPortsCreate()
264 …ll(PetscDrawGetViewPort(draw, &ports->port_xl, &ports->port_yl, &ports->port_xr, &ports->port_yr)); in PetscDrawViewPortsCreateRect()
322 …PetscDrawSetViewPort(ports->draw, ports->port_xl, ports->port_yl, ports->port_xr, ports->port_yr)); in PetscDrawViewPortsDestroy()
H A Ddrawreg.c161 draw->port_yr = 1.0; in PetscDrawCreate()
/petsc/src/sys/classes/draw/impls/tikz/
H A Dtikz.c69 #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 Dxops.c11 …(((xwin)->h - 1) * ((draw)->port_yl + (((y - (draw)->coor_yl) * ((draw)->port_yr - (draw)->port_yl…
14 …+ (draw)->port_yl - 1) * ((draw)->coor_yr - (draw)->coor_yl) / ((draw)->port_yl - (draw)->port_yr))
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()
292 PetscReal xr = draw->port_xr, yr = draw->port_yr; in PetscDrawClear_X()
407 …PetscCall(PetscDrawSetViewport_X(draw, draw->port_xl, draw->port_yl, draw->port_xr, draw->port_yr)… in PetscDrawCheckResizedWindow_X()
434 …etscCall(PetscDrawSetViewport_X(draw, draw->port_xl, draw->port_yl, draw->port_xr, draw->port_yr)); in PetscDrawResizeWindow_X()
512 …coor_yl + (yy - draw->port_yl) * (draw->coor_yr - draw->coor_yl) / (draw->port_yr - draw->port_yl); in PetscDrawGetMouseButton_X()
594 (*sdraw)->port_yr = draw->port_yr; in PetscDrawGetSingleton_X()
/petsc/src/sys/classes/draw/impls/image/
H A Ddrawimage.c14 …((img)->h - 1) * ((draw)->port_yl + ((((y) - (draw)->coor_yl) * ((draw)->port_yr - (draw)->port_yl…
17 …+ (draw)->port_yl - 1) * ((draw)->coor_yr - (draw)->coor_yl) / ((draw)->port_yl - (draw)->port_yr))
230 if (h) *h = th * (draw->coor_yr - draw->coor_yl) / (img->h * (draw->port_yr - draw->port_yl)); in PetscDrawStringGetSize_Image()
359 …Call(PetscDrawSetViewport_Image(draw, draw->port_xl, draw->port_yl, draw->port_xr, draw->port_yr)); in PetscDrawResizeWindow_Image()
548 draw->port_yr = 1; in PetscDrawCreate_Image()
/petsc/src/sys/classes/draw/impls/null/
H A Ddrawnull.c169 draw->port_yr = 1; in PetscDrawCreate_Null()
/petsc/include/petsc/private/
H A Ddrawimpl.h56 PetscReal port_xl, port_yl, port_xr, port_yr; member
/petsc/src/sys/classes/draw/impls/win32/
H A Dwin32draw.c25 …((win)->h) * (1.0 - (draw)->port_yl - (((y - (draw)->coor_yl) * ((draw)->port_yr - (draw)->port_yl…
399 …h = (int)(windraw->h * height * (draw->port_yr - draw->port_yl) / (draw->coor_yr - draw->coor_yl)); in PetscDrawStringSetSize_Win32()
410 …double scaleY = (draw->coor_yr - draw->coor_yl) / (draw->h) * (draw->port_yr - draw->po… in PetscDrawStringGetSize_Win32()
/petsc/include/
H A Dpetscdraw.h256 PetscReal port_xl, port_yl, port_xr, port_yr; /* original port of parent PetscDraw */ member