nanogui: Re: GrArc() function doc update [part deux]
Subject:
Re: GrArc() function doc update [part deux]
From:
Robert Hartley ####@####.####
Date:
29 Nov 2000 21:18:30 -0000
Message-Id: <3A252C37.835EB072@ics.com>
Hi again,
Changed the value below from -25 to -2500 had no visible change.
So, could someone please correct my understanding if wrong:
Points a & b are used to calculate a vector from the origin of the arc to
indicate where the arc starts and stops.
Robert Hartley wrote:
> /* upper left */
> GrArc(paintDrawable, gc2,
> 100, 100, /* x, y */
> 25,25, /* rx, ry */
> 0, -2500, /* ax, ay */
> -25, 0, /* bx, by */
> 1); /* type */
>
> In the docs, we may want to change it to read "relative to the origin of x,y"
>
> What would happen if we were to indicate points [a & b] whose distance from
> [x,y] did not coincide with the radii [rx, ry], I am not sure, but I have
> enough now to be able to draw rectangles with rounded corners in NanoX