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

Method rect

dep/agg/src/agg_rounded_rect.cpp:37–45  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

35
36 //--------------------------------------------------------------------
37 void rounded_rect::rect(double x1, double y1, double x2, double y2)
38 {
39 m_x1 = x1;
40 m_y1 = y1;
41 m_x2 = x2;
42 m_y2 = y2;
43 if(x1 > x2) { m_x1 = x2; m_x2 = x1; }
44 if(y1 > y2) { m_y1 = y2; m_y2 = y1; }
45 }
46
47 //--------------------------------------------------------------------
48 void rounded_rect::radius(double r)

Callers 1

roundedRectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected