Home
last modified time | relevance | path

Searched refs:zoomyoff (Results 1 – 12 of 12) sorted by relevance

/dports/graphics/xfig/xfig-3.2.8a/src/
H A Du_pan.c60 zoomyoff += PAN_OFFSET; in pan_up()
68 zoomyoff -= PAN_OFFSET; in pan_down()
69 if (!appres.allownegcoords && (zoomyoff < 0)) in pan_down()
70 zoomyoff = 0; in pan_down()
82 if (zoomxoff == 0 && zoomyoff == 0) in pan_origin()
84 if (zoomyoff != 0) { in pan_origin()
85 zoomyoff = 0; in pan_origin()
H A Dw_zoom.c55 int zoomyoff = 0; variable
159 zoomyoff = my_fix_y < y ? my_fix_y : y; in do_zoom()
165 if (zoomyoff < 0) in do_zoom()
166 zoomyoff = 0; in do_zoom()
H A Dw_grid.c138 y0c = fmod( -x0c * ( ys / 2.0 ) / xs - zoomscale * zoomyoff, ys ); in setup_grid()
139 y1c = fmod( x0c * ( ys / 2.0 ) / xs - zoomscale * zoomyoff, ys ); in setup_grid()
212 y0c = -fmod((double) zoomscale * zoomyoff, spacing); in setup_grid()
H A Du_redraw.c498 XDrawLine(tool_d, canvas_win, border_gc, 0, round(-zoomyoff*zoomscale), CANVAS_WD, in redisplay_pageborder()
499 round(-zoomyoff*zoomscale)); in redisplay_pageborder()
535 for (y=0; y < ht+zoomyoff; y += pht) { in redraw_pageborder()
541 for (y=0; y > zoomyoff; y -= pht) { in redraw_pageborder()
547 for (y=0; y < ht+zoomyoff; y += pht) { in redraw_pageborder()
553 for (y=0; y > zoomyoff; y -= pht) { in redraw_pageborder()
H A Dw_zoom.h23 extern int zoomyoff;
H A Dw_drawprim.h59 #define ZOOMY(y) (int) round(zoomscale*((y)-zoomyoff))
63 #define BACKY(y) round(y/zoomscale+zoomyoff)
H A Dw_rulers.c1282 orig_zoomoff = zoomyoff; in sideruler_selected()
1299 if (orig_zoomoff != zoomyoff) in sideruler_selected()
1310 zoomyoff -= ((event->y - last_drag_y)/zoomscale* in sideruler_selected()
1312 if (!appres.allownegcoords && (zoomyoff < 0)) in sideruler_selected()
1313 zoomyoff = 0; in sideruler_selected()
H A Dw_file.c1283 save_zoomyoff = zoomyoff; in preview_figure()
1401 zoomyoff = -(pixheight/zoomscale - height) / 2.0 + ymin; in preview_figure()
1454 zoomyoff = save_zoomyoff; in preview_figure()
H A Dw_library.c1637 save_zoomyoff = zoomyoff; in preview_libobj()
1678 zoomyoff = -(pixsize/zoomscale - height)/2.0 + ymin; in preview_libobj()
1703 zoomyoff = save_zoomyoff; in preview_libobj()
H A Du_draw.c510 saveyoff = zoomyoff; in angle_ellipse()
512 zoomxoff = zoomyoff = 0; in angle_ellipse()
581 zoomyoff = saveyoff; in angle_ellipse()
H A Dw_indpanel.c4500 zoomyoff += stretch * y; in zoom_focus()
4610 zoomyoff = objects.nwcorner.y - 100/display_zoomscale; in fit_zoom()
4614 if (zoomyoff < 0) in fit_zoom()
4615 zoomyoff = 0; in fit_zoom()
H A Dw_cmdpanel.c1232 if (zoomxoff < 0 || zoomyoff < 0) in global_panel_done()