Skip to content

Commit

Permalink
Enable default interpolation due to pixelated screen drawing (#53)
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@40163 72102866-910b-0410-8b05-ffd578937521

Co-authored-by: Marcian Lytwyn <[email protected]>
  • Loading branch information
qmfrederik and Marcian Lytwyn authored Nov 5, 2024
1 parent 4e3ca27 commit 03a2e7e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Source/cairo/CairoContext.m
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,16 @@ - (BOOL) supportsDrawGState
return YES;
}

- (id) initWithContextInfo: (NSDictionary *)info
{
self = [super initWithContextInfo: info];
if (self)
{
[self setImageInterpolation: NSImageInterpolationDefault];
}
return self;
}

- (BOOL) isDrawingToScreen
{
CairoSurface *surface = nil;
Expand Down

0 comments on commit 03a2e7e

Please sign in to comment.