MCPcopy Create free account
hub / github.com/comaps/comaps / GetOffset

Function GetOffset

libs/drape_frontend/apply_feature_functors.cpp:202–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202m2::PointF GetOffset(int offsetX, int offsetY)
203{
204 double const vs = VisualParams::Instance().GetVisualScale();
205 return {static_cast<float>(offsetX * vs), static_cast<float>(offsetY * vs)};
206}
207
208bool IsSymbolRoadShield(ftypes::RoadShield const & shield)
209{

Callers 8

SubWriterMethod · 0.85
~SubWriterMethod · 0.85
SeekMethod · 0.85
PosMethod · 0.85
WriteMethod · 0.85
ExtractCaptionParamsMethod · 0.85
HasOffsetMethod · 0.85
HasOffsetMethod · 0.85

Calls 1

GetVisualScaleMethod · 0.80

Tested by

no test coverage detected