# CAMERA_GetTrimmingParams

## Syntax

  `#include <twl/camera.h>`
  `void CAMERA_GetTrimmingParams(u16 *x1, u16 *y1, u16 *x2, u16 *y2);`

## Arguments

x1 | Current start position for trimming (in pixels)
y1 | Current start position for trimming (in pixels)
x2 | Current end position for trimming (in pixels)
y2 | Current end position for trimming (in pixels)

## Return Values

None.

## Description

Gets the currently configured trimming positions. If the `CAMERA_SetTrimmingParams` or `CAMERA_SetTrimmingParamsCenter` function has been used to specify trimming positions, those settings are obtained. If the aforementioned function has not been called, the default value is obtained.

## See Also

`CAMERA_SetTrimmingParams`, `CAMERA_SetTrimmingParamsCenter`

## Revision History

2008/01/15 Initial version.

CONFIDENTIAL