hi_crop_info

Description

Defines the cropping attribute structure.

Prototype

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

Members

Member

Description

enable

Whether to enable cropping.

The options are as follows:

  • HI_FALSE: disabled.
  • HI_TRUE: enabled.

rect

Cropping start position, width, and height.