AnnSetPolyFillMode example for C++ Builder
void TForm1::TestAnnPolyFillMode ( HANNOBJECT hAnnObject )
{
L_UINT uPolyFillMode; /* Object's polygonal fill mode */
/* Change the fill mode */
LEADAnn1->AnnGetPolyFillMode ( hAnnObject, uPolyFillMode );
if ( uPolyFillMode == ANNPOLYFILLMODE_WINDING )
LEADAnn1->AnnSetPolyFillMode ( hAnnObject, ANNPOLYFILLMODE_ALTERNATE, false );
else
LEADAnn1->AnnSetPolyFillMode ( hAnnObject, ANNPOLYFILLMODE_WINDING, false );
}