---
name: "lqr_carver_get_ref_width"
section: "3"
platform: "linux"
package: "liblqr-1-0-dev"
version: "0.4.1-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/lqr_carver_get_ref_width"
---

# lqr\_carver\_get\_ref\_width(3)

get the reference width of a LqrCarver object

## NAME

lqr\_carver\_get\_ref\_width - get the reference width of a LqrCarver object

## SYNOPSIS

```
#include <lqr.h>
```

**gint lqr\_carver\_get\_ref\_width(LqrCarver\*** *carver***);**

## DESCRIPTION

The function **lqr\_carver\_get\_ref\_width** returns the internal reference width of the image contained in the LqrCarver object pointed to by *carver*, in pixel units.

The reference width is set as the original height at carver initialization, and reset any time the carver gets subsequently flattened, either explicitly through [**lqr\_carver\_flatten**(3)](/lqr_carver_flatten/3.md) or implicitly when the rescale direction changes or an enlargment beyond the maximum enlargement step is performed.

## SEE ALSO

[**lqr\_carver\_get\_width**(3)](/lqr_carver_get_width/3.md), [**lqr\_carver\_get\_height**(3)](/lqr_carver_get_height/3.md), [**lqr\_carver\_get\_ref\_height**(3)](/lqr_carver_get_ref_height/3.md), [**lqr\_carver\_get\_channels**(3)](/lqr_carver_get_channels/3.md), [**lqr\_carver\_get\_col\_depth**(3)](/lqr_carver_get_col_depth/3.md), [**lqr\_carver\_get\_enl\_step**(3)](/lqr_carver_get_enl_step/3.md), [**lqr\_carver\_flatten**(3)](/lqr_carver_flatten/3.md), [**lqr\_carver\_set\_enl\_step**(3)](/lqr_carver_set_enl_step/3.md), [**lqr\_carver\_get\_orientation**(3)](/lqr_carver_get_orientation/3.md)

## COPYRIGHT

Copyright © 2007-2009 Carlo Baldassi\
