MCPcopy Create free account
hub / github.com/MapServer/MapServer / scale

Method scale

renderers/agg/include/agg_trans_affine.h:319–324  ·  view source on GitHub ↗

------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

317
318 //------------------------------------------------------------------------
319 inline double trans_affine::scale() const
320 {
321 double x = 0.707106781 * sx + 0.707106781 * shx;
322 double y = 0.707106781 * shy + 0.707106781 * sy;
323 return sqrt(x*x + y*y);
324 }
325
326 //------------------------------------------------------------------------
327 inline const trans_affine& trans_affine::translate(double x, double y)

Callers 1

renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected