mw::hgr::PSRect Structure

Syntax

#include <mw/hgr/hgr.h>

typedef struct {
     s32      sx ;     /* Rectangular area starting point  top-left x [pixel] coordinates */
     s32      sy ;     /* Rectangular area starting point  top-left y [pixel] coordinates */
     s32      ex ;     /* Rectangular area ending point bottom-right x [pixel] coordinates */
     s32      ey ;     /* Rectangular area ending point bottom-right y [pixel] coordinates */
} PSRect;

Description


Restrictions

  • Set the position of the image data size (in pixels) in (sx, sy, ex, ey).
  • Set the width of the target rectangle to MGEXT_RECTMIN≦(hgrect.ex-hgrect.sx+1).
  • Set the height of the target rectangle to MGEXT_RECTMIN≦(hgrect.ey-hgrect.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

    2014/05/28
    Initial version.

    CONFIDENTIAL