Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIDrawingSurfaceBeOS Class Reference

#include <nsIDrawingSurfaceBeOS.h>

Inheritance diagram for nsIDrawingSurfaceBeOS:
Inheritance graph
[legend]
Collaboration diagram for nsIDrawingSurfaceBeOS:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD Init (BView *aView)=0
 Initialize a drawing surface using a windows DC.
NS_IMETHOD Init (BView *aView, PRUint32 aWidth, PRUint32 aHeight, PRUint32 aFlags)=0
 Initialize an offscreen drawing surface using a windows DC.

Detailed Description

Definition at line 51 of file nsIDrawingSurfaceBeOS.h.


Member Function Documentation

NS_IMETHOD nsIDrawingSurfaceBeOS::Init ( BView *  aView) [pure virtual]

Initialize a drawing surface using a windows DC.

aDC is "owned" by the drawing surface until the drawing surface is destroyed.

Parameters:
aDCHDC to initialize drawing surface with
Returns:
error status

Implemented in nsDrawingSurfaceBeOS.

NS_IMETHOD nsIDrawingSurfaceBeOS::Init ( BView *  aView,
PRUint32  aWidth,
PRUint32  aHeight,
PRUint32  aFlags 
) [pure virtual]

Initialize an offscreen drawing surface using a windows DC.

aDC is not "owned" by this drawing surface, instead it is used to create a drawing surface compatible with aDC. if width or height are less than zero, aDC will be created with no offscreen bitmap installed.

Parameters:
aDCHDC to initialize drawing surface with
aWidthwidth of drawing surface
aHeightheight of drawing surface
aFlagsflags used to control type of drawing surface created
Returns:
error status

Implemented in nsDrawingSurfaceBeOS.


The documentation for this class was generated from the following file: