Boost logo

Boost Users :

Subject: [Boost-users] [Geometry] Registering the Windows RECT structure
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2014-01-18 08:24:04


Hi all,

Does anybody know whether the Windows RECT structure is known to the boost geometry library. The RECT structure is declared as follows:
typedef struct _RECT {
  LONG left;
  LONG top;
  LONG right;
  LONG bottom;
} RECT, *PRECT;

Members
left
The x-coordinate of the upper-left corner of the rectangle.
top
The y-coordinate of the upper-left corner of the rectangle.
right
The x-coordinate of the lower-right corner of the rectangle.
bottom
The y-coordinate of the lower-right corner of the rectangle.

If there is no registration, is there an example that shows how to do this?
Any help appreciated.
Regards
Sean.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net