INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "EOLE_TEXTMETRIC class"
project: "Visual Eiffel Library"
revision: "$Revision: 1.2 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: wine
class EOLE_TEXTMETRIC
inherit

EOLE_OBJECT_WITH_POINTER
end
creation

make
feature

make
-- Purpose:
-- Create an object
-- Params:
-- None.
-- Return Value:
-- None.
-- Notes:
-- It's a dummy constructor now.

allocate: POINTER
-- Purpose:
-- Allocate the physical memory block of nesessary size
-- (sizeof (TEXTMETRIC)) from memory pool.
-- Params:
-- None.
-- Return Value:
-- Pointer to alocated memory block.
-- Notes:
-- None.

set_height (height: INTEGER)
-- Purpose:
-- Set the 'tmHeight' member of the corresponding
-- C++ structure to the specified textmetric element Height
-- Params:
-- height [in]
-- height of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_height: INTEGER
-- Purpose:
-- Resturn the value of the 'tmHeight' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- height.
-- Notes:
-- None.

set_ascent (ascent: INTEGER)
-- Purpose:
-- Set the 'tmAscent' member of the corresponding
-- C++ structure to the specified textmetric element Ascent.
-- Params:
-- ascent [in]
-- ascent of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_ascent: INTEGER
-- Purpose:
-- Resturn the value of the 'tmAscent' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- ascent.
-- Notes:
-- None.

set_descent (descent: INTEGER)
-- Purpose:
-- Set the 'tmDescent' member of the corresponding
-- C++ structure to the specified textmetric element Descent.
-- Params:
-- descent [in]
-- descent of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_descent: INTEGER
-- Purpose:
-- Resturn the value of the 'tmDescent' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- Descent.
-- Notes:
-- None.

set_internal_leading (internal_leading: INTEGER)
-- Purpose:
-- Set the 'tmInternalLeading' member of the corresponding
-- C++ structure to the specified textmetric element InternalLeading.
-- Params:
-- InternalLeading [in]
-- InternalLeading of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_internal_leading: INTEGER
-- Purpose:
-- Resturn the value of the 'tmInternalLeading' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- InternalLeading.
-- Notes:
-- None.

set_external_leading (external_leading: INTEGER)
-- Purpose:
-- Set the 'tmExternalLeading' member of the corresponding
-- C++ structure to the specified textmetric element ExternalLeading.
-- Params:
-- ExternalLeading [in]
-- ExternalLeading of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_external_leading: INTEGER
-- Purpose:
-- Resturn the value of the 'tmExternalLeading' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- ExternalLeading.
-- Notes:
-- None.

set_ave_char_width (ave_char_width: INTEGER)
-- Purpose:
-- Set the 'tmAveCharWidth' member of the corresponding
-- C++ structure to the specified textmetric element AveCharWidth
-- Params:
-- AveCharWidth [in]
-- AveCharWidth of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_ave_char_width: INTEGER
-- Purpose:
-- Resturn the value of the 'tmAveCharWidth' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- AveCharWidth.
-- Notes:
-- None.

set_max_char_width (max_char_width: INTEGER)
-- Purpose:
-- Set the 'tmMaxCharWidth' member of the corresponding
-- C++ structure to the specified textmetric element MaxCharWidth
-- Params:
-- MaxCharWidth [in]
-- MaxCharWidth of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_max_char_width: INTEGER
-- Purpose:
-- Resturn the value of the 'tmMaxCharWidth' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- MaxCharWidth.
-- Notes:
-- None.

set_max_char_weight (weight: INTEGER)
-- Purpose:
-- Set the 'tmWeight' member of the corresponding
-- C++ structure to the specified textmetric element Weight
-- Params:
-- Weight [in]
-- Weight of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_weight: INTEGER
-- Purpose:
-- Resturn the value of the 'tmWeight' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- Weight.
-- Notes:
-- None.

set_italic (italic: INTEGER)
-- Purpose:
-- Set the 'tmItalic' member of the corresponding
-- C++ structure to the specified textmetric element Italic
-- Params:
-- Italic [in]
-- Italic of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_italic: INTEGER
-- Purpose:
-- Resturn the value of the 'tmItalic' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- Italic.
-- Notes:
-- None.

set_underlined (underlined: INTEGER)
-- Purpose:
-- Set the 'tmUnderlined' member of the corresponding
-- C++ structure to the specified textmetric element Underlined
-- Params:
-- Underlined [in]
-- Underlined of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_underlined: INTEGER
-- Purpose:
-- Resturn the value of the 'tmUnderlined' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- Underlined.
-- Notes:
-- None.

