Language
	
	
  
  
    
    
The Free and Open Productivity Suite
   
      
      
 
:: com :: sun :: star :: awt ::  
 | 
| interface XDevice | 
 | 
- Description
 
- provides information about a graphical output device and
 offers a factory for the graphics which provides write
 operations on the device.
 
 
 
 | 
| Methods' Summary | 
| createGraphics | 
creates a new graphics whose output operation is directed to this
 device.
   | 
| createDevice | 
creates a new device which is compatible with this one.
 
   | 
| getInfo | 
returns information about the device.
   | 
| getFontDescriptors | 
returns the list of available font descriptors.
   | 
| getFont | 
returns information about a font offered by this device. 
   | 
| createBitmap | 
creates a bitmap with the current device depth.
 
   | 
| createDisplayBitmap | 
creates a device compatible bitmap. 
 
   | 
| Methods' Details | 
createGraphics
 
- Description
 
- creates a new graphics whose output operation is directed to this
 device.
 
 
 
 | 
 
 
 | 
createDevice
| XDevice | 
 
| createDevice( | 
[in] long | 
 nWidth, | 
 
 | [in] long | 
 nHeight ); | 
 
 
 
- Description
 
- creates a new device which is compatible with this one.
 
 
 
If the device does not support the GETBITS device capability, 
 this method returns NULL. 
  
 
 | 
 
 
 | 
getInfo
 
- Description
 
- returns information about the device.
 
 
 
 | 
 
 
 | 
getFontDescriptors
 
- Description
 
- returns the list of available font descriptors.
 
 
 
 | 
 
 
 | 
getFont
 
- Description
 
- returns information about a font offered by this device. 
 
 
- Returns
 
- the font of this device.
 
 
 
- Parameter aDescriptor
 
- specifies the description of a font. 
 The unit of measure is pixel for this device.
 
 
 
 | 
 
 
 | 
createBitmap
| XBitmap | 
 
| createBitmap( | 
[in] long | 
 nX, | 
 
 | [in] long | 
 nY, | 
 
 | [in] long | 
 nWidth, | 
 
 | [in] long | 
 nHeight ); | 
 
 
 
- Description
 
- creates a bitmap with the current device depth.
 
 
 
If the specified area does not lie entirely in the device, the bits
 outside are not specified. 
  
 
 | 
 
 
 | 
createDisplayBitmap
 
- Description
 
- creates a device compatible bitmap. 
 
 
 
The data of the bitmap is in process memory instead of in the device, 
 so that the output operation is fast. 
  
 
 | 
 
 
 | 
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.