Changes between Version 8 and Version 9 of MapGuideRfc170


Ignore:
Timestamp:
May 25, 2019, 3:37:32 AM (5 years ago)
Author:
jng
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc170

    v8 v9  
    77
    88||RFC Template Version||(1.0)||
    9 ||Submission Date||||
    10 ||Last Modified||22 May 2019||
     9||Submission Date||22 May 2019||
     10||Last Modified||25 May 2019||
    1111||Author||Jackie Ng||
    1212||RFC Status||Ready for review||
    1313||Implementation Status||sandbox in progress||
    14 ||Proposed Milestone||3.3||
     14||Proposed Milestone||4.0||
    1515||Assigned PSC guide(s)||(when determined)||
    1616||'''Voting History'''||(vote date)||
    17 ||+1||||
     17||+1||Jackie,Gordon,Crispin,Martin||
    1818||+0||||
    1919||-0||||
    2020||-1||||
    21 ||no vote|| ||
     21||no vote||Haris,Reno,Trevor||
    2222
    2323== Overview ==
     
    207207If applications do take advantage of these new overloads, it is expected they will always pass a {{{metaTilingFactor}}} of {{{0}}} when calling these new overloads or they know how to process and sub-divide the raw image frame buffer back into tile images of the original tile size.
    208208
     209The 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
     211The 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
     220class MG_MAPGUIDE_API MgMetatile : public MgSerializable
     221{
     222    MG_DECL_DYNCREATE()
     223    DECLARE_CLASSNAME(MgMetatile)
     224
     225EXTERNAL_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
    209261Meta-tiling support will be surfaced via new tile set definition parameters:
    210262