- indexing
- title: "Visual Eiffel Library.", "The WAPI_TEXTMETRIC class contains basic information about", "a physical font. All sizes are given in logical units;", "that is, they depend on the current mapping mode", "of the display context."
- project: "Visual Eiffel Win32 Library"
- revision: "$Revision: 1.1 $"
- copyright: "Copyright (C) 1996-2005 Object Tools Group"
- license: "http://visual-eiffel.com/license"
- cluster: winlib
class WAPI_TEXTMETRIC
- inherit
-
WAPI_GET_POINTER
- end
- feature -- Class data
-
tmHeight: INTEGER
-
tmAscent: INTEGER
-
tmDescent: INTEGER
-
tmInternalLeading: INTEGER
-
tmExternalLeading: INTEGER
-
tmAveCharWidth: INTEGER
-
tmMaxCharWidth: INTEGER
-
tmWeight: INTEGER
-
tmOverhang: INTEGER
-
tmDigitizedAspectX: INTEGER
-
tmDigitizedAspectY: INTEGER
-
tmFirstChar: CHARACTER
-
tmLastChar: CHARACTER
-
tmDefaultChar: CHARACTER
-
tmBreakChar: CHARACTER
-
tmItalic: CHARACTER
-
tmUnderlined: CHARACTER
-
tmStruckOut: CHARACTER
-
tmPitchAndFamily: CHARACTER
-
tmCharSet: CHARACTER
- feature -- Access
-
ptr: POINTER
- feature -- Change
-
set_tmHeight (i: INTEGER)
-
- ensure
-
correct_set:
tmheight = i
-
set_tmAscent (i: INTEGER)
-
- ensure
-
correct_set:
tmascent = i
-
set_tmDescent (i: INTEGER)
-
- ensure
-
correct_set:
tmdescent = i
-
set_tmInternalLeading (i: INTEGER)
-
- ensure
-
correct_set:
tminternalleading = i
-
set_tmExternalLeading (i: INTEGER)
-
- ensure
-
correct_set:
tmexternalleading = i
-
set_tmAveCharWidth (i: INTEGER)
-
- ensure
-
correct_set:
tmavecharwidth = i
-
set_tmMaxCharWidth (i: INTEGER)
-
- ensure
-
correct_set:
tmmaxcharwidth = i
-
set_tmWeight (i: INTEGER)
-
- ensure
-
correct_set:
tmweight = i
-
set_tmOverhang (i: INTEGER)
-
- ensure
-
correct_set:
tmoverhang = i
-
set_tmDigitizedAspectX (i: INTEGER)
-
- ensure
-
correct_set:
tmdigitizedaspectx = i
-
set_tmDigitizedAspectY (i: INTEGER)
-
- ensure
-
correct_set:
tmdigitizedaspecty = i
-
set_tmFirstChar (c: CHARACTER)
-
- ensure
-
correct_set:
tmfirstchar = c
-
set_tmLastChar (c: CHARACTER)
-
- ensure
-
correct_set:
tmlastchar = c
-
set_tmDefaultChar (c: CHARACTER)
-
- ensure
-
correct_set:
tmdefaultchar = c
-
set_tmBreakChar (c: CHARACTER)
-
- ensure
-
correct_set:
tmbreakchar = c
-
set_tmItalic (c: CHARACTER)
-
- ensure
-
correct_set:
tmitalic = c
-
set_tmUnderlined (c: CHARACTER)
-
- ensure
-
correct_set:
tmunderlined = c
-
set_tmStruckOut (c: CHARACTER)
-
- ensure
-
correct_set:
tmstruckout = c
-
set_tmPitchAndFamily (c: CHARACTER)
-
- ensure
-
correct_set:
tmpitchandfamily = c
-
set_tmCharSet (c: CHARACTER)
-
- ensure
-
correct_set:
tmcharset = c
end -- class WAPI_TEXTMETRIC