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
Fred Kiefer
681da22a0e
Adopted to changes in header file. General cleanup.
...
Removed obsolete backend declarations.
Move ivar fileName from GSRepDate to NSImage, as it is used only
once. This simplifies [_useFromFile:] and [_loadImageFilenames].
Implemented [compositeToPoint:fromRect:operation:] and
[dissolveToPoint:fromRect:fraction:] by calling the corresponding
function. Now the operator given to this methods is really used!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8420 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:19:23 +00:00
Richard Frith-MacDonald
1ee0716c90
Clipview redisplay fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7854 72102866-910b-0410-8b05-ffd578937521
2000-10-20 04:19:22 +00:00
Adam Fedor
e8770fc3fe
Check for nil extension
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6610 72102866-910b-0410-8b05-ffd578937521
2000-05-23 20:57:45 +00:00
Jonathan Gapen
0b2be78c02
Implement NSColorPicker, add method defs to NSImage.h, add ivar init to
...
NSImage.m, fix bug in NSBundle [-pathForImageResource:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6380 72102866-910b-0410-8b05-ffd578937521
2000-03-25 11:54:29 +00:00
Richard Frith-MacDonald
ec738f36de
Image encoding support - first cut
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5633 72102866-910b-0410-8b05-ffd578937521
1999-12-28 16:02:01 +00:00
Richard Frith-MacDonald
d34a83277b
Better caching
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5611 72102866-910b-0410-8b05-ffd578937521
1999-12-22 12:11:40 +00:00
Richard Frith-MacDonald
cfd932f104
iImprove image caching
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5609 72102866-910b-0410-8b05-ffd578937521
1999-12-22 12:08:24 +00:00
Richard Frith-MacDonald
5ed8c1ec93
Improved menu display and image caching
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5505 72102866-910b-0410-8b05-ffd578937521
1999-12-14 11:18:11 +00:00