mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
More doc fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17303 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
daf5efadae
commit
56b238da25
3 changed files with 9 additions and 7 deletions
|
@ -14,6 +14,8 @@
|
|||
* Source/NSOpenPanel.m: ditto
|
||||
* Source/NSPasteboard.m: ditto
|
||||
* Source/NSView.m: ditto
|
||||
* Source/NSBezierPath.m: ditto
|
||||
* Headers/gnustep/gui/NSBezierPath.h: ditto
|
||||
|
||||
2003-07-22 Andrew Ruder <aeruder@ksu.edu>
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ typedef enum {
|
|||
//
|
||||
+ (NSBezierPath *)bezierPath;
|
||||
+ (NSBezierPath *)bezierPathWithRect:(NSRect)aRect;
|
||||
+ (NSBezierPath *)bezierPathWithOvalInRect:(NSRect)rect;
|
||||
+ (NSBezierPath *)bezierPathWithOvalInRect:(NSRect)aRect;
|
||||
|
||||
//
|
||||
// Immediate mode drawing of common paths
|
||||
|
@ -186,7 +186,7 @@ typedef enum {
|
|||
// Appending common paths
|
||||
//
|
||||
- (void)appendBezierPath:(NSBezierPath *)aPath;
|
||||
- (void)appendBezierPathWithRect:(NSRect)rect;
|
||||
- (void)appendBezierPathWithRect:(NSRect)aRect;
|
||||
- (void)appendBezierPathWithPoints:(NSPoint *)points count:(int)count;
|
||||
- (void)appendBezierPathWithOvalInRect:(NSRect)aRect;
|
||||
- (void)appendBezierPathWithArcWithCenter:(NSPoint)center
|
||||
|
|
|
@ -856,13 +856,13 @@ static float default_miter_limit = 10.0;
|
|||
}
|
||||
}
|
||||
|
||||
- (void) appendBezierPathWithOvalInRect: (NSRect)rect
|
||||
- (void) appendBezierPathWithOvalInRect: (NSRect)aRect
|
||||
{
|
||||
NSPoint p, p1, p2;
|
||||
double originx = rect.origin.x;
|
||||
double originy = rect.origin.y;
|
||||
double width = rect.size.width;
|
||||
double height = rect.size.height;
|
||||
double originx = aRect.origin.x;
|
||||
double originy = aRect.origin.y;
|
||||
double width = aRect.size.width;
|
||||
double height = aRect.size.height;
|
||||
double hdiff = width / 2 * KAPPA;
|
||||
double vdiff = height / 2 * KAPPA;
|
||||
|
||||
|
|
Loading…
Reference in a new issue