INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Abstract class GDI resource"
project: "Visual Eiffel"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: grape
deferred class GDI_RESOURCE
feature

system_handle: INTEGER

initialize
-- Makes a link to the corresponding object provided by the operating
-- system
ensure
valid_resource_handle_returned: system_handle /= 0

resource_id: INTEGER
-- used toi dentify each resource. The returned value must be unique
-- across all available resources.

select_resource (system_gc: INTEGER): INTEGER
-- used to select a GDI resource in a graphics context

destroy
-- Deletes an object from memory by freeing all system storage
-- associated with the object. (Objects include pens, brushes,
-- fonts, bitmaps, regions)

set_system_handle (new_value: INTEGER)
-- Used internally to explicitly set the value of a system handle
end -- class GDI_RESOURCE

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES