Uses of Class
org.eclipse.swt.graphics.FontMetrics
Package
Description
Provides support for dialogs.
SWT Custom widgets.
SWT graphics classes.
Utility classes for working with markers in views
-
Uses of FontMetrics in org.eclipse.jface.dialogs
Modifier and TypeMethodDescriptionstatic int
Dialog.convertHeightInCharsToPixels
(FontMetrics fontMetrics, int chars) Returns the number of pixels corresponding to the height of the given number of characters.static int
Dialog.convertHorizontalDLUsToPixels
(FontMetrics fontMetrics, int dlus) Returns the number of pixels corresponding to the given number of horizontal dialog units.static int
Dialog.convertVerticalDLUsToPixels
(FontMetrics fontMetrics, int dlus) Returns the number of pixels corresponding to the given number of vertical dialog units.static int
Dialog.convertWidthInCharsToPixels
(FontMetrics fontMetrics, int chars) Returns the number of pixels corresponding to the width of the given number of characters. -
Uses of FontMetrics in org.eclipse.swt.custom
-
Uses of FontMetrics in org.eclipse.swt.graphics
Modifier and TypeMethodDescriptionGC.getFontMetrics()
Returns a FontMetrics which contains information about the font currently being used by the receiver to draw and measure text.TextLayout.getLineMetrics
(int lineIndex) Returns the font metrics for the specified line index.static FontMetrics
FontMetrics.win32_new
(org.eclipse.swt.internal.win32.TEXTMETRIC handle, int nativeZoom) Invokes platform specific functionality to allocate a new font metrics.Modifier and TypeMethodDescriptionvoid
TextLayout.setFixedLineMetrics
(FontMetrics metrics) Forces line heights in receiver to obey provided value. -
Uses of FontMetrics in org.eclipse.ui.views.markers
Modifier and TypeMethodDescriptionprotected FontMetrics
FilterConfigurationArea.getFontMetrics()
Return theFontMetrics
for the receiver.