Lines Matching refs:PIXEL
49 ev->w= 600 * PIXEL; in handle_get_size()
50 ev->h= 400 * PIXEL; in handle_get_size()
52 ev->w= 1280 * PIXEL; in handle_get_size()
53 ev->h= 400 * PIXEL; in handle_get_size()
62 ren->set_pencil (pencil (black, 2*PIXEL)); in handle_repaint()
69 x[0]= x[1]= (SI) (sh[0][0] * PIXEL); in handle_repaint()
70 y[0]= y[1]= (SI) (sh[0][1] * PIXEL); in handle_repaint()
77 x[j]= (SI) (sh[j][0] * PIXEL); in handle_repaint()
78 y[j]= (SI) (sh[j][1] * PIXEL); in handle_repaint()
105 SI x1= (SI) (min (p[0], q[0]) * PIXEL); in refresh_last()
106 SI y1= (SI) (min (p[1], q[1]) * PIXEL); in refresh_last()
107 SI x2= (SI) (max (p[0], q[0]) * PIXEL); in refresh_last()
108 SI y2= (SI) (max (p[1], q[1]) * PIXEL); in refresh_last()
109 this << emit_invalidate (x1 - 3*PIXEL, y1 - 3*PIXEL, in refresh_last()
110 x2 + 3*PIXEL, y2 + 3*PIXEL); in refresh_last()
125 if (!nearby (point (x/PIXEL, y/PIXEL), shs[i])) in handle_mouse()
135 sh << point (x/PIXEL, y/PIXEL); in handle_mouse()
150 if (p[0] != (x/PIXEL) || p[1] != (y/PIXEL)) { in handle_mouse()
151 sh << point (x/PIXEL, y/PIXEL); in handle_mouse()