mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
* Headers/AppKit/NSImageRep.h: Add comment clarifying that -draw
is a primitive method which subclasses should override. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34815 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d3321c2ffa
commit
b579efa85d
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-02-24 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Headers/AppKit/NSImageRep.h: Add comment clarifying that -draw
|
||||
is a primitive method which subclasses should override.
|
||||
|
||||
2012-02-20 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSWindow.m (-setFrameFromString:): Correct bug in
|
||||
|
|
|
@ -145,6 +145,14 @@ enum {
|
|||
//
|
||||
// Drawing the Image
|
||||
//
|
||||
|
||||
/**
|
||||
* Primitive method which must be overridden by subclasses to
|
||||
* perform their drawing. They should draw inside a rectangle
|
||||
* with an origin at (0, 0) and a size equal to the
|
||||
* receiver's size, and they should entirely fill this rectangle,
|
||||
* overwriting the destination alpha as well.
|
||||
*/
|
||||
- (BOOL)draw;
|
||||
- (BOOL)drawAtPoint:(NSPoint)aPoint;
|
||||
- (BOOL)drawInRect:(NSRect)aRect;
|
||||
|
|
Loading…
Reference in a new issue