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

Method init

renderers/agg/src/agg_bspline.cpp:58–69  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

56
57 //------------------------------------------------------------------------
58 void bspline::init(int max)
59 {
60 if(max > 2 && max > m_max)
61 {
62 m_am.resize(max * 3);
63 m_max = max;
64 m_x = &m_am[m_max];
65 m_y = &m_am[m_max * 2];
66 }
67 m_num = 0;
68 m_last_idx = -1;
69 }
70
71
72 //------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected