comparison dwt/graphics/Font.d @ 60:62202ce0039f

Updated and fixed many modules to 3.514
author Jacob Carlborg <doob@me.com>
date Mon, 22 Dec 2008 15:10:19 +0100
parents cfa563df4fdd
children
comparison
equal deleted inserted replaced
59:83b0ad9d9238 60:62202ce0039f
29 import dwt.dwthelper.utils; 29 import dwt.dwthelper.utils;
30 import dwt.graphics.Device; 30 import dwt.graphics.Device;
31 import dwt.graphics.FontData; 31 import dwt.graphics.FontData;
32 import dwt.graphics.Point; 32 import dwt.graphics.Point;
33 import dwt.graphics.Resource; 33 import dwt.graphics.Resource;
34 import dwt.internal.cocoa.CGFloat; 34 import Carbon = dwt.internal.c.Carbon;
35 35
36 /** 36 /**
37 * Instances of this class manage operating system resources that 37 * Instances of this class manage operating system resources that
38 * define how text looks when it is displayed. Fonts may be constructed 38 * define how text looks when it is displayed. Fonts may be constructed
39 * by providing a device and either name, size and style information 39 * by providing a device and either name, size and style information
172 init_(); 172 init_();
173 } finally { 173 } finally {
174 if (pool !is null) pool.release(); 174 if (pool !is null) pool.release();
175 } 175 }
176 } 176 }
177 177 //FIXME: Jacob Carlborg
178 /*public*/ this(Device device, String name, float height, int style) { 178 /*public*/ this(Device device, String name, float height, int style) {
179 super(device); 179 super(device);
180 init_(name, height, style, null); 180 init_(name, height, style, null);
181 init_(); 181 init_();
182 } 182 }