mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-25 02:04:23 +00:00
Clean-up convertToPath in Introjucer
This commit is contained in:
parent
d8b50dd009
commit
9748d92798
1 changed files with 2 additions and 2 deletions
|
|
@ -331,13 +331,13 @@ public:
|
|||
|
||||
void convertToPath()
|
||||
{
|
||||
jassert (dynamic_cast <PaintRoutineEditor*> (getParentComponent()) != nullptr);
|
||||
jassert (dynamic_cast<PaintRoutineEditor*> (getParentComponent()) != nullptr);
|
||||
|
||||
font = FontPropertyComponent::applyNameToFont (typefaceName, font);
|
||||
|
||||
const Rectangle<int> r =
|
||||
getCurrentBounds (Rectangle<int> (((PaintRoutineEditor*) getParentComponent())
|
||||
->getComponentArea()).withPosition (0,0));
|
||||
->getComponentArea()).withZeroOrigin());
|
||||
|
||||
GlyphArrangement arr;
|
||||
arr.addCurtailedLineOfText (font, text,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue