[TBitmap] [Index]
[TBitmapFilter] Class TBitmapFilter
File: <toad/bitmapfilter.hh>
The base class for the PNG, BMP, JPEG and other bitmap import/export
filters.
When you don't want to write or modify a bitmap filter you won't even
have to think about this class.
Super Classes
Attributes
public const char *errortxt
protected int h
public TBitmapFilter *next
protected int w
Methods
ConvertToIndexed
|
public bool ConvertToIndexed(int *palette_size)
|
|
|
CreateBuffer
|
public void CreateBuffer(int w, int h, EBitmapType)
|
|
|
DeleteBuffer
|
public void DeleteBuffer()
|
|
|
EditSpecific
|
public virtual int EditSpecific()
|
|
|
GetBuffer
|
public void GetBuffer(int *w, int *h, TRGB**, unsigned char**)
|
|
|
GetColorPixel
|
public bool GetColorPixel(int x, int y, TRGB*)
|
|
|
GetExt
|
public virtual const char * GetExt()
|
|
|
GetIndexColor
|
public bool GetIndexColor(int index, TRGB *c)
|
|
|
GetIndexPixel
|
public int GetIndexPixel(int x, int y)
|
|
|
GetName
|
public virtual const char * GetName()
|
|
|
IsIndex
|
public bool IsIndex()
|
|
|
Load
|
public virtual EResult Load(TFile &)
|
|
|
Save
|
public virtual bool Save(TFile &)
|
|
|
SetBuffer
|
public void SetBuffer(int w, int h, TRGB*, unsigned char*)
|
|
|
SetColorPixel
|
public void SetColorPixel(int x, int y, TRGB&)
|
|
|
SetError
|
public void SetError(const char *txt)
|
|
|
SetIndexColor
|
public void SetIndexColor(int index, TRGB &c)
|
|
|
SetIndexPixel
|
public void SetIndexPixel(int x, int y, int index)
|
|
|
TBitmapFilter
|
public TBitmapFilter()
public virtual ~TBitmapFilter()
|
|
|
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