[TBitmapFilter] [Index] [TBitmapMask]

Class TBitmapMask


File: <toad/bitmap.hh>

The bitmap mask tells a bitmap where it's pixels should be transparent.

See the methods `SetMask(const TBitmapMask &m)' and `ClearMask()' in TBitmap.

Attention

The current implementation is brain damaged and very slow. Removes the bitmap mask.

Super Classes

Attributes

public int _h
public int _w
public byte *data

Methods

ClearAll
public void ClearAll()
All pixels will be drawn.
GetPixel
public bool GetPixel(int, int)
Returns `true' when the pixel at position (x,y) is visible.
SetPixel
public void SetPixel(int, int, bool)
When paint_pixel is true the pixel at position (x,y) is visible.
TBitmapMask
public TBitmapMask(int w, int h)
public ~TBitmapMask()

This page was generated with Stupid -- Another stupid C++ to HTML generator
Written 1998,99 by The Wizards of Zilog
Copyright © 1998,99 by the TOAD Project