| 209 | The new `MgMetatile` class is a semi-opaque handle from the perspective of MapGuide applications and its only purpose is really only to be fed to the {{{RenderTileFromMetaTile}}} method. |
| 210 | |
| 211 | The class is shown below for reference: |
| 212 | |
| 213 | {{{ |
| 214 | ///////////////////////////////////////////////////////////////// |
| 215 | /// \brief |
| 216 | /// Defines a raw image frame buffer from the result of a meta-tile |
| 217 | /// rendering operation |
| 218 | /// |
| 219 | /// \since 3.3 |
| 220 | class MG_MAPGUIDE_API MgMetatile : public MgSerializable |
| 221 | { |
| 222 | MG_DECL_DYNCREATE() |
| 223 | DECLARE_CLASSNAME(MgMetatile) |
| 224 | |
| 225 | EXTERNAL_API: |
| 226 | |
| 227 | /// \brief |
| 228 | /// Gets the meta-tile content. If no meta-tiling is performed, this is the tile image. Otherwise, |
| 229 | /// it is the raw image frame buffer (for sub-dividing into originally requested tile images) |
| 230 | MgByteReader* GetImage(); |
| 231 | |
| 232 | /// \brief |
| 233 | /// Gets the originally requested width of this tile |
| 234 | INT32 GetRequestedWidth(); |
| 235 | |
| 236 | /// \brief |
| 237 | /// Gets the originally requested height of this tile |
| 238 | INT32 GetRequestedHeight(); |
| 239 | |
| 240 | /// \brief |
| 241 | /// Gets the width of this metatile |
| 242 | INT32 GetWidth(); |
| 243 | |
| 244 | /// \brief |
| 245 | /// Gets the height of this metatile |
| 246 | |
| 247 | INT32 GetHeight(); |
| 248 | |
| 249 | /// \brief |
| 250 | /// Gets the meta-tiling factor. |
| 251 | INT32 GetMetaTilingFactor(); |
| 252 | |
| 253 | /// \brief |
| 254 | /// Gets the originally requested tile image format |
| 255 | STRING GetTileImageFormat(); |
| 256 | |
| 257 | ... |
| 258 | }; |
| 259 | }}} |
| 260 | |