Bitmap_16bitAlphaCrop.h
Go to the documentation of this file.00001 00010 #ifndef __Bitmap_16bitAlphaCrop_H__ 00011 #define __Bitmap_16bitAlphaCrop_H__ 00012 00013 // Includes 00014 #include "Bitmap.h" 00015 00016 00017 // Forward declares 00018 class Image; 00019 00020 // Bitmap_16bitAlphaCrop 00021 class Bitmap_16bitAlphaCrop:public Bitmap 00022 { 00023 public: 00024 Bitmap_16bitAlphaCrop(); 00025 00026 Bitmap_16bitAlphaCrop(const Asset& asset); 00027 00028 Bitmap_16bitAlphaCrop(const Image& image, bool dither = false); 00029 00030 Bitmap_16bitAlphaCrop(const Image& color, const Image& alpha, bool dither = false); 00031 00032 ~Bitmap_16bitAlphaCrop(); 00033 00034 virtual StringId GetType(); 00035 00036 virtual void Save(Asset& asset) const; 00037 virtual void Load(const Asset& asset); 00038 00039 virtual void WriteToAsset(Asset* asset) const; 00040 virtual void ReadFromAsset(const Asset* asset); 00041 void ReadFromAsset_Old(const Asset* asset); 00042 }; 00043 00044 #endif /* __Bitmap_16bitAlphaCrop_H__ */ 00045
Reproduction/republishing of any material on this site without permission is strictly prohibited.
