![]() |
MyScript Interactive Ink SDK 4.2.0
|
#include <IImagePainter.h>
Public Member Functions | |
| virtual | ~IImagePainter ()=default |
| virtual void | prepareImage (int width, int height, float dpi)=0 |
| virtual void | saveImage (const String &path)=0 |
| virtual std::shared_ptr< graphics::ICanvas > | createCanvas ()=0 |
The ImagePainter converts rendering data into images in view e.g. for integration into .docx exports.
|
virtualdefault |
|
pure virtual |
Invoked before starting to draw an image. This call is meant to enable preparation of the image destination in memory (e.g. memory allocation).
| width | the image width. |
| height | the image height. |
| dpi | the resolution of the image in dots per inch. |
|
pure virtual |
Invoked once image drawing is over. Requests saving the image to disk.
| path | the image destination. |
|
pure virtual |
Creates a canvas to draw the image.