mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Font: Deprecate old Font constructors
This commit is contained in:
parent
2ed9b84070
commit
4f2c287f9b
95 changed files with 428 additions and 209 deletions
|
|
@ -130,7 +130,7 @@ void Graphics::resetToDefaultState()
|
|||
{
|
||||
saveStateIfPending();
|
||||
context.setFill (FillType());
|
||||
context.setFont (Font());
|
||||
context.setFont (FontOptions{});
|
||||
context.setInterpolationQuality (Graphics::mediumResamplingQuality);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ protected:
|
|||
RectangleList<int> clip;
|
||||
int xOffset, yOffset;
|
||||
FillType fillType;
|
||||
Font font;
|
||||
Font font { FontOptions{} };
|
||||
};
|
||||
|
||||
OwnedArray<SavedState> stateStack;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue