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

Group
 
 

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

Submitter:  Alexander Malmberg <alexm>
Submitted:  Sun 23 Jan 2005 11:38:11 PM UTC
   
 
Category:  Gui/AppKit Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  alexm
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group Member
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>
Group Member
Sun 23 Jan 2005 11:38:11 PM UTC, original submission:  


Alexander Malmberg <alexm>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-01-25 alexm StatusNone Fixed
    Assigned toNone alexm
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code