1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00

Much faster software rendering of glyphs when display is scaled.

This commit is contained in:
jules 2013-08-13 14:56:46 +01:00
parent c4c8666676
commit 48ae5d16a7
2 changed files with 65 additions and 55 deletions

View file

@ -31,7 +31,7 @@ LowLevelGraphicsSoftwareRenderer::LowLevelGraphicsSoftwareRenderer (const Image&
LowLevelGraphicsSoftwareRenderer::LowLevelGraphicsSoftwareRenderer (const Image& image, Point<int> origin,
const RectangleList<int>& initialClip)
: RenderingHelpers::StackBasedLowLevelGraphicsContext<RenderingHelpers::SoftwareRendererSavedState>
(new RenderingHelpers::SoftwareRendererSavedState (image, initialClip, origin.x, origin.y))
(new RenderingHelpers::SoftwareRendererSavedState (image, initialClip, origin))
{
}