VirtualBox

Changeset 34541 in vbox


Ignore:
Timestamp:
Nov 30, 2010 10:31:58 PM (14 years ago)
Author:
vboxsync
Message:

iprt/types.h: Added RTRECT2 (bad name).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/types.h

    r34381 r34541  
    17431743
    17441744/**
    1745  * Rectangle data type.
     1745 * Rectangle data type, double point.
    17461746 */
    17471747typedef struct RTRECT
     
    17561756    int32_t     yBottom;
    17571757} RTRECT;
    1758 /** Pointer to a rectangle. */
     1758/** Pointer to a double point rectangle. */
    17591759typedef RTRECT *PRTRECT;
    1760 /** Pointer to a const rectangle. */
     1760/** Pointer to a const double point rectangle. */
    17611761typedef const RTRECT *PCRTRECT;
     1762
     1763
     1764/**
     1765 * Rectangle data type, point + size.
     1766 */
     1767typedef struct RTRECT2
     1768{
     1769    /** X coordinate.
     1770     * Unless stated otherwise, this is the top left corner. */
     1771    int32_t     x;
     1772    /** Y coordinate.
     1773     * Unless stated otherwise, this is the top left corner.  */
     1774    int32_t     y;
     1775    /** The width.
     1776     * Unless stated otherwise, this is to the right of (x,y).  */
     1777    uint32_t    cx;
     1778    /** The height.
     1779     * Unless stated otherwise, this is down from (x,y).  */
     1780    uint32_t    cy;
     1781} RTRECT2;
     1782/** Pointer to a point + size rectangle. */
     1783typedef RTRECT2 *PRTRECT2;
     1784/** Pointer to a const point + size rectangle. */
     1785typedef const RTRECT2 *PCRTRECT2;
    17621786
    17631787
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette