hi_crop_info

Function

Defines the cropping attributes.

Definition

typedef struct {
    hi_bool enable;
    hi_rect  rect;
} hi_crop_info;

For details about basic data type hi_bool, see Basic Data Types.

Members

Member

Description

enable

Whether to enable cropping.

Value range:

  • HI_FALSE: Disables this function.
  • HI_TRUE: Enables this function.

rect

Cropping start position, width, and height. For details, see hi_rect.