MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / text_width

Method text_width

dep/agg/src/agg_gsv_text.cpp:669–674  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 1

textMethod · 0.80

Calls 1

bounding_rect_singleFunction · 0.85

Tested by

no test coverage detected