mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-16 00:34:19 +00:00
New methods for Path, Line, ValueTree. Changed the Graphics::fillCheckerBoard parameters to take a Rectangle object. Fixed Component::centreWithSize to handle multi-monitor setups.
This commit is contained in:
parent
d3cf0870d9
commit
e3d97820d1
29 changed files with 573 additions and 140 deletions
|
|
@ -57,7 +57,7 @@ LowLevelGraphicsPostScriptRenderer::LowLevelGraphicsPostScriptRenderer (OutputSt
|
|||
needToClip (true)
|
||||
{
|
||||
stateStack.add (new SavedState());
|
||||
stateStack.getLast()->clip = Rectangle<int> (0, 0, totalWidth_, totalHeight_);
|
||||
stateStack.getLast()->clip = Rectangle<int> (totalWidth_, totalHeight_);
|
||||
|
||||
const float scale = jmin ((520.0f / totalWidth_), (750.0f / totalHeight));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue