On Sun, Oct 22, 2000 at 03:35:22PM +0200, mark dufour wrote:
>
> /* Flags for PolyDraw and GetPath */
> #define PT_CLOSEFIGURE � � � � �0x0001
> #define PT_LINETO � � � � � � � �������� 0x0002
> #define PT_BEZIERTO � � � � � � �������� 0x0004
> #define PT_MOVETO � � � � � � � �������� 0x0006
> � � � �
> shouldn't the last be 8 or something ? well, there's probably a reason for it
> being 6, but it doesn't seem logical to me. it took me some time to find out
> that some code of mine didn't work because of this.. I had assumed it would
> be a power of two.
The original SDK header files have the same value.
PT_CLOSEFIGURE is a flag, the others are an enumeration shifted by 1.
Ciao, Marcus