bugGNUstep - Bugs: bug #11712, NSImage doesn't implement...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11712: NSImage doesn't implement -drawInRect:fromRect:operation:fraction:

Submitted by:  Alexander Malmberg <alexm>
Submitted on:  Sun 23 Jan 2005 11:38:11 PM UTC  
 
Category: Gui/AppKitSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Alexander Malmberg <alexm>
Open/Closed: Closed

Tue 25 Jan 2005 12:10:46 AM UTC, comment #2:

Fixed in cvs (and NSImageCell has been cleaned up):

Module name: gnustep
Branch:
Changes by: Alexander Malmberg <alexm(at)savannah.gnu.org> 05/01/24 23:28:07

Modified files:
core/gui : ChangeLog
core/gui/Source: NSImage.m
core/gui/Headers/AppKit: NSImage.h

Log message:
2005-01-25 00:29 Alexander Malmberg <alexander(at)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.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/ChangeLog.diff?tr1=1.2465&tr2=1.2466&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSImage.m.diff?tr1=1.85&tr2=1.86&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Headers/AppKit/NSImage.h.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Alexander Malmberg <alexm>
Project MemberIn charge of this item.
Sun 23 Jan 2005 11:40:45 PM UTC, comment #1:

When this bug is fixed, the workaround in [NSImageCell -drawInteriorWithFrame:inView:] should be cleaned up.

Alexander Malmberg <alexm>
Project MemberIn charge of this item.
Sun 23 Jan 2005 11:38:11 PM UTC, original submission:
Alexander Malmberg <alexm>
Project MemberIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 25 Jan 2005 12:10:46 AM UTCalexmStatusNone=>Fixed
  Assigned toNone=>alexm
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1