11 |
// http://www.fsf.org/licenses/gpl.html. |
// http://www.fsf.org/licenses/gpl.html. |
12 |
// |
// |
13 |
// $Id$ |
// $Id$ |
|
// $Log$ |
|
|
// Revision 1.4 2004/12/26 09:35:23 skunix |
|
|
// use logging functionality |
|
|
// |
|
|
// Revision 1.3 2004/12/26 08:03:34 skunix |
|
|
// changed lambda::bind's to boost::binds |
|
|
// |
|
|
// Revision 1.2 2004/12/26 02:29:33 skunix |
|
|
// Texture manager basics written, and texture-meta-parser added |
|
|
// |
|
|
// Revision 1.1 2004/12/25 19:01:59 skunix |
|
|
// started texture-related classes |
|
|
// |
|
14 |
|
|
15 |
#include <boost/scoped_array.hpp> |
#include <boost/scoped_array.hpp> |
16 |
|
|
67 |
Texture::Texture (const TextureMeta* meta) |
Texture::Texture (const TextureMeta* meta) |
68 |
{ |
{ |
69 |
Magick::Image XI(meta->filepath.native_file_string()); |
Magick::Image XI(meta->filepath.native_file_string()); |
70 |
log::Stream2 logstream(log::Level::DEBUG); |
log::BufferedStream logstream(log::Level::DEBUG); |
71 |
logstream << XI.columns() << "x" <<XI.rows() <<log::Commit; |
logstream << XI.columns() << "x" <<XI.rows() << log::commit; |
72 |
Magick::ImageType image_type = XI.type(); |
Magick::ImageType image_type = XI.type(); |
73 |
unsigned Depth; |
unsigned Depth; |
74 |
std::string Type; |
std::string Type; |