Community
Participate
Working Groups
graphics.drawTextLayout(scaled,
(int)Math.floor(x * zoom + fractionalX),
(int)Math.floor(y * zoom + fractionalY),
selectionStart, selectionEnd, selectionBackground, selectionForeground);
selectionStart, selectionEnd, selectionForeground, selectionBackground);
scaled.dispose();
}
FontData data = (FontData)fontDataCache.get(f);
if (data != null)
return data;
data = getLocalFont().getFontData()[0];
data = f.getFontData()[0];
fontDataCache.put(f, data);