Poster of Linux kernelThe best gift for a Linux geek
FBLQR_CARVER_SET_RESIZE_ORDER

FBLQR_CARVER_SET_RESIZE_ORDER

Section: LqR library API reference (3) Updated: 10 Maj 2009
Local index Up
 

NAME

lqr_carver_set_resize_order - set LqrCarver object resize order  

SYNOPSIS

#include <lqr.h>
void lqr_carver_set_resize_order(LqrCarver* carver, LqrResizeOrder resize_order);
 

DESCRIPTION

When the function lqr_carver_resize(3) is invoked and both the horizontal and vertical sizes are different from the current ones, the rescaling occurs first in one direction and then in the other.

The function lqr_carver_set_resize_order can be used to set which direction to rescale first for the LqrCarver object pointed to by carver. The parameter resize_order can take either the value LQR_RES_ORDER_HOR (horizontal rescale first) or LQR_RES_ORDER_VERT (vertical rescale first). By default, when an LqrCarver object is created, the value is set to LQR_RES_ORDER_HOR  

SEE ALSO

lqr_carver_set_enl_step(3), lqr_carver_set_dump_vmaps(3), lqr_carver_set_side_switch_frequency(3), lqr_carver_set_progress(3), lqr_carver_set_preserve_input_image(3), lqr_carver_set_use_cache(3)  

COPYRIGHT

Copyright © 2007-2009 Carlo Baldassi


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 21:49:44 GMT, April 16, 2011