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

Method text_width

renderers/agg/src/agg_gsv_text.cpp:667–672  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

665
666 //-------------------------------------------------------------------------
667 double gsv_text::text_width()
668 {
669 double x1, y1, x2, y2;
670 bounding_rect_single(*this, 0, &x1, &y1, &x2, &y2);
671 return x2 - x1;
672 }
673
674
675}

Callers

nothing calls this directly

Calls 1

bounding_rect_singleFunction · 0.85

Tested by

no test coverage detected