Home
last modified time | relevance | path

Searched refs:mapScale (Results 1 – 25 of 33) sorted by relevance

12

/dports/astro/qmapshack/qmapshack-V_1.16.1/src/qmaptool/items/
H A DCItemMapLayer.cpp50 const QPointF& mapScale = map->getScale(); in addMap() local
56 …if((qAbs((mapScale.x() - trFwd.m11()) / trFwd.m11()) > 0.2) || (qAbs((mapScale.y() - trFwd.m22()) … in addMap()
/dports/graphics/qgis/qgis-3.22.3/src/core/labeling/
H A Dqgstextlabelfeature.cpp60 const double mapScale = xform->mapUnitsPerPixel(); in calculateTextMetrics() local
61 const double characterHeight = mapScale * fontMetrics.height(); in calculateTextMetrics()
109 characterWidths[i] = mapScale * charWidth; in calculateTextMetrics()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/
H A Dqgspalgeometry.h83 double mapScale = xform->mapUnitsPerPixel(); in calculateInfo() local
84 double labelHeight = mapScale * fm->height() / fontScale; in calculateInfo()
121 double labelWidth = mapScale * charWidth / fontScale; in calculateInfo()
H A Dqgslegendsettings.cpp61 double QgsLegendSettings::mapScale() const in mapScale() function in QgsLegendSettings
H A Dqgslegendsettings.h408 Q_DECL_DEPRECATED double mapScale() const SIP_DEPRECATED;
H A Dqgslegendrenderer.cpp48 tmpContext->setRendererScale( mSettings.mapScale() ); in minimumSize()
64 context.setRendererScale( mSettings.mapScale() ); in drawLegend()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/labeling/
H A Dqgstextlabelfeature.cpp78 double mapScale = xform->mapUnitsPerPixel(); in calculateInfo() local
79 double labelHeight = mapScale * fm->height(); in calculateInfo()
147 double labelWidth = mapScale * charWidth; in calculateInfo()
/dports/graphics/qgis/qgis-3.22.3/src/core/vectortile/
H A Dqgsvectortileutils.h69 static double scaleToZoom( double mapScale );
72 static int scaleToZoomLevel( double mapScale, int sourceMinZoom, int sourceMaxZoom );
H A Dqgsvectortileutils.cpp63 double QgsVectorTileUtils::scaleToZoom( double mapScale ) in scaleToZoom() argument
66 double tileZoom2 = log( s0 / mapScale ) / log( 2 ); in scaleToZoom()
71 int QgsVectorTileUtils::scaleToZoomLevel( double mapScale, int sourceMinZoom, int sourceMaxZoom ) in scaleToZoomLevel() argument
73 int tileZoom = static_cast<int>( round( scaleToZoom( mapScale ) ) ); in scaleToZoomLevel()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/vectortile/
H A Dqgsvectortileutils.h69 static double scaleToZoom( double mapScale );
72 static int scaleToZoomLevel( double mapScale, int sourceMinZoom, int sourceMaxZoom );
H A Dqgsvectortileutils.cpp63 double QgsVectorTileUtils::scaleToZoom( double mapScale ) in scaleToZoom() argument
66 double tileZoom2 = log( s0 / mapScale ) / log( 2 ); in scaleToZoom()
71 int QgsVectorTileUtils::scaleToZoomLevel( double mapScale, int sourceMinZoom, int sourceMaxZoom ) in scaleToZoomLevel() argument
73 int tileZoom = static_cast<int>( floor( scaleToZoom( mapScale ) ) ); in scaleToZoomLevel()
/dports/graphics/mapyrus/mapyrus-1.802/userdoc/
H A Dtutoriallayout1.mapyrus56 let mapScale = Mapyrus.worlds.scale
83 scalebar mapScale, "m", 4, 5
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/projection/
H A DossimCadrgProjection.cpp379 const char* mapScale = kwl.find(prefix, in loadState() local
381 if(mapScale) in loadState()
383 theMapScale = ossimString(mapScale).toDouble(); in loadState()
/dports/games/glest/glest_source_3.2.2/source/glest_game/world/
H A Dmap.cpp88 const int Map::mapScale= 2; member in Glest::Game::Map
164 sc->setVertex(Vec3f(i*mapScale, alt / heightFactor, j*mapScale)); in load()
H A Dmap.h148 static const int mapScale; //horizontal scale of surface variable
/dports/graphics/qgis/qgis-3.22.3/src/core/
H A Dqgslegendsettings.h408 Q_DECL_DEPRECATED double mapScale() const SIP_DEPRECATED;
H A Dqgslegendsettings.cpp63 double QgsLegendSettings::mapScale() const in mapScale() function in QgsLegendSettings
/dports/games/osgg/Osgg-32d9e02/
H A Dmain.cpp1184 GLfloat mapScale = scale / 10.0; in renderRadar() local
1219 … glVertex2f( (vertIt->p.x-dispInfo.camPos.x)*mapScale, (vertIt->p.y-dispInfo.camPos.y)*mapScale); in renderRadar()
1231 …ex2f( (gameInfo.radarDest.x-dispInfo.camPos.x)*mapScale, (gameInfo.radarDest.y-dispInfo.camPos.y)* in renderRadar()
1251 glVertex2f((entIt->p.x-dispInfo.camPos.x)*mapScale,(entIt->p.y-dispInfo.camPos.y)*mapScale); in renderRadar()
/dports/graphics/qgis/qgis-3.22.3/src/core/layertree/
H A Dqgscolorramplegendnode.cpp197 tempRenderContext->setRendererScale( settings.mapScale() ); in drawSymbol()
401 tempRenderContext->setRendererScale( settings.mapScale() ); in drawSymbolText()
H A Dqgslayertreemodellegendnode.cpp625 tempRenderContext->setRendererScale( settings.mapScale() ); in drawSymbol()
767 ctx.setRendererScale( settings.mapScale() ); in exportSymbolToJson()
1403 tempRenderContext->setRendererScale( settings.mapScale() ); in draw()
/dports/games/glest/glest_source_3.2.2/source/glest_game/graphics/
H A Drenderer.cpp1238 static_cast<float>(i)*Map::mapScale, in renderWater()
1240 static_cast<float>(j+1)*Map::mapScale); in renderWater()
1249 static_cast<float>(i)*Map::mapScale, in renderWater()
1251 static_cast<float>(j)*Map::mapScale); in renderWater()
1266 static_cast<float>(i)*Map::mapScale, in renderWater()
1268 static_cast<float>(j+1)*Map::mapScale); in renderWater()
1277 static_cast<float>(i)*Map::mapScale, in renderWater()
1279 static_cast<float>(j)*Map::mapScale); in renderWater()
/dports/graphics/tiled/tiled-1.7.2/src/tiledquick/qml/
H A Dmain.qml53 property alias mapScale: mapContainer.scale
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/layertree/
H A Dqgslayertreemodellegendnode.cpp579 tempRenderContext->setRendererScale( settings.mapScale() ); in drawSymbol()
717 ctx.setRendererScale( settings.mapScale() ); in exportSymbolToJson()
1276 tempRenderContext->setRendererScale( settings.mapScale() ); in draw()
/dports/graphics/qgis/qgis-3.22.3/python/core/auto_generated/
H A Dqgslegendsettings.sip.in432 double mapScale() const /Deprecated/;
448 .. seealso:: :py:func:`mapScale`
/dports/graphics/qgis-ltr/qgis-3.16.16/python/core/auto_generated/
H A Dqgslegendsettings.sip.in432 double mapScale() const /Deprecated/;
448 .. seealso:: :py:func:`mapScale`

12