Fred Kiefer
86ff6abf69
Replace direct use of the isa pointer with a call to object_getClass()
...
to make David happy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33545 72102866-910b-0410-8b05-ffd578937521
2011-07-14 07:17:24 +00:00
Fred Kiefer
f13ac2cd84
* Source/NSImage.m (-nativeDrawInRect:...): Compute the rep size
...
after the nil test.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33513 72102866-910b-0410-8b05-ffd578937521
2011-07-11 09:41:47 +00:00
Eric Wasylishen
7383ae4b49
* Source/NSImage.m: Use -bestRepresentationForRect:context:hints: in
...
-guiDrawInRect:... as well.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33308 72102866-910b-0410-8b05-ffd578937521
2011-06-15 02:04:33 +00:00
Eric Wasylishen
37ceff2824
* Source/NSImage.m: Implement -bestRepresentationForRect:context:hints:,
...
which chooses the smallest rep larger than or equal to the provided size.
Modify -nativeDrawInRect:... to use the above method for choosing a rep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33304 72102866-910b-0410-8b05-ffd578937521
2011-06-14 19:00:23 +00:00
Eric Wasylishen
d0b58a4fd4
* Source/NSImage.m (-guiDrawInRect:...): Handle dstRect with a zero size
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33303 72102866-910b-0410-8b05-ffd578937521
2011-06-14 18:31:35 +00:00
Eric Wasylishen
903996fd17
* Source/NSImage.m: Remove unnecessary DPSgsave/DPSgrestore I added
...
earlier in -nativeDrawInRect:... and replace them with saving/restoring
the transformation matrix. The DPSgsave/DPSgrestore were causing problems
when drawing images with a non-rectangular clipping area.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33300 72102866-910b-0410-8b05-ffd578937521
2011-06-14 16:27:38 +00:00
Eric Wasylishen
baeb44bf84
* Source/NSImage.m: Tidy the -composite*/-dissolve* methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33299 72102866-910b-0410-8b05-ffd578937521
2011-06-14 06:08:40 +00:00
Eric Wasylishen
d29ec43ebd
* Source/NSImage.m: Completely overhaul the best rep selection.
...
It should now be very close to the algorithm described in the cocoa
drawing guide, and fixes numerous bugs with the old code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33295 72102866-910b-0410-8b05-ffd578937521
2011-06-13 22:32:28 +00:00
Wolfgang Lux
31ff24d0c6
Improve implementation of NSImage -bestRepresentationForDevice: for
...
images with multiple representations and fix a related bug.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33211 72102866-910b-0410-8b05-ffd578937521
2011-05-31 07:35:57 +00:00
Eric Wasylishen
8e6b334c1d
* Source/NSImage.m (-nativeDrawInRect:...): Fix drawing images
...
with a source rect smaller than the entire image. This was a mistake
left by my last commit to this method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33135 72102866-910b-0410-8b05-ffd578937521
2011-05-26 20:50:50 +00:00
Eric Wasylishen
ce051d9bd8
* Source/NSScreen.m: Use -userSpaceScaleFactor to calculate
...
NSDeviceResolution
* Source/NSImage.m: Implement -_bestRep:withResolutionMatch:
* Images/common_Dimple.tiff:
* Images/common_3DArrowRight.tiff: Add to these images
a second 'page' at 4x the original resolution which I drew.
If you use GSScaleFactor > 1 then the high resolution version
of these images should be used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32975 72102866-910b-0410-8b05-ffd578937521
2011-05-04 01:33:21 +00:00
Eric Wasylishen
2042ff816c
* Source/NSImage.m (-nativeDrawInRect:...): Fix a bug in my recent change
...
here which mis-positioned images.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32921 72102866-910b-0410-8b05-ffd578937521
2011-04-21 23:21:44 +00:00
Eric Wasylishen
50e9a10212
* Source/NSImage.m (-nativeDrawInRect:...): Make the cache window
...
large enough so that detail is preserved when drawing using a scale factor
larger than 1. This change should only improve output quality but not
affect image drawing otherwise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32917 72102866-910b-0410-8b05-ffd578937521
2011-04-21 05:46:06 +00:00
Eric Wasylishen
a6ec05473b
* Source/NSImage.m (-compositeToPoint:fromRect:operation:fraction:):
...
New simple implementation which calls
-drawAtPoint:fromRect:operation:fraction:.
Also respects the user space scale factor.
* Source/NSImage.m (-guiDrawInRect:fromRect:operation:fraction):
Remove a special case which called -compositeToPoint:..., which would
cause an infinite loop when combined with the above change.
Also avoid using -drawRepresentation:inRect: because -drawInRect:...
is supposed to fill the destination rect regardless of the setting
of -scalesWhenResized. This is a change borrowed from
-nativeDrawInRect:...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32895 72102866-910b-0410-8b05-ffd578937521
2011-04-18 23:12:28 +00:00
Fred Kiefer
3b0c5dfe24
Small changes found by static analyser.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32434 72102866-910b-0410-8b05-ffd578937521
2011-03-02 21:30:18 +00:00
Fred Kiefer
906201acf6
Remove dead assignments found by static code analysis.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32022 72102866-910b-0410-8b05-ffd578937521
2011-02-09 22:20:00 +00:00
Fred Kiefer
d08b23d9b0
First batch of corrections based on David's static analysis.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31337 72102866-910b-0410-8b05-ffd578937521
2010-09-12 16:34:22 +00:00
Gregory John Casamento
cefa1b53e7
* Source/GSTheme.m: remove forward declaration for _setArchiveByName
...
from NSImage category.
* Source/NSImage.m: Added code in _setImage:forName: to archive
by name instead.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31075 72102866-910b-0410-8b05-ffd578937521
2010-08-03 21:11:00 +00:00
Gregory John Casamento
6d682ee88e
2010-07-22 19:35-EDT Gregory John Casamento <greg.casamento@gmail.com>
...
* Source/GSTheme.m: Call method _setArchiveByName: with YES so that
images loaded by a theme will not be persisted as image data, but
rather as references. This will avoid an issue with saving theme
images when saving files in Gorm while a theme is loaded.
* Source/NSImage.m: Added method _setArchiveByName:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31021 72102866-910b-0410-8b05-ffd578937521
2010-07-22 23:27:36 +00:00
Quentin Mathe
9be1f4da8e
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/gui/trunk@30523 72102866-910b-0410-8b05-ffd578937521
2010-06-01 11:04:36 +00:00
Richard Frith-MacDonald
046be50f74
Attempt fix for Riccardos's latest issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30328 72102866-910b-0410-8b05-ffd578937521
2010-05-09 06:55:33 +00:00
Fred Kiefer
63638ee055
Remove compiler warnings from clang.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30117 72102866-910b-0410-8b05-ffd578937521
2010-04-10 17:48:46 +00:00
Riccardo Mottola
331aa92b2f
make extension checking case insensitive
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29310 72102866-910b-0410-8b05-ffd578937521
2010-01-17 23:37:11 +00:00
Germán Arias
15bc2c5d97
Fixed bug #28580
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29292 72102866-910b-0410-8b05-ffd578937521
2010-01-16 05:22:02 +00:00
Fred Kiefer
1bb1dec3a8
Fix small bug in last commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28996 72102866-910b-0410-8b05-ffd578937521
2009-11-13 07:51:58 +00:00
Richard Frith-MacDonald
68274a124a
fix copy/dealloc of named images
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28993 72102866-910b-0410-8b05-ffd578937521
2009-11-12 12:44:40 +00:00
Fred Kiefer
b5fc9e025d
Switch to the new shared composite and dissolve drawing code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28933 72102866-910b-0410-8b05-ffd578937521
2009-11-01 22:43:20 +00:00
Fred Kiefer
ab812de7b9
Remove usage of NSDeallocateObject
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28789 72102866-910b-0410-8b05-ffd578937521
2009-10-10 14:10:52 +00:00
Richard Frith-MacDonald
2be2de6735
Fix bug setting name of an image which already has a name. Added thread safety
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28743 72102866-910b-0410-8b05-ffd578937521
2009-09-27 08:54:03 +00:00
Richard Frith-MacDonald
2aa64c58a9
revert last change and do proper fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28652 72102866-910b-0410-8b05-ffd578937521
2009-09-10 11:02:17 +00:00
Richard Frith-MacDonald
fd1e6db81d
Fix error returning named images
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28566 72102866-910b-0410-8b05-ffd578937521
2009-08-28 13:04:15 +00:00
Richard Frith-MacDonald
55026bc7b3
cast to fix warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28560 72102866-910b-0410-8b05-ffd578937521
2009-08-28 05:02:24 +00:00
Richard Frith-MacDonald
fb3b2d3d19
theme system image fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28554 72102866-910b-0410-8b05-ffd578937521
2009-08-27 06:03:16 +00:00
Richard Frith-MacDonald
570b8a4963
Reorganize location of theme proxy code. Add some more comments too.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27831 72102866-910b-0410-8b05-ffd578937521
2009-02-10 14:32:08 +00:00
Richard Frith-MacDonald
c27362c255
add missing header line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27813 72102866-910b-0410-8b05-ffd578937521
2009-02-08 13:37:02 +00:00
Richard Frith-MacDonald
fa0b8d995b
Use proxies for named images so that changes to images are nstantly reflected
...
when you change themes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27810 72102866-910b-0410-8b05-ffd578937521
2009-02-08 11:02:57 +00:00
Wolfgang Lux
b4ece5bc82
Fix invalid return statements between NS_DURING and NS_HANDLER in
...
Source/NSImage.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27643 72102866-910b-0410-8b05-ffd578937521
2009-01-20 20:18:22 +00:00
Fred Kiefer
e9aba06b34
Draw the background colour even when it is the clear colour.
...
(Fixes issue on xlib backend)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27302 72102866-910b-0410-8b05-ffd578937521
2008-12-16 08:00:29 +00:00
Fred Kiefer
a492085ebe
Don't invalidate valid cached representations. The new cache would have
...
exactly the same contents.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27295 72102866-910b-0410-8b05-ffd578937521
2008-12-15 17:14:30 +00:00
Fred Kiefer
d1695ecc3c
Reorganize image caching code to make it easier to understand and
...
change. And a bit faster too.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27286 72102866-910b-0410-8b05-ffd578937521
2008-12-13 19:32:54 +00:00
Fred Kiefer
d39b74c4cc
Get the device description for an NSImage representation from the window.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27074 72102866-910b-0410-8b05-ffd578937521
2008-11-16 23:21:58 +00:00
Adam Fedor
7afdd32ac1
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Fred Kiefer
456a4cd97f
Two small bug fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25748 72102866-910b-0410-8b05-ffd578937521
2007-12-15 14:36:28 +00:00
Fred Kiefer
3b67603dba
Tread a zero source rectangle as the full image and clip to the
...
image bounds.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25649 72102866-910b-0410-8b05-ffd578937521
2007-11-30 19:52:26 +00:00
Fred Kiefer
193e31e678
Change all files to use GPL 3 and LGPL 3.
...
Prepare for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Fred Kiefer
7488b299c7
GUI part of the graphics context rewrite.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24966 72102866-910b-0410-8b05-ffd578937521
2007-04-04 14:33:39 +00:00
Fred Kiefer
210c327204
When requesting a tiff representation for an image where there is no
...
bitmap representation, create one. Idea by Renaud Molla
<renaud.molla@wanadoo.fr>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24820 72102866-910b-0410-8b05-ffd578937521
2007-03-08 09:35:09 +00:00
Adam Fedor
3f70810790
* TextConverters/RTF/GNUmakefile.preamble: Add BUNDLE_LIBS.
...
* Source/NSImage.m: Move documentation from here.
* Header/AppKit/NSImage.h: To here.
* Headers/AppKit/NSImageRep.h, : Add documentation. (patch #5714 ).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24495 72102866-910b-0410-8b05-ffd578937521
2007-02-10 03:45:22 +00:00
Richard Frith-MacDonald
8e6eaaac0f
Move main part of affine transform code to base for MacOS-X compatibility
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24133 72102866-910b-0410-8b05-ffd578937521
2006-11-19 11:32:51 +00:00
Richard Frith-MacDonald
45acf44de1
documentation cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24035 72102866-910b-0410-8b05-ffd578937521
2006-11-06 13:58:37 +00:00
Gregory John Casamento
a2cc8db82d
* Source/NSFont.m: Apply slightly modified version of patch
...
from Jeff Teunissen deek@d2dc.net to setNSFont(). Setting
a font should set its size.
* Source/NSImage.m: Set the alpha on the background when printing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23894 72102866-910b-0410-8b05-ffd578937521
2006-10-17 01:00:47 +00:00
Richard Frith-MacDonald
57435da7d5
tidyups and minor theme tiling updates.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
2006-10-15 08:34:47 +00:00
Gregory John Casamento
78bbf9e972
Implement encoding for these objects and correct issue with font size encoding. It was encoded/decoded as an int when it should have been a float.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23226 72102866-910b-0410-8b05-ffd578937521
2006-08-09 05:48:54 +00:00
Gregory John Casamento
84d0296b74
Correction for GSNibCompatibility. Added coding to classes for keyed archiving.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23225 72102866-910b-0410-8b05-ffd578937521
2006-08-09 01:37:32 +00:00
Richard Frith-MacDonald
65b175b904
Tweaks to avoid new compiler warnings with gcc-4.1 and some 64bit issues.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23126 72102866-910b-0410-8b05-ffd578937521
2006-07-04 21:31:49 +00:00
Fabien Vallon
a5ca4ab5d6
Improved documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22096 72102866-910b-0410-8b05-ffd578937521
2005-11-24 13:48:41 +00:00
Richard Frith-Macdonald
7971a89c72
Coding style fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22019 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:34:25 +00:00
Fred Kiefer
a41f94ab08
Take care that images render to the correct screen.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21963 72102866-910b-0410-8b05-ffd578937521
2005-11-06 19:37:27 +00:00
Fred Kiefer
d54180c5bb
Added methods for pattern colour and alpha image composition.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21436 72102866-910b-0410-8b05-ffd578937521
2005-07-08 23:51:49 +00:00
Adam Fedor
303dd1baf9
Update FSF Address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
Alexander Malmberg
e885109f43
2005-02-03 10:54 Alexander Malmberg <alexander@malmberg.org>
...
* Source/NSImage.m (min, max): Rename to ...
(gs_min, gs_max): ... this. Update callers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20650 72102866-910b-0410-8b05-ffd578937521
2005-02-03 09:47:38 +00:00
Alexander Malmberg
d67b1e64cd
2005-01-25 00:29 Alexander Malmberg <alexander@malmberg.org>
...
* Headers/AppKit/NSImage.h (-drawAtPoint:fromRect:fraction:)
(-drawInRect:fromRect:operation:fraction:): Document.
* Source/NSImage.m -drawAtPoint:fromRect:fraction:)
(-drawInRect:fromRect:operation:fraction:): Implement.
(min, max): New functions.
(-drawRepresentation:inRect:): Save the gstate before drawing
and restore it afterwards.
Fixes bug #11712 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20611 72102866-910b-0410-8b05-ffd578937521
2005-01-24 23:28:07 +00:00
Alexander Malmberg
df0ff73e62
2004-10-30 Alex Perez <aperez@student.santarosa.edu>
...
* Headers/AppKit/NSImage.h (+_standardImageWithName:): New method.
* Source/NSImage.m (+_standardImageWithName:): New method.
* Source/NSWorkspace.m (_getImageForName:alternate:): Remove. Update
callers to use +_standardImageWithName: instead.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20270 72102866-910b-0410-8b05-ffd578937521
2004-10-30 11:19:07 +00:00
Fred Kiefer
5271b53ebe
Some more keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20216 72102866-910b-0410-8b05-ffd578937521
2004-10-10 22:36:02 +00:00
Alexander Malmberg
181eac6eeb
(-size): Don't try to get the size if rep is nil.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19403 72102866-910b-0410-8b05-ffd578937521
2004-05-26 23:42:48 +00:00
Alexander Malmberg
205c9bd67f
Make private symbols actually private (1/n).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18007 72102866-910b-0410-8b05-ffd578937521
2003-10-30 00:23:23 +00:00
David Ayers
b18f1c4ac4
Header reorganization - Please refer to ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
Fred Kiefer
907959a781
In [initWithIconHandle:] and [initWithBitmapHandle:] release the
...
new bitmap image representation after adding it to the array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17338 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:14:40 +00:00
Fred Kiefer
a50f7b9a5c
Corrected handling of pasteboard data of type NSFilenamesPboardType.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17015 72102866-910b-0410-8b05-ffd578937521
2003-06-24 22:57:12 +00:00
Adam Fedor
6be9174933
Include <> -> ""
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
Adam Fedor
0de7e778fe
Updates for filesystem change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16566 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:33:10 +00:00
Nicola Pero
710652a86c
Fixed compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15775 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:29:00 +00:00
Adam Fedor
2eb03143c3
Update image caching for printing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15666 72102866-910b-0410-8b05-ffd578937521
2003-01-21 05:08:26 +00:00
Fred Kiefer
738b50d740
Moved method [NSBundle pathForImageResource:] to here.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14559 72102866-910b-0410-8b05-ffd578937521
2002-09-25 22:55:44 +00:00
Alexander Malmberg
54f5952632
Don't un-flip coordinates when drawing in flipped views.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14445 72102866-910b-0410-8b05-ffd578937521
2002-09-15 11:20:32 +00:00
Alexander Malmberg
23625fe2a5
Use a compositerect to clear the alpha channel if the background color isn't opaque.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14320 72102866-910b-0410-8b05-ffd578937521
2002-08-23 00:40:41 +00:00
Adam Fedor
f51c1bbf10
Merge from 0.8.0
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14232 72102866-910b-0410-8b05-ffd578937521
2002-08-03 03:32:19 +00:00
Adam Fedor
1d81bd63ea
Fix var name
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14066 72102866-910b-0410-8b05-ffd578937521
2002-07-06 03:18:14 +00:00
Adam Fedor
b7118e93f5
Image updates and doc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14065 72102866-910b-0410-8b05-ffd578937521
2002-07-06 02:54:36 +00:00
Adam Fedor
228bb345cf
Update docs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13335 72102866-910b-0410-8b05-ffd578937521
2002-04-03 16:59:43 +00:00
Adam Fedor
955aa35094
Split into Window server and graphic context handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13256 72102866-910b-0410-8b05-ffd578937521
2002-03-28 03:53:18 +00:00
Fred Kiefer
f11cd44c21
[setSize:] recache representations if size changes.
...
[recache] throw old caches away as size may have changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12778 72102866-910b-0410-8b05-ffd578937521
2002-02-26 14:37:55 +00:00
Adam Fedor
21fa8a7d68
Remove NSImage hack, other fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12763 72102866-910b-0410-8b05-ffd578937521
2002-02-25 17:39:11 +00:00
Fred Kiefer
670fccda89
Corrected [TIFFRepresentation], was calling the wrong
...
NSBitmapImageRep method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12376 72102866-910b-0410-8b05-ffd578937521
2002-02-02 00:27:32 +00:00
Adam Fedor
69a9e0dea5
Temporary fix to round down image size
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12262 72102866-910b-0410-8b05-ffd578937521
2002-01-29 15:23:17 +00:00
Adam Fedor
d47e202fbe
Markup for autogsdoc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
Adam Fedor
36be3e7686
Draw image background even when clear
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11654 72102866-910b-0410-8b05-ffd578937521
2001-12-07 22:52:42 +00:00
Adam Fedor
b4481e1c16
Cursor changes, etc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11618 72102866-910b-0410-8b05-ffd578937521
2001-12-03 21:17:12 +00:00
Fred Kiefer
1a89415bdc
[initialize] and [imageNamed:] use hardcoded
...
@GNUSTEP_INSTALL_LIBDIR only for non-GNUstep foundation library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11600 72102866-910b-0410-8b05-ffd578937521
2001-12-02 11:45:01 +00:00
Adam Fedor
91e18c2ded
acrchiving fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10918 72102866-910b-0410-8b05-ffd578937521
2001-09-16 19:44:11 +00:00
Adam Fedor
09193da35a
Fix image unacrhiving
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10831 72102866-910b-0410-8b05-ffd578937521
2001-09-01 20:57:51 +00:00
Adam Fedor
67b4261f59
Image archiving fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10820 72102866-910b-0410-8b05-ffd578937521
2001-08-30 22:02:38 +00:00
Nicola Pero
759f159d16
Fixed setName: to work - was crashing all apps with an icon at startup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10689 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:07:39 +00:00
Fred Kiefer
468daba33d
Dummy implementation of new methods.
...
[dissolveToPoint:fromRect:fraction:] Move the drawing rectangle
to the origin of the image rep before the intersection of the two
rects.
[TIFFRepresentationUsingCompression:factor:] and
[TIFFRepresentation] call method on NSBitmapImageRep.
List explicit flag settings in [init].
Moved background drawing to [drawRepresentation:inRect:].
Restructured [_doImageCache] and [_cacheForRep:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10679 72102866-910b-0410-8b05-ffd578937521
2001-08-11 18:34:22 +00:00
Adam Fedor
6fc3726a02
Fixes to compile shared on Windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10611 72102866-910b-0410-8b05-ffd578937521
2001-07-30 21:30:51 +00:00
Adam Fedor
a56278096e
Merge from 0.7.0
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10329 72102866-910b-0410-8b05-ffd578937521
2001-07-09 02:49:03 +00:00
Adam Fedor
ca76560c9e
Verfiy bundle loading, make sure nib loaded visibile windows get orderedFront.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10021 72102866-910b-0410-8b05-ffd578937521
2001-05-24 14:47:43 +00:00
Adam Fedor
e197e9a3c4
Fix imgae compositing - intersect fromRect
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9589 72102866-910b-0410-8b05-ffd578937521
2001-04-14 20:06:13 +00:00
Richard Frith-MacDonald
b5801d88f8
Tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9186 72102866-910b-0410-8b05-ffd578937521
2001-02-19 20:50:49 +00:00
Fred Kiefer
8dd31d83b4
Implemented [initWithBitmapHandle:], [initWithIconHandle:] and
...
[initWithContentsOfURL:]. [copyWithZone:] dont copy cached image reps.
Allways use [self representations], so that the representation is
loaded if needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8428 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:05:12 +00:00