:: com :: sun :: star :: awt ::
|
interface XFont |
|
- Description
- describes a font on a specific device.
All values are in pixels within this device.
|
Methods' Details |
getFontDescriptor
- Description
- returns the description of the font.
The unit of measurement is pixels for the device.
|
|
getFontMetric
- Description
- returns additional information about the font.
|
|
getCharWidth
short |
getCharWidth( |
[in] char |
c ); |
- Description
- returns the width of the specified character.
- Returns
- the character width measured in pixels for the device.
|
|
getCharWidths
sequence< short > |
getCharWidths( |
[in] char |
nFirst, |
| [in] char |
nLast ); |
- Description
- returns the widths of the specified characters.
- Returns
- a sequence of the widths of subsequent characters for this font.
|
|
getStringWidth
long |
getStringWidth( |
[in] string |
str ); |
- Description
- returns the string width.
- Returns
- the width of the specified string of characters
measured in pixels for the device.
|
|
getStringWidthArray
long |
getStringWidthArray( |
[in] string |
str, |
| [out] sequence< long > |
aDXArray ); |
- Description
- returns the string and the character widths.
- Returns
- the width of the specified string of characters
measured in pixels for the device.
- Parameter aDXArray
- receives the width of every single character
measured in pixels for the device.
|
|
getKernPairs
void |
getKernPairs( |
[out] sequence< char > |
Chars1, |
| [out] sequence< char > |
Chars2, |
| [out] sequence< short > |
Kerns ); |
- Description
- queries the kerning pair table.
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.