mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
New method Graphics::fillRectList(), which performs better (and looks better when scaled) than multiple calls to fillRect or drawVerticalLine. Also fixed DPI detection in Windows.
This commit is contained in:
parent
641cb754f0
commit
dbf7053861
18 changed files with 357 additions and 143 deletions
|
|
@ -72,12 +72,10 @@ public:
|
|||
|
||||
//==============================================================================
|
||||
void fillRect (const Rectangle<int>&, bool replaceExistingContents) override;
|
||||
void fillRectList (const RectangleList<float>&) override;
|
||||
void fillPath (const Path&, const AffineTransform&) override;
|
||||
|
||||
void drawImage (const Image&, const AffineTransform&) override;
|
||||
|
||||
void drawLine (const Line <float>&) override;
|
||||
|
||||
void drawVerticalLine (int x, float top, float bottom) override;
|
||||
void drawHorizontalLine (int x, float top, float bottom) override;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue