rmottola
21f836b8c2
include -> import
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@40169 72102866-910b-0410-8b05-ffd578937521
2016-10-23 20:51:20 +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
fredkiefer
8407089ec7
Try to keep the visual of art consistent with the one used by X.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26849 72102866-910b-0410-8b05-ffd578937521
2008-09-14 21:22:54 +00:00
fredkiefer
b685c50b0e
Try to handle endianess differences better in the art backend.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26813 72102866-910b-0410-8b05-ffd578937521
2008-08-19 17:25:10 +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
e531af313b
Replaced old unpre-multiply hack with a proper solution.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26256 72102866-910b-0410-8b05-ffd578937521
2008-03-09 22:21:03 +00:00
fredkiefer
f9442133c5
Allow the handling of pre-multiplied bitmaps.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26044 72102866-910b-0410-8b05-ffd578937521
2008-02-08 22:43:13 +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
rfm
bc2f66564b
Another minor MacOS-X compatibility change ... can no longer assume NSDictionary.h is included by our other headers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25637 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:34:25 +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
4c5a41e3a6
Brought art backend closer to the GNUstep coding style.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24923 72102866-910b-0410-8b05-ffd578937521
2007-03-22 16:54:47 +00:00
rfm
c1cdc25750
Window frame/coordinate handling cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23461 72102866-910b-0410-8b05-ffd578937521
2006-09-12 09:50:14 +00:00
fedor
5aad1a81d3
Version 0.10.2
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22201 72102866-910b-0410-8b05-ffd578937521
2005-12-22 17:42:35 +00:00
fedor
f002c33bd7
* Source/art/ARTContext.m ([ARTContext -beep]): Respect user setting
...
of bell volume.
* Source/x11/XGServe.m: Idem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22191 72102866-910b-0410-8b05-ffd578937521
2005-12-20 20:36:59 +00:00
alexm
dd270f04fe
2005-11-19 21:39 Alexander Malmberg <alexander@malmberg.org>
...
* Source/art/ARTContext.m (flip_bytes, byte_order)
(-initWithContextInfo:): Detect if the server doesn't have the same
endianness and adjust the color bitmasks if necessary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22044 72102866-910b-0410-8b05-ffd578937521
2005-11-19 20:15:53 +00:00
fedor
faaebcda2a
Update FSF Address
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21263 72102866-910b-0410-8b05-ffd578937521
2005-05-26 22:51:53 +00:00
arobert
f1130822b2
update impl for DPSshow to handle xshow, yshow, xyshow, ashow, widthshow, and awidthshow
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20989 72102866-910b-0410-8b05-ffd578937521
2005-03-29 05:54:36 +00:00
alexm
d0438ce1f1
2005-01-20 22:39 Alexander Malmberg <alexander@malmberg.org>
...
* Source/art/ARTContext.m (-initWithContextInfo:): Enable stroke
adjusting for the default gstate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20587 72102866-910b-0410-8b05-ffd578937521
2005-01-20 21:35:23 +00:00
alexm
30ba3fd3ef
2005-01-11 20:27 Alexander Malmberg <alexander@malmberg.org>
...
* Source/art/ARTGState.h: Add strokeadjust ivar.
* Source/art/ARTContext.m (-DPScurrentstrokeadjust)
(-DPSsetstrokeadjust): Use the strokeadjust ivar.
* Source/art/path.m (-DPSrectclip::::): Don't use the optimized
path if the clipping path is complex.
(-_stroke::): Remove second argument, rename to ...
(-_stroke:): ... this. If strokeadjust is active, adjust the path
to make it clearer.
(-DPSrectstroke::::): Update _stroke::: call. Remove dash adjustment
code.
(-DPSstroke): Update _stroke:: call.
* Source/art/composite.m: Fix comment typo. Remove some old
debugging code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20536 72102866-910b-0410-8b05-ffd578937521
2005-01-11 19:23:54 +00:00
alexm
804c008bce
Handle text drawing in windows with alpha buffers properly. Try to find good visuals before resorting to the default visual.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18721 72102866-910b-0410-8b05-ffd578937521
2004-02-29 20:45:05 +00:00
alexm
bcb9e0bf47
Fix calculation up alpha in plusd_aa. Clean up some includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16329 72102866-910b-0410-8b05-ffd578937521
2003-04-02 12:07:34 +00:00
alexm
9abc0be347
Implement text rendering to buffers with destination alpha. Change the subpixel rendering to override the glyph operator.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16288 72102866-910b-0410-8b05-ffd578937521
2003-03-29 18:16:40 +00:00
alexm
e94597a41b
Merge in text-system-branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15716 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:07:53 +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
alexm
3ccdce3009
Retain familyName correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14525 72102866-910b-0410-8b05-ffd578937521
2002-09-23 17:32:04 +00:00
alexm
23d9a2575a
Handle NSBackingStoreUnretained.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14460 72102866-910b-0410-8b05-ffd578937521
2002-09-16 14:38:25 +00:00
alexm
7a94e951c2
Rename ARTWindowBuffer to XWindowBuffer and move it to x11/.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14426 72102866-910b-0410-8b05-ffd578937521
2002-09-10 19:37:47 +00:00
alexm
7e54e51b50
Check for NULL pointers before setting values.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14390 72102866-910b-0410-8b05-ffd578937521
2002-09-01 10:59:25 +00:00
alexm
ac84d437ff
Store clipping path as a set of spans instead of as an svp. Update lots of related code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14387 72102866-910b-0410-8b05-ffd578937521
2002-08-31 12:42:36 +00:00
alexm
2ccb84fd46
Move remaining path handling code to path.m. Reformat.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14371 72102866-910b-0410-8b05-ffd578937521
2002-08-29 23:29:53 +00:00
alexm
210d21ce52
Remove ARTGState's own path handling and have it use GSGState's again.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14370 72102866-910b-0410-8b05-ffd578937521
2002-08-29 22:35:02 +00:00
alexm
e017e8a966
Move XGBitmapImageRep.m from xlib/ to x11/. Update related code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14361 72102866-910b-0410-8b05-ffd578937521
2002-08-28 16:58:28 +00:00
alexm
414ae4a9eb
Fix copyright notices.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14344 72102866-910b-0410-8b05-ffd578937521
2002-08-27 10:11:20 +00:00
alexm
00fbe75b5d
Move compositing code to its own file. Pick the right blitter for plusl_oo. Handle inline alpha in compositerect.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14339 72102866-910b-0410-8b05-ffd578937521
2002-08-27 08:26:54 +00:00
alexm
fc5083eb56
Move image handling to its own file and implement it (almost) completely.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14334 72102866-910b-0410-8b05-ffd578937521
2002-08-26 14:03:04 +00:00
alexm
dfe92c535b
Assume input is pre-multiplied.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14332 72102866-910b-0410-8b05-ffd578937521
2002-08-25 22:34:34 +00:00
alexm
aa00205c2b
Handle transparent source in an optimized way.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14330 72102866-910b-0410-8b05-ffd578937521
2002-08-25 19:43:01 +00:00
alexm
82c71e6b9c
Optimize color handling by passing pointers instead of device_color_t structures.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14329 72102866-910b-0410-8b05-ffd578937521
2002-08-25 18:54:07 +00:00
alexm
ce6a32a9ea
Implement proper handling of clipping paths.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14318 72102866-910b-0410-8b05-ffd578937521
2002-08-22 23:46:16 +00:00
alexm
516e23f633
Fix rounding when rounding to whole pixels.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14315 72102866-910b-0410-8b05-ffd578937521
2002-08-22 00:34:50 +00:00
alexm
b6289c1347
Rename and move WinImage class to ARTWindowBuffer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14314 72102866-910b-0410-8b05-ffd578937521
2002-08-21 18:27:57 +00:00
alexm
4ededbe49f
Move code to convert current path to an ArtVpath to a new method. Create alpha buffer when necessary in compositerect:op: for NSCompositeCopy.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14312 72102866-910b-0410-8b05-ffd578937521
2002-08-21 11:54:21 +00:00
alexm
73b3336de0
Fix (hopefully) the problem with windows turning all white.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14310 72102866-910b-0410-8b05-ffd578937521
2002-08-20 22:18:36 +00:00
alexm
024087627d
Add back-art.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14304 72102866-910b-0410-8b05-ffd578937521
2002-08-20 16:36:09 +00:00