mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-03 19:10:43 +00:00
* Source/NSGraphicsContext.m (-initWithContextInfo:): Set some
default values for the graphics context. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39017 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b4a18b98e0
commit
3c1c286a4a
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2015-09-25 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSGraphicsContext.m (-initWithContextInfo:): Set some
|
||||||
|
default values for the graphics context.
|
||||||
|
|
||||||
2015-09-21 Fred Kiefer <FredKiefer@gmx.de>
|
2015-09-21 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Headers/AppKit/NSMenu.h,
|
* Headers/AppKit/NSMenu.h,
|
||||||
|
|
|
@ -323,6 +323,12 @@ NSGraphicsContext *GSCurrentContext(void)
|
||||||
initWithCapacity: 1];
|
initWithCapacity: 1];
|
||||||
usedFonts = nil;
|
usedFonts = nil;
|
||||||
|
|
||||||
|
// Set some default values
|
||||||
|
[self setShouldAntialias: YES];
|
||||||
|
[self setImageInterpolation: NSImageInterpolationNone];
|
||||||
|
[self setPatternPhase: NSMakePoint(0.0, 0.0)];
|
||||||
|
[self setCompositingOperation: NSCompositeSourceOver];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The classMethodTable dictionary and the list of all contexts must both
|
* The classMethodTable dictionary and the list of all contexts must both
|
||||||
* be protected from other threads.
|
* be protected from other threads.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue