mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
LowLevelGraphicsContext: Replace glyph drawing functions with single drawGlyphs()
This commit is contained in:
parent
03b1e918fe
commit
1560f87111
11 changed files with 170 additions and 89 deletions
|
|
@ -2,6 +2,27 @@
|
|||
|
||||
# Version 8.0.0
|
||||
|
||||
## Change
|
||||
|
||||
The virtual functions LowLevelGraphicsContext::drawGlyph() and drawTextLayout()
|
||||
have been removed.
|
||||
|
||||
**Possible Issues**
|
||||
|
||||
Classes overriding these functions will fail to compile.
|
||||
|
||||
**Workaround**
|
||||
|
||||
Replace drawGlyph() with drawGlyphs(), which draws several glyphs at once.
|
||||
Remove implementations of drawTextLayout().
|
||||
|
||||
**Rationale**
|
||||
|
||||
On Windows and macOS, drawing several glyphs at once is faster than drawing
|
||||
glyphs one-at-a-time. The new API is more general, and allows for more
|
||||
performant text rendering.
|
||||
|
||||
|
||||
## Change
|
||||
|
||||
JUCE widgets now query the LookAndFeel to determine the TypefaceMetricsKind to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue