org.eclipse.swt.graphics.FontData

Copyright (c) 2000, 2008 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html

Contributors: IBM Corporation - initial API and implementation Port to the D programming language: Frank Benoit <benoit@tionex.de>

Members

Classes

FontData
class FontData

Instances of this class describe operating system fonts. <p> For platform-independent behaviour, use the get and set methods corresponding to the following properties: <dl> <dt>height</dt><dd>the height of the font in points</dd> <dt>name</dt><dd>the face name of the font, which may include the foundry</dd> <dt>style</dt><dd>A bitwise combination of NORMAL, ITALIC and BOLD</dd> </dl> If extra, platform-dependent functionality is required: <ul> <li>On <em>Windows</em>, the data member of the <code>FontData</code> corresponds to a Windows <code>LOGFONT</code> structure whose fields may be retrieved and modified.</li> <li>On <em>X</em>, the fields of the <code>FontData</code> correspond to the entries in the font's XLFD name and may be retrieved and modified. </ul> Application code does <em>not</em> need to explicitly release the resources managed by each instance when those instances are no longer required, and thus no <code>dispose()</code> method is provided.

Meta