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

Method scaleToFit

hi_scripting/scripting/api/ScriptingGraphics.cpp:1175–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1173}
1174
1175void ScriptingObjects::PathObject::scaleToFit(var x, var y, var width, var height, bool preserveProportions)
1176{
1177 p.applyTransform(p.getTransformToScaleToFit(x, y, width, height, preserveProportions));
1178}
1179
1180void ScriptingObjects::PathObject::roundCorners(var radius)
1181{

Callers 15

resizePathMethod · 0.45
timerCallbackMethod · 0.45
resizedMethod · 0.45
paintMethod · 0.45
scalePathMethod · 0.45
drawPopupMenuItemMethod · 0.45
drawComboBoxMethod · 0.45
drawButtonBackgroundMethod · 0.45
drawListItemMethod · 0.45
drawSearchBarMethod · 0.45
scalePathFromLevelsMethod · 0.45

Calls 2

applyTransformMethod · 0.45

Tested by

no test coverage detected