MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / scaleContours

Function scaleContours

source/MRSymbolMesh/MRAlignTextToMesh.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void scaleContours( Contours2f& conts, float scale )
34{
35 MR_TIMER;
36 ParallelFor( conts, [&] ( size_t i )
37 {
38 ParallelFor( conts[i], [&] ( size_t j )
39 {
40 conts[i][j] = scale * conts[i][j];
41 } );
42 } );
43}
44
45} //anonymous namespace
46

Callers 2

alignTextToMeshFunction · 0.85
bendTextAlongCurveFunction · 0.85

Calls 1

ParallelForFunction · 0.85

Tested by

no test coverage detected