Lines Matching defs:width
96 prev->width = kParams.canvas_width;
147 qcms_transform_data(transform, line, line, rgba->width);
274 static void HandleReshape(int width, int height) {
277 glViewport(0, 0, width, height);
282 kParams.viewport_width = width;
302 GLint viewport[4]; // x, y, width, height
378 DrawBackgroundScissored(prev->x_offset, prev->y_offset, prev->width,
384 DrawBackgroundScissored(curr->x_offset, curr->y_offset, curr->width,
391 glDrawPixels(pic->width, pic->height,
401 snprintf(tmp, sizeof(tmp), "Dimension:%d x %d", pic->width, pic->height);
421 int width = kParams.canvas_width;
433 if (width > screen_width || height > screen_height) {
434 if (width > screen_width) {
435 height = (height * screen_width + width - 1) / width;
436 width = screen_width;
439 width = (width * screen_height + height - 1) / height;
443 glutInitWindowSize(width, height);