MCPcopy Create free account
hub / github.com/MyGUI/mygui / OverlappingContourCombiner

Method OverlappingContourCombiner

MyGUIEngine/src/msdfgen/core/contour-combiners.cpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57template <class EdgeSelector>
58OverlappingContourCombiner<EdgeSelector>::OverlappingContourCombiner(const Shape &shape) {
59 windings.reserve(shape.contours.size());
60 for (std::vector<Contour>::const_iterator contour = shape.contours.begin(); contour != shape.contours.end(); ++contour)
61 windings.push_back(contour->winding());
62 edgeSelectors.resize(shape.contours.size());
63}
64
65template <class EdgeSelector>
66void OverlappingContourCombiner<EdgeSelector>::reset(const Point2 &p) {

Callers

nothing calls this directly

Calls 7

windingMethod · 0.80
reserveMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected