[mapguide-commits] r1340 - trunk/MgDev/Common/Stylization
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Mar 21 21:04:04 EDT 2007
Author: waltweltonlair
Date: 2007-03-21 21:04:04 -0400 (Wed, 21 Mar 2007)
New Revision: 1340
Modified:
trunk/MgDev/Common/Stylization/GDRenderer.h
trunk/MgDev/Common/Stylization/KmlRenderer.cpp
Log:
Got rid of build warnings in KmlRenderer. Also removed an unused member
variable from GDRenderer.
Modified: trunk/MgDev/Common/Stylization/GDRenderer.h
===================================================================
--- trunk/MgDev/Common/Stylization/GDRenderer.h 2007-03-21 23:35:05 UTC (rev 1339)
+++ trunk/MgDev/Common/Stylization/GDRenderer.h 2007-03-22 01:04:04 UTC (rev 1340)
@@ -43,7 +43,6 @@
struct RS_Font;
class complex_polygon_gd;
-class FontEngine;
class GDRenderer : public Renderer, public SE_Renderer, public RS_FontEngine
{
@@ -236,8 +235,6 @@
LabelRendererBase* m_labeler;
- FontEngine* m_fe;
-
/////////////////////////////////////////////////////////
//
// Functions and structures used during insertion of W2Ds
Modified: trunk/MgDev/Common/Stylization/KmlRenderer.cpp
===================================================================
--- trunk/MgDev/Common/Stylization/KmlRenderer.cpp 2007-03-21 23:35:05 UTC (rev 1339)
+++ trunk/MgDev/Common/Stylization/KmlRenderer.cpp 2007-03-22 01:04:04 UTC (rev 1340)
@@ -598,32 +598,51 @@
//
////////////////////////////////////////////////////////////////////////////////
-void KmlRenderer::DrawScreenPolyline(LineBuffer* geom, const SE_Matrix* xform, unsigned int color, double weight)
+void KmlRenderer::DrawScreenPolyline(LineBuffer* /*geom*/,
+ const SE_Matrix* /*xform*/,
+ unsigned int /*color*/,
+ double /*weight*/)
{
}
-void KmlRenderer::DrawScreenPolygon(LineBuffer* geom, const SE_Matrix* xform, unsigned int fill)
+void KmlRenderer::DrawScreenPolygon(LineBuffer* /*geom*/,
+ const SE_Matrix* /*xform*/,
+ unsigned int /*fill*/)
{
}
-void KmlRenderer::DrawScreenRaster(unsigned char* data, int length, RS_ImageFormat format, int native_width, int native_height,
- double x, double y, double w, double h, double angledeg)
+void KmlRenderer::DrawScreenRaster(unsigned char* /*data*/,
+ int /*length*/,
+ RS_ImageFormat /*format*/,
+ int /*native_width*/,
+ int /*native_height*/,
+ double /*x*/,
+ double /*y*/,
+ double /*w*/,
+ double /*h*/,
+ double /*angledeg*/)
{
}
-void KmlRenderer::DrawScreenText(const RS_String& txt, RS_TextDef& tdef, double insx, double insy, double* path, int npts, double param_position)
+void KmlRenderer::DrawScreenText(const RS_String& /*txt*/,
+ RS_TextDef& /*tdef*/,
+ double /*insx*/,
+ double /*insy*/,
+ double* /*path*/,
+ int /*npts*/,
+ double /*param_position*/)
{
}
-void KmlRenderer::GetWorldToScreenTransform(SE_Matrix& xform)
+void KmlRenderer::GetWorldToScreenTransform(SE_Matrix& /*xform*/)
{
}
-void KmlRenderer::WorldToScreenPoint(double& inx, double& iny, double& ox, double& oy)
+void KmlRenderer::WorldToScreenPoint(double& /*inx*/, double& /*iny*/, double& /*ox*/, double& /*oy*/)
{
}
-void KmlRenderer::ScreenToWorldPoint(double& inx, double& iny, double& ox, double& oy)
+void KmlRenderer::ScreenToWorldPoint(double& /*inx*/, double& /*iny*/, double& /*ox*/, double& /*oy*/)
{
}
@@ -642,15 +661,15 @@
return NULL;
}
-void KmlRenderer::ProcessLabelGroup(SE_LabelInfo* labels,
- int nlabels,
- RS_OverpostType type,
- bool exclude,
- LineBuffer* path)
+void KmlRenderer::ProcessLabelGroup(SE_LabelInfo* /*labels*/,
+ int /*nlabels*/,
+ RS_OverpostType /*type*/,
+ bool /*exclude*/,
+ LineBuffer* /*path*/)
{
}
-void KmlRenderer::AddExclusionRegion(RS_F_Point* fpts, int npts)
+void KmlRenderer::AddExclusionRegion(RS_F_Point* /*fpts*/, int /*npts*/)
{
}
@@ -682,7 +701,7 @@
//try to get some line style information from the SE symbol
if (style->symbol.size())
{
- for (int i=0; i<style->symbol.size(); i++)
+ for (size_t i=0; i<style->symbol.size(); i++)
{
SE_RenderPrimitive* rp = style->symbol[i];
@@ -709,7 +728,7 @@
//try to get some fill style information from the SE symbol
if (style->symbol.size())
{
- for (int i=0; i<style->symbol.size(); i++)
+ for (size_t i=0; i<style->symbol.size(); i++)
{
SE_RenderPrimitive* rp = style->symbol[i];
More information about the mapguide-commits
mailing list