indexing description: "Demo for arcs." author: "" date: "$Date$" revision: "$Revision$" class ARC_ITEM inherit FIGURE_ITEM create make_with_title feature -- Access figure: EV_ARC is local pt: EV_POINT angle1, angle2, angle3: EV_ANGLE do create Result.make create pt.set (150, 150) Result.set_center (pt) Result.set_radius1 (100) Result.set_radius2 (100) create angle1.make_in_degrees (0) create angle2.make_in_degrees (110) create angle3.make (0) Result.set_angle1 (angle1) Result.set_angle2 (angle2) Result.set_line_width (2) Result.set_orientation (angle3) end end -- class ARC_ITEM --|---------------------------------------------------------------- --| EiffelVision2: library of reusable components for ISE Eiffel. --| Copyright (C) 1986-2001 Interactive Software Engineering Inc. --| All rights reserved. Duplication and distribution prohibited. --| May be used only with ISE Eiffel, under terms of user license. --| Contact ISE for any other use. --| --| Interactive Software Engineering Inc. --| ISE Building --| 360 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Electronic mail --| Customer support: http://support.eiffel.com> --| For latest info see award-winning pages: http://www.eiffel.com --|----------------------------------------------------------------