MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / getRegion

Method getRegion

src/ui/widget.cpp:699–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

697}
698
699void Widget::getRegion(gfx::Region& region)
700{
701 if (type() == kWindowWidget)
702 theme()->getWindowMask(this, region);
703 else
704 region = bounds();
705}
706
707void Widget::getDrawableRegion(gfx::Region& region, DrawableRegionFlags flags)
708{

Callers 3

getDrawableRegionMethod · 0.80
_closeWindowMethod · 0.80

Calls 1

getWindowMaskMethod · 0.80

Tested by

no test coverage detected