indexing description: "Polygon fill mode constants." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" class WEL_POLYGON_FILL_MODE_CONSTANTS feature -- Access Alternate: INTEGER is -- Selects alternate mode (fills the area between -- odd-numbered and even-numbered polygon sides on -- each scan line). external "C [macro %"wel.h%"]" alias "ALTERNATE" end Winding: INTEGER is -- Selects winding mode (fills any region with a -- nonzero winding value). external "C [macro %"wel.h%"]" alias "WINDING" end feature -- Status report valid_polygon_fill_mode_constant (c: INTEGER): BOOLEAN is -- Is `c' a valid polygon fill mode constant? do Result := c = Alternate or else c = Winding end end -- class WEL_POLYGON_FILL_MODE_CONSTANTS --|---------------------------------------------------------------- --| Windows Eiffel Library: library of reusable components for ISE Eiffel. --| Copyright (C) 1985-2004 Eiffel Software. All rights reserved. --| Duplication and distribution prohibited. May be used only with --| ISE Eiffel, under terms of user license. --| Contact Eiffel Software for any other use. --| --| Interactive Software Engineering Inc. --| dba Eiffel Software --| 356 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Contact us at: http://www.eiffel.com/general/email.html --| Customer support: http://support.eiffel.com --| For latest info on our award winning products, visit: --| http://www.eiffel.com --|----------------------------------------------------------------