mirror of
https://codeberg.org/armin/beamgrid.git
synced 2026-09-01 04:10:47 +02:00
add LICENSE, update README, update source
This commit is contained in:
parent
6ab142e450
commit
e0177ed26f
9 changed files with 395 additions and 53 deletions
|
|
@ -56,14 +56,5 @@ public:
|
|||
startAngle, angle, thickness);
|
||||
g.setColour (getTeal());
|
||||
g.strokePath (value, juce::PathStrokeType (thickness));
|
||||
|
||||
// Pointer line.
|
||||
juce::Path pointer;
|
||||
const float pointerLen = radius * 0.78f;
|
||||
pointer.addLineSegment (juce::Line<float> (centre.x, centre.y,
|
||||
centre.x + std::sin (angle) * pointerLen,
|
||||
centre.y - std::cos (angle) * pointerLen), 2.0f);
|
||||
g.setColour (juce::Colours::white);
|
||||
g.strokePath (pointer, juce::PathStrokeType (2.5f));
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue