7 #ifndef __image_ImageI_h__ 8 #define __image_ImageI_h__ 40 virtual I32 createSelect(
void) =0;
43 virtual I32 loadSelect(
String filename) =0;
46 virtual I32 interpretSelect(
void*
data,U32 size) =0;
49 virtual I32 interpretSelect(
String a_source) =0;
52 virtual BWORD save(
String filename) =0;
55 virtual void select(I32
id) =0;
58 virtual I32 selected(
void)
const =0;
61 virtual void unload(I32
id) =0;
64 virtual void setFormat(ImageI::Format format) =0;
67 virtual ImageI::Format format(
void)
const =0;
70 virtual void resize(U32 width,U32 height,U32 depth) =0;
73 virtual void replaceRegion(U32 x,U32 y,U32 z,
74 U32 width,U32 height,U32 depth,
void* data) =0;
77 virtual U32 width(
void)
const =0;
80 virtual U32 height(
void)
const =0;
83 virtual U32 depth(
void)
const =0;
86 virtual void* raw(
void)
const =0;
92 virtual I32 serial(
void)
const =0;
94 virtual U32 regionCount(
void)
const =0;
95 virtual String regionName(U32 a_regionIndex)
const =0;
96 virtual Box2i regionBox(
String a_regionName)
const =0;
97 virtual String pickRegion(I32 a_x,I32 a_y)
const =0;
Image and texture handling.
Definition: ImageI.h:26
kernel
Definition: namespace.dox:3
Automatically reference-counted string container.
Definition: String.h:128
Base for all interfacable components.
Definition: Component.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192