indexing description: "Abstract class for drawing figures." status: "See notice at end of class" keywords: "figure, primitives, drawing" date: "$Date$" revision: "$Revision$" deferred class EV_MODEL_DRAWING_ROUTINES inherit EV_MODEL_MATH export {NONE} all end feature -- Figure drawing draw_figure_arc (arc: EV_MODEL_ARC) is -- Draw standard representation of `arc' to canvas. require arc_not_void: arc /= Void deferred end draw_figure_rotated_arc (arc: EV_MODEL_ROTATED_ARC) is -- Draw standard representation of `arc' to canvas. require arc_not_void: arc /= Void deferred end draw_figure_dot (dot: EV_MODEL_DOT) is -- Draw standard representation of `dot' to canvas. require dot_not_void: dot /= Void deferred end draw_figure_ellipse (ellipse: EV_MODEL_ELLIPSE) is -- Draw standard representation of `ellipse' to canvas. require ellipse_not_void: ellipse /= Void deferred end draw_figure_rotated_ellipse (ellipse: EV_MODEL_ROTATED_ELLIPSE) is -- Draw standard representation of `ellipse' to canvas. require ellipse_not_void: ellipse /= Void deferred end draw_figure_equilateral (eql: EV_MODEL_EQUILATERAL) is -- Draw standard representation of `eql' to canvas. require eql_not_void: eql /= Void deferred end draw_figure_line (line: EV_MODEL_LINE) is -- Draw a standard representation of `line' to the canvas. require line_not_void: line /= Void deferred end draw_figure_picture (picture: EV_MODEL_PICTURE) is -- Draw standard representation of `picture' to canvas. require picture_not_void: picture /= Void deferred end draw_figure_pie_slice (slice: EV_MODEL_PIE_SLICE) is -- Draw standard representation of `slice' to canvas. require slice_not_void: slice /= Void deferred end draw_figure_rotated_pie_slice (slice: EV_MODEL_ROTATED_PIE_SLICE) is -- Draw standard representation of `slice' to canvas. require slice_not_void: slice /= Void deferred end draw_figure_polygon (polygon: EV_MODEL_POLYGON) is -- Draw standard representation of `polygon' to canvas. require polygon_not_void: polygon /= Void deferred end draw_figure_polyline (line: EV_MODEL_POLYLINE) is -- Draw standard representation of `polyline' to canvas. require line_not_void: line /= Void deferred end draw_figure_rectangle (rectangle: EV_MODEL_RECTANGLE) is -- Draw standard representation of `rectangle' to canvas. require rectangle_not_void: rectangle /= Void deferred end draw_figure_rounded_rectangle (f: EV_MODEL_ROUNDED_RECTANGLE) is -- Draw standard representation of `f' to canvas. require f_not_void: f /= Void deferred end draw_figure_star (star: EV_MODEL_STAR) is -- Draw standard representation of `star' to canvas. require star_not_void: star /= Void deferred end draw_figure_text (text_figure: EV_MODEL_TEXT) is -- Draw standard representation of `text_figure' to canvas. require text_figure_not_void: text_figure /= Void deferred end draw_figure_parallelogram (parallelogram: EV_MODEL_PARALLELOGRAM) is -- Draw standard representation of `parallelogram' to canvas. require parallelogram_not_void: parallelogram /= Void deferred end draw_figure_rounded_parallelogram (parallelogram: EV_MODEL_ROUNDED_PARALLELOGRAM) is -- Draw standard representation of `parallelogram' to canvas. require parallelogram_not_void: parallelogram /= Void deferred end end -- class EV_MODEL_DRAWING_ROUTINES --|---------------------------------------------------------------- --| EiffelVision2: 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 --|----------------------------------------------------------------