Lines Matching refs:height
68 % height, x, and y values. It also returns flags that indicates which
69 % of the four values (width, height, x, y) were located in the string, and
86 % size_t *width,size_t *height)
94 % o width,height: The width and height as determined by the geometry
99 ssize_t *y,size_t *width,size_t *height)
209 Parse width, height, x, and y.
248 Parse height.
251 if (height != (size_t *) NULL)
252 *height=(size_t) floor(StringToDouble(p,&p)+0.5);
304 if ((height != (size_t *) NULL) && (width != (size_t *) NULL))
305 *height=(*width);
309 (height != (size_t *) NULL) && (width != (size_t *) NULL))
310 *width=(*height);
321 *height,(long) *x,(long) *y);
477 &geometry.height);
499 % given: width, height and gravity; against which it is positioned.
501 % The region should also have an appropriate width and height to correctly
506 % void GravityAdjustGeometry(const size_t width, const size_t height,
511 % o width, height: the larger area the region is relative to
519 const size_t height,const GravityType gravity,RectangleInfo *region)
521 if (region->height == 0)
522 region->height=height;
554 region->y=(ssize_t) (height-region->height-region->y);
561 region->y+=(ssize_t) (height/2-region->height/2);
700 ®ion_info->width,®ion_info->height);
842 % o geometry_info: returns the parsed width/height/x/y in this structure.
1123 Support negative height values (e.g. 30x-20).
1197 height,
1203 if (image->page.height != 0)
1204 region_info->height=image->page.height;
1236 region_info->height=(size_t) floor((scale.y*image->rows/100.0)+0.5);
1242 height=region_info->height;
1245 if (height == 0)
1246 region_info->height=image->page.height | image->rows;
1249 region_info->height=height;
1271 % image within the specified geometry width and height.
1274 % % geometry size is given percentage of original width and height given
1284 % ssize_t *y, size_t *width,size_t *height)
1292 % o width,height: The width and height of original image, modified by
1298 ssize_t *y,size_t *width,size_t *height)
1316 assert(height != (size_t *) NULL);
1325 former_height=(*height);
1326 flags=GetGeometry(geometry,x,y,width,height);
1346 *height=(size_t) floor(scale.y*former_height/100.0+0.5);
1348 former_height=(*height);
1351 (*height == former_height)))
1356 *height=former_height;
1374 if (scale_factor > ((double) *height/(double) former_height))
1375 scale_factor=(double) *height/(double) former_height;
1378 if (scale_factor < ((double) *height/(double) former_height))
1379 scale_factor=(double) *height/(double) former_height;
1391 scale_factor=(double) *height/(double) former_height;
1393 (scale_factor < ((double) *height/(double) former_width)))
1394 scale_factor=(double) *height/(double) former_width;
1397 *height=MagickMax((size_t) floor(scale_factor*former_height+0.5),1UL);
1403 if (former_height < *height)
1404 *height=former_height;
1410 if (former_height > *height)
1411 *height=former_height;
1430 if ((scale.x < (double) *width) || (scale.y < (double) *height))
1433 *height=(unsigned long) (former_height/(distance/sqrt(area)));
1436 former_height=(*height);
1484 if (image->page.height != 0)
1485 region_info->height=image->page.height;
1496 region_info->height=image->rows;
1499 ®ion_info->width,®ion_info->height);
1504 region_info->width=region_info->height;
1506 region_info->height=region_info->width;
1553 ®ion_info->width,®ion_info->height);
1594 geometry->height=image->rows;