Man Linux: Main Page and Category List

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