Package | Description |
---|---|
org.eclipse.jface.dialogs |
Provides support for dialogs.
|
org.eclipse.swt.graphics |
SWT graphics classes.
|
org.eclipse.ui.views.markers |
Utility classes for working with markers in views
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Modifier and Type | Method and Description |
---|---|
FontMetrics |
GC.getFontMetrics()
Returns a FontMetrics which contains information
about the font currently being used by the receiver
to draw and measure text.
|
FontMetrics |
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)
Invokes platform specific functionality to allocate a new font metrics.
|
Modifier and Type | Method and Description |
---|---|
protected FontMetrics |
FilterConfigurationArea.getFontMetrics()
Return the
FontMetrics for the receiver. |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.