fredkiefer
1b51da5700
* Source/gsc/GSContext.m: Set some defaults.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39046 72102866-910b-0410-8b05-ffd578937521
2015-10-09 00:13:42 +00:00
fredkiefer
6f2916e9e5
* Headers/gsc/GSGState.h
...
* Source/gsc/GSContext.m
* Source/gsc/GSGState.m
* Source/cairo/CairoGState.m
Implement per gstate methods for antialias, patternPhase and
compositingOperation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39026 72102866-910b-0410-8b05-ffd578937521
2015-10-03 21:49:35 +00:00
fredkiefer
5e0b1d096d
* Source/gsc/GSContext.m: Replace isa with object_getClass().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@36939 72102866-910b-0410-8b05-ffd578937521
2013-07-29 20:59:38 +00:00
fredkiefer
e391153348
Adopt to changes in gui.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@36149 72102866-910b-0410-8b05-ffd578937521
2013-02-16 00:11:14 +00:00
fredkiefer
264f3eb3e2
Silence warnings from clang.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@36106 72102866-910b-0410-8b05-ffd578937521
2013-02-10 17:32:47 +00:00
fredkiefer
fefa08c1b7
Change DPS/PS functions to CGFloat and NSInteger.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@36063 72102866-910b-0410-8b05-ffd578937521
2013-02-05 19:18:49 +00:00
fredkiefer
73dcf13efd
* back/Source/gsc/GSContext.m
...
* back/Source/cairo/CairoContext.m
* back/Source/art/ARTContext.m
* back/Source/xlib/XGContext.m
* back/Source/winlib/WIN32Context.m: Move the bitmap conversion
code from cairo to the gsc class. Add a new method to detect
incompatible image formats and implement that for all backends.
* back/Source/winlib/WIN32GState.m (GSCreateBitmap): Improve the
handling of device black/white colour space.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@36025 72102866-910b-0410-8b05-ffd578937521
2013-01-27 14:38:16 +00:00
qmathe
3b74a4c14b
Protected +initialize from being called multiple times on GSContext because of
...
subclasses.
As a result, this eliminates a gstate table memory leak, and prevents the table
to be reset while still in use (causing various DPS errors such as invalid
param, stack underflow and segfault).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@35153 72102866-910b-0410-8b05-ffd578937521
2012-05-14 15:02:00 +00:00
ericwa
988b736401
* Source/gsc/GSStreamContext.m:
...
* Source/gsc/GSContext.m:
* Source/gsc/GSGState.m:
* Headers/gsc/GSGStateOps.h: Change type for -GSSetFillColor: and
-GSSetStrokeColor: from float to CGFloat
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34071 72102866-910b-0410-8b05-ffd578937521
2011-10-26 00:24:17 +00:00
ericwa
b23f4dd6a9
* Source/winlib/WIN32GState.m:
...
* Source/art/ARTGState.m:
* Source/cairo/CairoGState.m:
* Source/xlib/XGGState.m:
* Source/gsc/GSContext.m:
* Source/gsc/GSGState.m:
* Headers/gsc/GSGStateOps.h:
Add a new interface, GSShowGlyphsWithAdvances, which replaces
GSShowGlyphs as the primitive text drawing method.
None of the backends implement it properly yet; I simply renamed
the existing -GSShowGlyphs:: methods to -GSShowGlyphsWithAdvances:::,
so they currently ignore the glyph advances.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33121 72102866-910b-0410-8b05-ffd578937521
2011-05-26 03:48:58 +00:00
qmathe
9995a94236
Fixed many drawing issues (many ones being related to the flipping).
...
See bug report #27782
In particular, fixed -[NSImage drawXXX] and -[NSImage composite/dissolveXXX]
methods to work exactly as Cocoa when the Cairo backend is used.
Added a new draw operator (in addition to composite) to the backend. Cairo is
the only backend that implements it for now.
Eliminated as many flipping checks as possible.
Warning: Untested with the winlib backend.
You must update, recompile and install both Back and Gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30523 72102866-910b-0410-8b05-ffd578937521
2010-06-01 11:04:36 +00:00
fredkiefer
1616a232a8
Small bug fix (mostly to avoid compiler warning) by Anibal Rindisbacher
...
<anibal784@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29922 72102866-910b-0410-8b05-ffd578937521
2010-03-13 13:09:59 +00:00
fredkiefer
9ad681c14a
Add simple gradient implementation for the cairo backend.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28873 72102866-910b-0410-8b05-ffd578937521
2009-10-23 20:46:41 +00:00
fredkiefer
77aaf931f4
Finish rework of composite operators started four years ago.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28313 72102866-910b-0410-8b05-ffd578937521
2009-05-31 19:46:28 +00:00
fedor
52a046da0f
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26620 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:12:46 +00:00
fredkiefer
9b97919bcf
Backend support for appendBezierPathWithPackedGlyphs:.
...
Implementation of coveredCharacterSet on GSXftFontInfo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26436 72102866-910b-0410-8b05-ffd578937521
2008-04-07 13:51:28 +00:00
fredkiefer
61985e25a9
Rework of context window device setting. Requires corresponding change
...
in gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25981 72102866-910b-0410-8b05-ffd578937521
2008-01-19 13:12:03 +00:00
fredkiefer
b32de36472
Moved image drawing change from gui to here.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25601 72102866-910b-0410-8b05-ffd578937521
2007-11-22 12:14:48 +00:00
fredkiefer
fa6e35e2f8
Change files to use GPL 3 and LGPL 3.
...
Prepare for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25538 72102866-910b-0410-8b05-ffd578937521
2007-10-29 23:25:10 +00:00
fredkiefer
6b8249437d
Add a generic basic implementation for the DPSshfill: operator. This
...
needs to be optimized for each individual backend and the original art
implemenation should be moved to this.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25519 72102866-910b-0410-8b05-ffd578937521
2007-10-05 20:57:59 +00:00
fredkiefer
d525cf7b50
Backend part of graphic context rewrite.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24965 72102866-910b-0410-8b05-ffd578937521
2007-04-04 14:33:10 +00:00
CaS
8f8b9acaca
Some amd64 fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22305 72102866-910b-0410-8b05-ffd578937521
2006-01-14 11:34:55 +00:00
CaS
97aecfddb2
Coding style fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22020 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:40:31 +00:00
CaS
41bb3f72c2
Hacks by Greg to placate 4.1 compiler. Just in case we can't persuade them
...
to 'fix' cast to union with an 'id' member.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21783 72102866-910b-0410-8b05-ffd578937521
2005-10-07 09:57:51 +00:00
FredKiefer
f67a4ba43a
dded partial implementation for pattern colour and alpha image composition.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21437 72102866-910b-0410-8b05-ffd578937521
2005-07-09 00:10:08 +00:00
alexm
e131192a2f
Implement GSReadRect in art/.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19800 72102866-910b-0410-8b05-ffd578937521
2004-07-30 13:57:27 +00:00
fedor
99f82499c8
* Source/gsc/GSContext.m (-DPSsetgstate:): Copy gstate so we
...
don't modify original.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17646 72102866-910b-0410-8b05-ffd578937521
2003-09-09 14:33:23 +00:00
ayers
52d97e1721
* Source/art/GNUmakefile: Do not make headers publilc.
...
* Source/gsc/GNUmakefile: Ditto.
* Source/x11/GNUmakefile: Ditto.
* Source/xdps/GNUmakefile: Ditto.
* Source/xlib/GNUmakefile: Ditto.
* Headers/win32/*.h: Update includes for new header structure.
* Headers/winlib/*.h: Ditto.
* Headers/x11/XGServer.h: Ditto.
* Headers/xlib/*.h: Ditto.
* Source/art/ftfont.m: Ditto.
* Source/gsc/*.m: Ditto.
* Source/x11/*.m: Ditto.
* Source/xdps/*.m: Ditto.
* Source/xlib/*.m: Ditto.
* Tools/gpbs.m: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17409 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:57:11 +00:00
fedor
a3e1a25844
Redefine BOOL to avoid name collision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15433 72102866-910b-0410-8b05-ffd578937521
2002-12-31 16:49:48 +00:00
fedor
8ce5bbbfbc
Focus fixes. Update passing of colorspaces, fonts
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14680 72102866-910b-0410-8b05-ffd578937521
2002-10-09 03:01:09 +00:00
fedor
8653c481dc
Better stream context implementation (holds context)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14408 72102866-910b-0410-8b05-ffd578937521
2002-09-06 19:36:04 +00:00
nico
dd99650a12
Use more standard method to scale an affine transform
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13929 72102866-910b-0410-8b05-ffd578937521
2002-06-22 15:41:16 +00:00
fedor
6543d94104
Implement color handling in GSGState
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13623 72102866-910b-0410-8b05-ffd578937521
2002-05-10 15:06:17 +00:00
fedor
2ef798e9fd
Simplify backend selection. libart patches
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13595 72102866-910b-0410-8b05-ffd578937521
2002-05-06 02:03:29 +00:00
fedor
85c5f90400
Fix non-X configure, Remove old graphics methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13418 72102866-910b-0410-8b05-ffd578937521
2002-04-10 22:25:37 +00:00
fedor
f88db6f4e8
Use new defo of GSDefineGState
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13327 72102866-910b-0410-8b05-ffd578937521
2002-04-02 21:47:44 +00:00
fedor
9dc78fedee
Implement rect methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13288 72102866-910b-0410-8b05-ffd578937521
2002-04-01 20:22:07 +00:00
fedor
c8444cdff3
Implement some more methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13285 72102866-910b-0410-8b05-ffd578937521
2002-04-01 16:29:45 +00:00
fedor
685bcf200f
Initial revision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13249 72102866-910b-0410-8b05-ffd578937521
2002-03-27 23:44:41 +00:00