mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-07 04:10:08 +00:00
Improved software glyph rendering. Misc fixes.
This commit is contained in:
parent
3847842ae8
commit
3f68ec0b84
10 changed files with 85 additions and 39 deletions
|
|
@ -1198,7 +1198,12 @@ public:
|
|||
|
||||
const Ptr clipToRectangleList (const RectangleList& r)
|
||||
{
|
||||
edgeTable.clipToEdgeTable (EdgeTable (r));
|
||||
RectangleList inverse (edgeTable.getMaximumBounds());
|
||||
|
||||
if (inverse.subtract (r))
|
||||
for (RectangleList::Iterator iter (inverse); iter.next();)
|
||||
edgeTable.excludeRectangle (*iter.getRectangle());
|
||||
|
||||
return edgeTable.isEmpty() ? 0 : this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue