Home | History | Annotate | Download | only in framebuffer

Lines Matching refs:geom

140 int parse_geometry(char *geom, int *w, int *h, int *x, int *y)
146 if (!(ptr = strchr(geom, 'x')))
149 *w = atoi(geom);
150 geom = ptr + 1;
152 ptr = strchr(geom, '+');
155 *h = atoi(geom);
159 geom = ptr + 1;
161 if (!x || !y || !(ptr = strchr(geom, '+')))
164 *x = atoi(geom);
165 geom = ptr + 1;
167 *y = atoi(geom);