#include <djv_image.h>
Public Member Functions | |
virtual size_t | getWidth () const =0 |
virtual size_t | getHeight () const =0 |
virtual Photometric | getPhotometric () const =0 |
virtual size_t | getDpi () const =0 |
virtual void | render (void *outBuffer, ssize_t inStride, const Celartem::Rect &inRect) const =0 |
Public Member Functions inherited from Celartem::Referable | |
Referable () | |
void | addRef () const |
void | releaseRef () const |
size_t | getReferenceCount () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Celartem::Referable | |
static void | dumpDbgAllRefCount () |
This class represents an image.
|
pure virtual |
Get the resolution of the image in dot-per-inch.
|
pure virtual |
Get the height of the image in pixels.
|
pure virtual |
Get the photometric interpretation of the image.
|
pure virtual |
Get the width of the image in pixels.
|
pure virtual |
Render the actual pixels of the specified portion of the image.
outBuffer | Pointer to a buffer, which receives the actual pixels. |
inStride | Stride, bytes-per-line of the buffer. |
inRect | Portion of the image to render. |