mw::mgr::PSRect Structure

Syntax

#include <mw/mgr/mgr.h>

typedef struct {
     s32      sx ;     /* Rectangular Region Start Point Upper Left x [pixel] Coordinate */
     s32      sy ;     /* Rectangular Region Start Point Upper Left y [pixel] Coordinate */
     s32      ex ;     /* Rectangular Region End Point Lower Right x [pixel] Coordinate */
     s32      ey ;     /* Rectangular Region End Point Lower Right y [pixel] Coordinate */
} PSRect;

Description


Restrictions

  • Set the position of the image data size in [pixel] units in (sx, sy, ex, ey).
  • Set the width of the rectangle targeted for processing so that MGEXT_RECTMIN≦(mgrect.ex-mgrect.sx+1).
  • Set the height of the rectangle targeted for processing so that MGEXT_RECTMIN≦(mgrect.ey-mgrect.sy+1).
  • The [pixel] coordinate is the coordinate that uses the top left as the origin (0, 0).
  • Member Variables

    Name Description
    in sx Sets the rectangular region upper left x [pixel] coordinate.
    in sy Sets the rectangular region upper left y [pixel] coordinate.
    in ex Sets the rectangular region lower right x [pixel] coordinate.
    in ey Sets the rectangular region lower right y [pixel] coordinate.

    Revision History

    2010/06/30
    Initial version.

    CONFIDENTIAL