13 #ifndef __IMG_TileFile_H__
14 #define __IMG_TileFile_H__
45 IMG_File *
getFile()
const {
return myDestFile; }
51 myDestFile = fp.get();
52 myDestFileIndex = findex;
80 int twidth,
int theight,
84 int twidth,
int theight,
90 unsigned x0,
unsigned x1,
91 unsigned y0,
unsigned y1)
override;
93 int close(
bool keep_alive=
false)
override;
97 const char *
const *
values)
override;
virtual void writeCustomTag(const char *tagname, int size, const char *const *values)
virtual void getDescription(UT_WorkBuffer &wbuf) const
int getDestFileIndex() const
virtual void checkpoint()
virtual int openMulti(IMG_TileOptionList &flist, int xres, int yres, int tile_width, int tile_height, fpreal aspect)
UT_UniquePtr< IMG_TileFileMapEntry > IMG_TileFileMapEntryPtr
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
IMG_File * getFile() const
int getSourceSize() const
virtual const char * className() const =0
virtual int open(const IMG_TileOptions &info, int xres, int yres, int tile_device, int tile_height, fpreal aspect)=0
Open the device.
virtual int close(bool keep_alive=false)=0
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
int getPlaneIndex() const
virtual int writeTile(const void *data, unsigned x0, unsigned x1, unsigned y0, unsigned y1)=0
GLenum GLsizei GLsizei GLint * values
int getSourceOffset() const
void setupMap(int off, int size, const IMG_FilePtr &fp, int findex, int plane)
UT_UniquePtr< IMG_File > IMG_FilePtr