set_struck_out (struck_out: INTEGER)
-- Purpose:
-- Set the 'tmStruckOut' member of the corresponding
-- C++ structure to the specified textmetric element StruckOut
-- Params:
-- StruckOut [in]
-- StruckOut of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_struck_out: INTEGER
-- Purpose:
-- Resturn the value of the 'tmStruckOut' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- StruckOut.
-- Notes:
-- None.

set_first_char (first_char: INTEGER)
-- Purpose:
-- Set the 'tmFirstChar' member of the corresponding
-- C++ structure to the specified textmetric element FirstChar
-- Params:
-- FirstChar [in]
-- FirstChar of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_first_char: INTEGER
-- Purpose:
-- Resturn the value of the 'tmFirstChar' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- FirstChar.
-- Notes:
-- None.

set_last_char (last_char: INTEGER)
-- Purpose:
-- Set the 'tmLastChar' member of the corresponding
-- C++ structure to the specified textmetric element LastChar
-- Params:
-- LastChar [in]
-- LastChar of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_last_char: INTEGER
-- Purpose:
-- Resturn the value of the 'tmLastChar' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- LastChar.
-- Notes:
-- None.

set_default_char (default_char: INTEGER)
-- Purpose:
-- Set the 'tmDefaultChar' member of the corresponding
-- C++ structure to the specified textmetric element DefaultChar
-- Params:
-- DefaultChar [in]
-- DefaultChar of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_default_char: INTEGER
-- Purpose:
-- Resturn the value of the 'tmDefaultChar' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- DefaultChar.
-- Notes:
-- None.

set_break_char (break_char: INTEGER)
-- Purpose:
-- Set the 'tmBreakChar' member of the corresponding
-- C++ structure to the specified textmetric element BreakChar
-- Params:
-- BreakChar [in]
-- BreakChar of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_break_char: INTEGER
-- Purpose:
-- Resturn the value of the 'tmBreakChar' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- BreakChar.
-- Notes:
-- None.

set_pitch_and_family (pitch_and_family: INTEGER)
-- Purpose:
-- Set the 'tmPitchAndFamily' member of the corresponding
-- C++ structure to the specified textmetric element PitchAndFamily
-- Params:
-- PitchAndFamily [in]
-- PitchAndFamily of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_pitch_and_family: INTEGER
-- Purpose:
-- Resturn the value of the 'tmPitchAndFamily' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- PitchAndFamily.
-- Notes:
-- None.

set_char_set (char_set: INTEGER)
-- Purpose:
-- Set the 'tmCharSet' member of the corresponding
-- C++ structure to the specified textmetric element CharSet
-- Params:
-- CharSet [in]
-- CharSet of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_char_set: INTEGER
-- Purpose:
-- Resturn the value of the 'tmCharSet' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- CharSet.
-- Notes:
-- None.

set_overhang (overhang: INTEGER)
-- Purpose:
-- Set the 'tmOverhang' member of the corresponding
-- C++ structure to the specified textmetric element Overhang
-- Params:
-- Overhang [in]
-- Overhang of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_overhang: INTEGER
-- Purpose:
-- Resturn the value of the 'tmOverhang' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- Overhang.
-- Notes:
-- None.

set_digitized_aspect_x (digitized_aspect_x: INTEGER)
-- Purpose:
-- Set the 'tmDigitizedAspectX' member of the corresponding
-- C++ structure to the specified textmetric element DigitizedAspectX
-- Params:
-- DigitizedAspectX [in]
-- DigitizedAspectX of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_digitized_aspect_x: INTEGER
-- Purpose:
-- Resturn the value of the 'tmDigitizedAspectX' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- DigitizedAspectX.
-- Notes:
-- None.

set_digitized_aspect_y (digitized_aspect_y: INTEGER)
-- Purpose:
-- Set the 'tmDigitizedAspectY' member of the corresponding
-- C++ structure to the specified textmetric element DigitizedAspectY
-- Params:
-- DigitizedAspectY [in]
-- DigitizedAspectY of the textmetric element
-- to init the corresponding field of the structure.
-- Return Value:
-- None.
-- Notes:
-- None.

get_digitized_aspect_y: INTEGER
-- Purpose:
-- Resturn the value of the 'tmDigitizedAspectY' member of the
-- corresponding C++ structure.
-- Params:
-- None.
-- Return Value:
-- DigitizedAspectY.
-- Notes:
-- None.
end -- class EOLE_TEXTMETRIC

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES