本文整理汇总了C++中KmlRenderer类的典型用法代码示例。如果您正苦于以下问题:C++ KmlRenderer类的具体用法?C++ KmlRenderer怎么用?C++ KmlRenderer使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了KmlRenderer类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: msRenderVectorSymbolKml
int msRenderVectorSymbolKml(imageObj *img, double x, double y,
symbolObj *symbol, symbolStyleObj *style)
{
KmlRenderer* renderer = getKmlRenderer(img);
renderer->renderVectorSymbol(img, x, y, symbol, style);
return MS_SUCCESS;
}
示例2: msRenderTruetypeSymbolKml
int msRenderTruetypeSymbolKml(imageObj *image, double x, double y,
symbolObj *symbol, symbolStyleObj *style)
{
KmlRenderer* renderer = getKmlRenderer(image);
renderer->renderTruetypeSymbol(image, x, y, symbol, style);
return MS_SUCCESS;
}
示例3: msRenderGlyphsKml
int msRenderGlyphsKml(imageObj *img, double x, double y,
labelStyleObj *style, char *text)
{
KmlRenderer* renderer = getKmlRenderer(img);
renderer->renderGlyphs(img, x, y, style, text);
return MS_SUCCESS;
}
示例4: msRenderGlyphsKml
int msRenderGlyphsKml(imageObj *img, pointObj *labelpnt, char *text, double angle, colorObj *clr, colorObj *olcolor, int olwidth)
{
KmlRenderer* renderer = getKmlRenderer(img);
renderer->renderGlyphs(img, labelpnt, text, angle, clr, olcolor, olwidth);
return MS_SUCCESS;
}
示例5: msRenderPolygonKml
int msRenderPolygonKml(imageObj *img, shapeObj *p, colorObj *color)
{
KmlRenderer* renderer = getKmlRenderer(img);
renderer->renderPolygon(img, p, color);
return MS_SUCCESS;
}
示例6: msRenderLineKml
int msRenderLineKml(imageObj *img, shapeObj *p, strokeStyleObj *style)
{
KmlRenderer* renderer = getKmlRenderer(img);
renderer->renderLine(img, p, style);
return MS_SUCCESS;
}
示例7: msSaveImageKml
int msSaveImageKml(imageObj *img, mapObj* map, FILE *fp, outputFormatObj *format)
{
KmlRenderer* renderer = getKmlRenderer(img);
return renderer->saveImage(img, fp, format);
}
示例8: msMergeRasterBufferKml
int msMergeRasterBufferKml(imageObj *dest, rasterBufferObj *overlay, double opacity, int srcX,
int srcY, int dstX, int dstY, int width, int height)
{
KmlRenderer* renderer = getKmlRenderer(dest);
return renderer->mergeRasterBuffer(dest,overlay);
}
示例9: msEndShapeKml
int msEndShapeKml(imageObj *img, shapeObj *shape)
{
KmlRenderer* renderer = getKmlRenderer(img);
renderer->endShape(img, shape);
return MS_SUCCESS;
}
示例10: msCloseNewLayerKml
int msCloseNewLayerKml(imageObj *img, mapObj *map, layerObj *layer)
{
KmlRenderer* renderer = getKmlRenderer(img);
return renderer->closeNewLayer(img, layer);
}