|
Maps SDK for C++ 1.0.0
|
Adjustable bitmap interface. More...


Public Member Functions | |
| virtual Size | adjustSize (const Size &sz)=0 |
| Adjust bitmap size with the given recommended value. | |
| virtual int | getDpi () const |
| Get the user required dpi ( needed for text rendering ). | |
| virtual void * | begin ()=0 |
| For Bitmap context: get the start address of the bitmap. | |
| template<typename TAddr = void> | |
| TAddr * | beginType () |
| Reinterpret the start address of the bitmap. | |
| virtual void | end ()=0 |
| For Bitmap context: announce the bitmap's memory should be unlocked. | |
| virtual Size | size () const =0 |
| Get the size of the bitmap. | |
| virtual int | alignment () const =0 |
| Return the alignment in bytes of the bitmap's memory. | |
| int | stride () const |
| Return the image stride size. | |
| int | memory () const |
| Return the bitmap memory size. | |
| virtual EImagePixelFormat | encoding () const =0 |
| Get the encoding. | |
| virtual Rect const & | viewport () const =0 |
| Get the viewport rectangle associated with this rendering context. | |
| virtual const void * | getSystemContext () const |
| Get the system rendering context (platform-dependent). | |
Static Public Member Functions | |
| static StrongPointer< class IAdjustableBitmap > | produce (const Size &sz, EImagePixelFormat format) |
| Create a default adjustable bitmap ( SDK impl ). | |
Adjustable bitmap interface.
Adjust bitmap size with the given recommended value.
The rendering engine will use the requested height and will compute an optimal width If a different height is returned then the rendering engine will carry out the calculation step again and propose a new width
| sz | The recommended size |
|
pure virtualinherited |
Return the alignment in bytes of the bitmap's memory.
Common values: 1, 4, 8.
|
pure virtualinherited |
For Bitmap context: get the start address of the bitmap.
Announce the bitmap's memory should be locked.
|
inlineinherited |
Reinterpret the start address of the bitmap.
| TAddr | The type of the address |
|
pure virtualinherited |
Get the encoding.
|
inlinevirtual |
Get the user required dpi ( needed for text rendering ).
|
inlinevirtualinherited |
Get the system rendering context (platform-dependent).
|
inlineinherited |
Return the bitmap memory size.
|
staticinherited |
Create a default adjustable bitmap ( SDK impl ).
| sz | The size of the bitmap |
| format | The pixel format of the bitmap |
|
pure virtualinherited |
Get the size of the bitmap.
|
inlineinherited |
Return the image stride size.
|
pure virtualinherited |
Get the viewport rectangle associated with this rendering context.