1
0
Fork 0
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:
hogliux 2015-05-05 10:21:08 +01:00
parent d8b50dd009
commit 9748d92798

View file

@ -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,