Lines Matching refs:samples
144 /* draw cursors and collect samples */
163 errx(EXIT_FAILURE, "can't set samples");
249 * draw cursors on frame buffer and collect samples in
282 coords->samples[0].x = fb.conf.hf_width/2;
283 coords->samples[0].y = fb.conf.hf_height/2;
286 coords->samples[1].x = xm;
287 coords->samples[1].y = ym;
290 coords->samples[2].x = xm;
291 coords->samples[2].y = fb.conf.hf_height - ym;
294 coords->samples[3].x = fb.conf.hf_width - xm;
295 coords->samples[3].y = fb.conf.hf_height - ym;
298 coords->samples[4].x = fb.conf.hf_width - xm;
299 coords->samples[4].y = ym;
305 coords->samples[i].x,
306 coords->samples[i].y,
319 coords->samples[i].rawx = x;
320 coords->samples[i].rawy = y;
322 coords->samples[i].x,
323 coords->samples[i].y,
344 errx(EXIT_FAILURE, "can't get samples");