MCPcopy Create free account
hub / github.com/doldecomp/mkdd / clip

Method clip

libs/JSystem/J2DGraph/J2DPane.cpp:453–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453void J2DPane::clip(const JGeometry::TBox2f& bounds)
454{
455 JGeometry::TBox2f boxA(bounds);
456 boxA.addPos(mGlobalBounds.i.x, mGlobalBounds.i.y);
457 mClipRect.intersect(boxA);
458}
459
460J2DPane* J2DPane::search(u64 tag)
461{

Callers 2

clipBySphereMethod · 0.45
calcMethod · 0.45

Calls 2

addPosMethod · 0.80
intersectMethod · 0.80

Tested by

no test coverage detected