VirtualBox

Changeset 34882 in vbox for trunk/include


Ignore:
Timestamp:
Dec 9, 2010 12:48:37 PM (14 years ago)
Author:
vboxsync
Message:

iprt/types.h: Added the RTPOINT and RTRECTSIZE structure types.

File:
1 edited

Legend:

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

    r34565 r34882  
    17431743
    17441744/**
     1745 * A point in a two dimentional coordinate system.
     1746 */
     1747typedef struct RTPOINT
     1748{
     1749    /** X coordinate. */
     1750    int32_t     x;
     1751    /** Y coordinate. */
     1752    int32_t     y;
     1753} RTPOINT;
     1754/** Pointer to a point. */
     1755typedef RTPOINT *PRTPOINT;
     1756/** Pointer to a const point. */
     1757typedef const RTPOINT *PCRTPOINT;
     1758
     1759
     1760/**
    17451761 * Rectangle data type, double point.
    17461762 */
     
    17891805
    17901806/**
     1807 * The size of a rectangle.
     1808 */
     1809typedef struct RTRECTSIZE
     1810{
     1811    /** The width (along the x-axis). */
     1812    uint32_t    cx;
     1813    /** The height (along the y-axis). */
     1814    uint32_t    cy;
     1815} RTRECTSIZE;
     1816/** Pointer to a rectangle size. */
     1817typedef RTRECTSIZE *PRTRECTSIZE;
     1818/** Pointer to a const rectangle size. */
     1819typedef const RTRECTSIZE *PCRTRECTSIZE;
     1820
     1821
     1822/**
    17911823 * Ethernet MAC address.
    17921824 *
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