Skip to content

Commit

Permalink
Enable default interpolation due to pixelated screen drawing
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
  • Loading branch information
Marcian Lytwyn authored and qmfrederik committed Nov 2, 2024
1 parent 4e3ca27 commit 6b369eb
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 6b369eb

Please sign in to comment.