mw::mgr::PSRect Structure

Syntax

#include <mw/hgr/hgr.h> 

typedef struct { 
     s32 sx ;  /* Rectangular region start point upper-left x-coordinate (in pixels). */
     s32 sy ; /* Rectangular region start point upper-left y-coordinate (in pixels). */
     s32 ex ; /* Rectangular region end point lower-right x-coordinate (in pixels). */
     s32 ey ; /* Rectangular region end point lower-right y-coordinate (in pixels). */
} PSRect; 

Description


Restrictions

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