indexing
description: "Objects that ..."
author: ""
date: "$Date: 2006-03-21 15:18:35 -0800 (Tue, 21 Mar 2006) $"
revision: "$Revision: 57579 $"
deferred class interface
EV_BITMAP_I
feature
arc_cosine (v: REAL_32): REAL_32
`v'
SINGLE_MATH
arc_sine (v: REAL_32): REAL_32
`v'
SINGLE_MATH
arc_tangent (v: REAL_32): REAL_32
`v'
SINGLE_MATH
background_color: EV_COLOR
EV_COLORIZABLE_I
ceiling (v: REAL_32): REAL_32
`v'
SINGLE_MATH
clip_area: EV_RECTANGLE
EV_DRAWABLE_I
cosine (v: REAL_32): REAL_32
`v'
SINGLE_MATH
dashed_line_style: BOOLEAN
EV_DRAWABLE_I
drawing_mode: INTEGER_32
EV_DRAWABLE_I
euler: REAL_64 is 2.7182818284590452354
MATH_CONST
floor (v: REAL_32): REAL_32
`v'
SINGLE_MATH
font: EV_FONT
`Current'
EV_FONTABLE_I
ensure EV_FONTABLE_I
not_void: Result /= Void
foreground_color: EV_COLOR
EV_COLORIZABLE_I
generating_type: STRING_8
ANY
generator: STRING_8
ANY
height: INTEGER_32
EV_DRAWABLE_I
ensure EV_DRAWABLE_I
positive: Result > 0
line_width: INTEGER_32
EV_DRAWABLE_I
log (v: REAL_32): REAL_32
`v'
SINGLE_MATH
require SINGLE_MATH
v > 0.0
log10 (v: REAL_32): REAL_32
`v'
SINGLE_MATH
require SINGLE_MATH
v > 0.0
log_2 (v: REAL_32): REAL_32
`v'
SINGLE_MATH
require SINGLE_MATH
v > 0.0
pi: REAL_64 is 3.14159265358979323846
MATH_CONST
sine (v: REAL_32): REAL_32
`v'
SINGLE_MATH
sqrt (v: REAL_32): REAL_32
`v'
SINGLE_MATH
require SINGLE_MATH
v >= 0.0
sqrt2: REAL_64 is 1.41421356237309504880
MATH_CONST
tangent (v: REAL_32): REAL_32
`v'
SINGLE_MATH
tile: EV_PIXMAP
background_color
EV_DRAWABLE_I
width: INTEGER_32
EV_DRAWABLE_I
ensure EV_DRAWABLE_I
positive: Result > 0
feature
frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
shallow_implies_deep: standard_equal (some, other) implies Result
both_or_none_void: (some = Void) implies (Result = (other = Void))
same_type: (Result and (some /= Void)) implies some.same_type (other)
symmetric: Result implies deep_equal (other, some)
frozen equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))
is_equal (other: like Current): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
symmetric: Result implies other.is_equal (Current)
consistent: standard_is_equal (other) implies Result
frozen standard_equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other))
frozen standard_is_equal (other: like Current): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
same_type: Result implies same_type (other)
symmetric: Result implies other.standard_is_equal (Current)
feature
conforms_to (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
same_type (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
definition: Result = (conforms_to (other) and other.conforms_to (Current))
feature
set_default_colors
EV_COLORIZABLE_I
feature
disable_dashed_line_style
EV_DRAWABLE_I
ensure EV_DRAWABLE_I
dashed_line_style_disabled: is_usable implies not interface.dashed_line_style
enable_dashed_line_style
EV_DRAWABLE_I
ensure EV_DRAWABLE_I
dashed_line_style_enabled: is_usable implies interface.dashed_line_style
remove_clipping
EV_DRAWABLE_I
ensure EV_DRAWABLE_I
clip_area_void: is_usable implies interface.clip_area = Void
remove_tile
EV_DRAWABLE_I
ensure EV_DRAWABLE_I
tile_void: is_usable implies interface.tile = Void
set_background_color (a_color: like background_color)
`a_color'foreground_color
EV_COLORIZABLE_I
require EV_COLORIZABLE_I
a_color_not_void: a_color /= Void
ensure EV_COLORIZABLE_I
background_color_assigned: is_initialized implies interface.implementation.background_color.is_equal (a_color)
set_clip_area (an_area: EV_RECTANGLE)
EV_DRAWABLE_I
require EV_DRAWABLE_I
an_area_not_void: an_area /= Void
ensure EV_DRAWABLE_I
clip_area_assigned: is_usable implies interface.clip_area.is_equal (an_area)
set_clip_region (a_region: EV_REGION)
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_region_not_void: a_region /= Void
set_drawing_mode (a_mode: INTEGER_32)
`a_logical_mode'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_mode_valid: valid_drawing_mode (a_mode)
ensure EV_DRAWABLE_I
drawing_mode_assigned: is_usable implies interface.drawing_mode = a_mode
set_font (a_font: EV_FONT)
`a_font'font
EV_FONTABLE_I
require EV_FONTABLE_I
a_font_not_void: a_font /= Void
ensure EV_FONTABLE_I
assigned: is_usable implies font.is_equal (a_font)
set_foreground_color (a_color: like foreground_color)
`a_color'foreground_color
EV_COLORIZABLE_I
require EV_COLORIZABLE_I
a_color_not_void: a_color /= Void
ensure EV_COLORIZABLE_I
foreground_color_assigned: is_initialized implies interface.implementation.foreground_color.is_equal (a_color)
set_line_width (a_width: INTEGER_32)
`a_width'line_width
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_width_positive_or_zero: a_width >= 0
ensure EV_DRAWABLE_I
line_width_assigned: is_usable implies interface.line_width = a_width
set_tile (a_pixmap: EV_PIXMAP)
background_color
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_pixmap_not_void: a_pixmap /= Void
ensure EV_DRAWABLE_I
tile_assigned: is_usable implies interface.tile /= Void
feature
copy (other: like Current)
`other'
ANY
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_equal: is_equal (other)
frozen deep_copy (other: like Current)
copy`other'deep_twin
ANY
require ANY
other_not_void: other /= Void
ensure ANY
deep_equal: deep_equal (Current, other)
frozen deep_twin: like Current
ANY
ensure ANY
deep_equal: deep_equal (Current, Result)
frozen standard_copy (other: like Current)
`other'
ANY
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_standard_equal: standard_is_equal (other)
frozen standard_twin: like Current
`other'
ANY
ensure ANY
standard_twin_not_void: Result /= Void
equal: standard_equal (Result, Current)
sub_pixmap (area: EV_RECTANGLE): EV_PIXMAP
`Current'`area'
EV_DRAWABLE_I
require EV_DRAWABLE_I
area_not_void: area /= Void
ensure EV_DRAWABLE_I
result_not_void: Result /= Void
frozen twin: like Current
`Current'
twincopycopy
ANY
ensure ANY
twin_not_void: Result /= Void
is_equal: Result.is_equal (Current)
feature
frozen default: like Current
ANY
frozen default_pointer: POINTER
`POINTER'
`p'default
`p'`POINTER'
ANY
default_rescue
ANY
frozen do_nothing
ANY
feature
interface: EV_BITMAP
feature
clear
`Current'background_color
EV_DRAWABLE_I
clear_rectangle (x1, y1, a_width, a_height: INTEGER_32)
`x'`y'
`a_width'`a_height'background_color
EV_DRAWABLE_I
redraw
`Current'
EV_DRAWABLE_I
feature
drawing_mode_and: INTEGER_32 is 3
EV_DRAWABLE_CONSTANTS
drawing_mode_copy: INTEGER_32 is 0
EV_DRAWABLE_CONSTANTS
drawing_mode_invert: INTEGER_32 is 2
EV_DRAWABLE_CONSTANTS
drawing_mode_or: INTEGER_32 is 4
EV_DRAWABLE_CONSTANTS
drawing_mode_xor: INTEGER_32 is 1
EV_DRAWABLE_CONSTANTS
feature
valid_drawing_mode (a_mode: INTEGER_32): BOOLEAN
`a_mode'
EV_DRAWABLE_CONSTANTS
feature
draw_arc (x, y, a_bounding_width, a_bounding_height: INTEGER_32; a_start_angle, an_aperture: REAL_32)
`x'`y'`a_bounding_width'
`a_bounding_height'
`a_start_angle'`a_start_angle'`an_aperture'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_bounding_width_positive_or_zero: a_bounding_width >= 0
a_bounding_width_positive_or_zero: a_bounding_height >= 0
draw_ellipse (x, y, a_bounding_width, a_bounding_height: INTEGER_32)
`x'`y'`a_bounding_width'
`a_bounding_height'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_bounding_width_positive_or_zero: a_bounding_width >= 0
a_bounding_height_positive_or_zero: a_bounding_height >= 0
draw_ellipsed_text (x, y: INTEGER_32; a_text: STRING_GENERAL; clipping_width: INTEGER_32)
`a_text'`x'`y'font
`clipping_width'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_text_not_void: a_text /= Void
clipping_width_positive: clipping_width >= 0
draw_ellipsed_text_top_left (x, y: INTEGER_32; a_text: STRING_GENERAL; clipping_width: INTEGER_32)
`a_text'`x'`y'font
`clipping_width'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_text_not_void: a_text /= Void
clipping_width_positive: clipping_width >= 0
draw_pie_slice (x, y, a_bounding_width, a_bounding_height: INTEGER_32; a_start_angle, an_aperture: REAL_32)
`x'`y'`a_bounding_width'
`a_bounding_height'
`a_start_angle'`a_start_angle'`an_aperture'
`x'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_bounding_width_positive_or_zero: a_bounding_width >= 0
a_bounding_height_positive_or_zero: a_bounding_height >= 0
draw_pixmap (x, y: INTEGER_32; a_pixmap: EV_PIXMAP)
`a_pixmap'`x'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_pixmap_not_void: a_pixmap /= Void
draw_point (x, y: INTEGER_32)
`x'
EV_DRAWABLE_I
draw_polyline (points: ARRAY [EV_COORDINATE]; is_closed: BOOLEAN)
`points'`is_closed'
`points'
EV_DRAWABLE_I
require EV_DRAWABLE_I
points_not_void: points /= Void
draw_rectangle (x, y, a_width, a_height: INTEGER_32)
`x'
`a_width'`a_height'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_width_positive_or_zero: a_width >= 0
a_height_positive_or_zero: a_height >= 0
draw_rotated_text (x, y: INTEGER_32; angle: REAL_32; a_text: STRING_GENERAL)
`a_text'`x'`y'font
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_text_not_void: a_text /= Void
draw_segment (x1, y1, x2, y2: INTEGER_32)
`x1'`x2'
EV_DRAWABLE_I
draw_straight_line (x1, y1, x2, y2: INTEGER_32)
`x1'`x2'
EV_DRAWABLE_I
draw_sub_pixmap (x, y: INTEGER_32; a_pixmap: EV_PIXMAP; area: EV_RECTANGLE)
`area'`a_pixmap'`x'`y'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_pixmap_not_void: a_pixmap /= Void
area_not_void: area /= Void
draw_text (x, y: INTEGER_32; a_text: STRING_GENERAL)
`a_text'`x'`y'font
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_text_not_void: a_text /= Void
draw_text_top_left (x, y: INTEGER_32; a_text: STRING_GENERAL)
`a_text'`x'`y'font
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_text_not_void: a_text /= Void
feature
fill_ellipse (x, y, a_bounding_width, a_bounding_height: INTEGER_32)
`x'`y'`a_bounding_width'
`a_bounding_height'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_bounding_width_positive_or_zero: a_bounding_width >= 0
a_bounding_height_positive_or_zero: a_bounding_height >= 0
fill_pie_slice (x, y, a_bounding_width, a_bounding_height: INTEGER_32; a_start_angle, an_aperture: REAL_32)
`x'`y'`a_bounding_width'
`a_bounding_height'
`a_start_angle'`a_start_angle'`an_aperture'
`x'
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_bounding_width_positive_or_zero: a_bounding_width >= 0
a_bounding_height_positive_or_zero: a_bounding_height >= 0
fill_polygon (points: ARRAY [EV_COORDINATE])
`points'
background_color
EV_DRAWABLE_I
require EV_DRAWABLE_I
points_not_void: points /= Void
fill_rectangle (x, y, a_width, a_height: INTEGER_32)
`x'
`a_width'`a_height'background_color
EV_DRAWABLE_I
require EV_DRAWABLE_I
a_width_positive_or_zero: a_width >= 0
a_height_positive_or_zero: a_height >= 0
feature
io: STD_FILES
ANY
out: STRING_8
ANYtagged_out
ANY
print (some: ANY)
`some'
ANY
frozen tagged_out: STRING_8
ANYout
ANY
feature
operating_environment: OPERATING_ENVIRONMENT
ANY
feature
set_size (a_x, a_y: INTEGER_32)
`a_x'`a_y'
require
x_coordinate_valid: a_x > 0
y_coordinate_valid: a_y > 0
invariant
EV_ANY_I
interface_coupled: is_usable implies interface /= Void and then interface.implementation = Current
base_make_called: base_make_called
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end EV_BITMAP_I