msos2.hlp (Table of Contents; Topic list)
SIZEF (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_GPIPRIMITIVES
 
typedef struct _SIZEF {    /* sizfx */
    FIXED cx;
    FIXED cy;
} SIZEF;
 
The SIZEF structure specifies the width and height of a rectangle. This
structure is used to define the dimensions of a character and marker box.
 
Field  Description
────────────────────────────────────────────────────────────────────────────
 
cx     Specifies the rectangle width (in world coordinates). This value is a
       fixed value.
 
cy     Specifies the rectangle height (in world coordinates). This value is
       a fixed value.
 
Comments
 
A fixed value is a binary representation of a floating-point number. A fixed
value has two parts: the high-order 16-bits and the low-order 16-bits. The
high-order 16-bits contain a signed integer in the range -32,768 through
32,767; the low-order 16-bits contain the numerator of a fraction, in the
range 0 through 65,536 (the denominator of this fraction is always 65,536).
 
See Also
 
GpiQueryAttrs, GpiQueryCharBox, GpiQueryMarkerBox, GpiSetAttrs,
GpiSetCharBox, GpiSetMarkerBox, CHARBUNDLE, MARKERBUNDLE, SIZEL, MAKEFIXED