MCPcopy Create free account
hub / github.com/GeoDaCenter/geoda / SetDefaultRegionSize

Method SetDefaultRegionSize

ogl/basic.cpp:518–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516}
517
518void wxShape::SetDefaultRegionSize()
519{
520 wxNode *node = m_regions.GetFirst();
521 if (!node) return;
522 wxShapeRegion *region = (wxShapeRegion *)node->GetData();
523 double w, h;
524 GetBoundingBoxMin(&w, &h);
525 region->SetSize(w, h);
526}
527
528bool wxShape::HitTest(double x, double y, int *attachment, double *distance)
529{

Callers

nothing calls this directly

Calls 1

SetSizeMethod · 0.45

Tested by

no test coverage detected