INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Storable Graphics Context class"
project: "Visual Eiffel"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: grape
class STORABLE_GRAPHICS_CONTEXT
inherit

DISPLAY_GRAPHICS_CONTEXT
end
creation

make,
make_with_assignment
feature -- Metafile operations

start_record_metafile (file_name, desc: STRING)
-- prepare to record metafile tile_handle
-- desc - description (title, copyright, etc :)
require
valid_graphics_context: is_valid_gc
target_tile_is_assigned: is_target_tile_assigned
wasnt_opened: not is_opened

stop_record_metafile
-- stop metafile recording and close metafile
require
was_opened: is_opened
ensure
closed: not is_opened

play_metafile (file_name: STRING)
require
valid_graphics_context: is_valid_gc
target_tile_is_assigned: is_target_tile_assigned
wasnt_opened: not is_opened
ensure
closed: not is_opened

close_metafile
-- stop metafile recording and close metafile
require
was_opened: is_opened
ensure
closed: not is_opened

is_opened: BOOLEAN
end -- class STORABLE_GRAPHICS_CONTEXT

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES