MCPcopy Create free account
hub / github.com/christophhart/HISE / drawRect

Method drawRect

hi_scripting/scripting/api/ScriptingGraphics.cpp:1869–1873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1867}
1868
1869void ScriptingObjects::GraphicsObject::drawRect(var area, float borderSize)
1870{
1871 auto bs = (float)borderSize;
1872 drawActionHandler.addDrawAction(new ScriptedDrawActions::drawRect(getRectangleFromVar(area), SANITIZED(bs)));
1873}
1874
1875void ScriptingObjects::GraphicsObject::fillRoundedRectangle(var area, var cornerData)
1876{

Callers 15

paintMethod · 0.45
Oscilloscope.jsFile · 0.45
BufferMonitor.jsFile · 0.45
drawLinearSliderMethod · 0.45
fillPathHiStyleMethod · 0.45
drawTooltipMethod · 0.45
drawHiBackgroundMethod · 0.45
drawAlertBoxMethod · 0.45

Calls 1

addDrawActionMethod · 0.80

Tested by

no test coverage detected