`lqr_carver_set_resize_order`
Prev | Carver objects | Next

## 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)

Prev | Up | Next
`lqr_carver_set_enl_step` | Home | `lqr_carver_set_dump_vmaps`