Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


Class DirectDrawBitmap

public class DirectDrawBitmap implements IDirectDrawBitmap
{
  // Methods
  public void filename(String val);
  public int height();
  public void initHeight(int val);
  public void initWidth(int val);
  public int loaded();
  public int width();
}

Applications use the DirectDrawBitmap class to create and manage bitmaps.

Methods

filename

public void filename(String val);

Sets the name of the file containing the bitmap data.

Return Value:

No return value.

ParameterDescription
val The name of the bitmap file.

height

public int height();

Retrieves the actual height of the bitmap.

Return Value:

Returns the height, in pixels.

initHeight

public void initHeight(int val);

Sets the initial height of the bitmap.

Return Value:

No return value.

ParameterDescription
val The initial height, in pixels.

initWidth

public void initWidth(int val);

Initializes the width of the bitmap.

Return Value:

No return value.

ParameterDescription
val The initial width, in pixels.

loaded

public int loaded();

Indicates whether the bitmap data has been loaded.

Return Value:

Returns 1 if loaded, 0 otherwise.

width

public int width();

Retrieves the actual width of the bitmap.

Return Value:

Returns the width in pixels.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.