ISVP-SDK  3.12.0
Ingenic Smart Video Platform SDK
Data Fields
IMPRect Struct Reference

IMP Rectangle area information. More...

#include <imp_common.h>

Collaboration diagram for IMPRect:
Collaboration graph
[legend]

Data Fields

IMPPoint p0
 Upper left corner coordinate information.
 
IMPPoint p1
 Lower right corner coordinate information.
 

Detailed Description

IMP Rectangle area information.

According to the image down there, if P0(100,100) is the start point, and we'd like that the width and height are both 100,then P1(199,199) width = abs(P1.x-P0.x)+1 height = abs(P1.y-P0.y)+1, Point coordinates are both equal to distance +1. P0(100,100) _____100______ | | | | 100| | | | |______________| P1(199,199)


The documentation for this struct was generated from the following file: