Lines Matching defs:ypos
52 PointCalibrate(int xpos, int ypos)
65 glVertex2f(xpos + x, ypos + y);
67 glReadPixels(xpos, ypos, 1, 1, GL_RGBA, GL_FLOAT, rgba);
86 xpos, ypos,
88 ypos + ymin, ypos + ymax);
114 HLineCalibrate(int xpos, int ypos, int len)
132 glVertex2f(xpos, ypos + y);
133 glVertex2f(xpos + len, ypos + y);
136 glReadPixels(xpos + len / 2, ypos, 1, 1, GL_RGBA, GL_FLOAT, rgba);
150 ypos,
151 ypos + ymin, ypos + ymax);
171 glVertex2f(xpos + x, ypos + 0.5f);
172 glVertex2f(xpos + x + len, ypos + 0.5f);
176 glReadPixels(xpos - 1, ypos, 2, 1, GL_RGBA, GL_FLOAT, rgba);
186 glReadPixels(xpos + len - 1, ypos, 2, 1, GL_RGBA, GL_FLOAT, rgba);
235 VLineCalibrate(int xpos, int ypos, int len)
253 glVertex2f(xpos + x, ypos);
254 glVertex2f(xpos + x, ypos + len);
257 glReadPixels(xpos + len / 2, ypos, 1, 1, GL_RGBA, GL_FLOAT, rgba);
258 glReadPixels(xpos, ypos + len / 2, 1, 1, GL_RGBA, GL_FLOAT, rgba);
293 glVertex2f(xpos + 0.5f, ypos + y);
294 glVertex2f(xpos + 0.5f, ypos + y + len);
298 glReadPixels(xpos, ypos - 1, 1, 2, GL_RGBA, GL_FLOAT, rgba);
308 glReadPixels(xpos, ypos + len - 1, 1, 2, GL_RGBA, GL_FLOAT, rgba);
323 ypos, ypos + len,
324 ypos + ymin_bottom, ypos + ymax_bottom,
325 ypos + len + ymin_top, ypos + len + ymax_top);
357 QuadCalibrate(int xpos, int ypos, int width, int height)
371 glVertex2f(xpos + x, ypos + y);
372 glVertex2f(xpos + x + width, ypos + y);
373 glVertex2f(xpos + x + width, ypos + y + height);
374 glVertex2f(xpos + x, ypos + y + height);
378 glReadPixels(xpos - 1, ypos + 2, 2, 1, GL_RGBA, GL_FLOAT, rgba1);
379 glReadPixels(xpos + width - 1, ypos + 2, 2, 1, GL_RGBA, GL_FLOAT, rgba2);
389 glReadPixels(xpos + 2, ypos - 1, 1, 2, GL_RGBA, GL_FLOAT, rgba1);
390 glReadPixels(xpos + 2, ypos + height - 1, 1, 2, GL_RGBA, GL_FLOAT, rgba2);
406 xpos, ypos,
407 xpos + width, ypos + height,
409 ypos + ymin, ypos + ymax);