Improved documentation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22120 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fabien_ 2005-11-29 08:37:21 +00:00
parent 88d112523b
commit 76d8b6f824
3 changed files with 79 additions and 41 deletions

View file

@ -68,7 +68,7 @@
@implementation NSCachedImageRep
/** <p>Initializes and returns a new NSCachedImageRep with size
and depth specified by <var>aSize</var> and <var>aDepth</var> recpectivly.
and depth specified by <var>aSize</var> and <var>aDepth</var> respectively.
If seperate is YES, the image will gets its own unique cache without
sharing it with other images. </p>
*/
@ -91,12 +91,14 @@
RELEASE(win);
[self setAlpha: alpha];
[self setBitsPerSample: NSBitsPerSampleFromDepth(aDepth)];
return self;
}
/** <p>Initializes and returns a new NSCachedImageRep into a NSWindow
<var>aWindow</var>. The image will be draw into the rectange aRect of
this window. aWindow is retained</p>
this window. aWindow is retained.</p>
<p>See Also: -rect -window</p>
*/
- (id) initWithWindow: (NSWindow *)aWindow rect: (NSRect)aRect
{
@ -138,14 +140,16 @@
[super dealloc];
}
/** <p>Returns the rectangle where the image is cached</p>
/** <p>Returns the rectangle where the image is cached.</p>
<p>See Also: -initWithWindow:rect:</p>
*/
- (NSRect) rect
{
return _rect;
}
/** <p>Returns the NSWindow where the image is cached</p>
/** <p>Returns the NSWindow where the image is cached.</p>
<p>See Also: -initWithWindow:rect:</p>
*/
- (NSWindow *) window
{