MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetDrawScale

Method GetDrawScale

Source/ModuleContainer.cpp:265–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265float ModuleContainer::GetDrawScale() const
266{
267 if (mOwner != nullptr && mOwner->GetOwningContainer() != nullptr)
268 return mDrawScale * mOwner->GetOwningContainer()->GetDrawScale();
269 return mDrawScale;
270}
271
272void ModuleContainer::GetModulesWithinRect(ofRectangle rect, std::vector<IDrawableModule*>& output, bool ignorePinned /* = false */)
273{

Callers 15

DrawModuleMethod · 0.80
CheckboxUpdatedMethod · 0.80
GetPixelWidthMethod · 0.80
DrawModuleMethod · 0.80
DrawModuleUnclippedMethod · 0.80
GetModuleDimensionsMethod · 0.80
UpdatePositionMethod · 0.80
GetUIScaleMethod · 0.80
ToScreenPosXFunction · 0.80
ToScreenPosYFunction · 0.80
FromScreenPosXFunction · 0.80
OnClickedMethod · 0.80

Calls 1

GetOwningContainerMethod · 0.80

Tested by

no test coverage detected