[TBinaryFile] [Index] [TBitmap]

Class TBitmap


File: <toad/bitmap.hh>

A bitmap image for the TPen.DrawBitmap operation.

Super Classes

TOADBase

Attributes

protected TRGB *color
protected EBitmapDither dither
public int height
protected unsigned char *index
protected unsigned long mask
protected EBitmapMode mode
protected bool modified
protected int pix_height
protected int pix_width
protected unsigned long pixmap
public int width
protected int zoom

Methods

AddFilter
public static bool AddFilter(TBitmapFilter*)
ClearMask
public void ClearMask()
Close
public static void Close()
DrawBitmap
public void DrawBitmap(const TPen *, int, int, int, int, int, int, int)
public void DrawBitmap(const TPen *, int, int)
public void DrawBitmap(const TPen *, int, int, int, int, int, int)
GetInputFilter
public static bool GetInputFilter(TFileDialog&)
GetOutputFilter
public static bool GetOutputFilter(TFileDialog&)
GetPixel
public bool GetPixel(int x, int y, short *r, short *g, short *b)
public bool GetPixel(int x, int y, TRGB*)
Load
public void Load(const string&)
Load a bitmap file.
Throws a runtime_error exception when an error occurs.
Open
public static void Open()
Save
public bool Save(const string&, void* xtra= ((void *)0))
SetDither
public void SetDither(EBitmapDither)
SetMask
public void SetMask(const TBitmapMask&)
Sets the bitmap mask.

SetPixel
public void SetPixel(int x, int y, short r, short g, short b)
SetZoom
public void SetZoom(int z)
TBitmap
public TBitmap()
public TBitmap(int w, int h, EBitmapType type=TBITMAP_TRUECOLOR)
public virtual ~TBitmap()
Update
public void Update()
copy_bitmap_to_pixmap_and_delete_it
protected void copy_bitmap_to_pixmap_and_delete_it()
pCopyToLine
protected void pCopyToLine(int x1, int x2, int y, int *line)
pGetColor
protected TRGB & pGetColor(int, int)
protected TRGB & pGetColor(int)

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