Public Member Functions | List of all members
Celartem::DjVu::Image Class Referenceabstract

#include <djv_image.h>

Inheritance diagram for Celartem::DjVu::Image:
Inheritance graph
[legend]

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 ()
 

Detailed Description

This class represents an image.

Member Function Documentation

virtual size_t Celartem::DjVu::Image::getDpi ( ) const
pure virtual

Get the resolution of the image in dot-per-inch.

Returns
The resolution of the image in dot-per-inch.
virtual size_t Celartem::DjVu::Image::getHeight ( ) const
pure virtual

Get the height of the image in pixels.

Returns
The height in pixels.
virtual Photometric Celartem::DjVu::Image::getPhotometric ( ) const
pure virtual

Get the photometric interpretation of the image.

Returns
The photometric interpretation of the image.
virtual size_t Celartem::DjVu::Image::getWidth ( ) const
pure virtual

Get the width of the image in pixels.

Returns
The width in pixels.
virtual void Celartem::DjVu::Image::render ( void *  outBuffer,
ssize_t  inStride,
const Celartem::Rect inRect 
) const
pure virtual

Render the actual pixels of the specified portion of the image.

Parameters
outBufferPointer to a buffer, which receives the actual pixels.
inStrideStride, bytes-per-line of the buffer.
inRectPortion of the image to render.

The documentation for this class was generated from the following file:

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:07.
Cuminas Logo