lqr_carver_init(3)

lqr_carver_init3

Activates an lqrcarver object

Usage

#include <lqr.h>

LqrRetVal lqr_carver_init(LqrCarver* carver, gint delta_x, gfloat rigidity);

Overview

The function lqr_carver_init initialises the LqrCarver pointed to by carver, so that it can compute the visibility maps as needed upon calls of lqr_carver_resize.

The parameter delta_x controls the maximum transversal step a seam can make. A value of 0 means straight seams. Normally, it is set to 1.

The parameter rigidity can be used to add a negative bias to non-straight seams, and it is normally set to 0.

Visibility maps must not be loaded with the function lqr_vmap_load when using this function, neither before nor after invoking it.

Return value

The return value follows the Liquid Rescale library signalling system.

Releases

Unchanged in 2 releases since Debian 6.0 (Squeeze).

  1. 6.0–7

From liblqr-1-0-dev 0.4.1-2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.