[Gambas-user] Drawing sector

Jussi Lahtinen jussi.lahtinen at ...626...
Thu Dec 6 23:51:42 CET 2012


Still something wrong...

By this code I would expect to see two sectors each of them quarter of
whole circle,
now second one (blue) is half of circle.

Draw.FillColor = Color.Red
Draw.Circle(106, 106, 105, 0, Rad(90))
Draw.FillColor = Color.Blue
Draw.Circle(106, 106, 105, Rad(90), Rad(180))


Jussi




On Thu, Dec 6, 2012 at 2:21 AM, Benoît Minisini <
gambas at ...1...> wrote:

> Le 05/12/2012 12:51, Benoît Minisini a écrit :
> > Le 02/12/2012 22:59, Jussi Lahtinen a écrit :
> >> At least latest revision has changed behaviour of circle keyword (in
> >> Qt4).
> >>
> >> This doesn't draw red sector, instead it seems to draw some part of it
> >> which doesn't start from x,y:
> >>
> >> Draw.Foreground = Color.Black
> >> Draw.LineWidth = 1
> >> Draw.FillStyle = Fill.Solid
> >> Draw.FillColor = Color.Red
> >> Draw.Circle(x, y, iSize, fStartAngle, fAngle)
> >>
> >>
> >> Jussi
> >
> > I confirm the regression. I will look at it...
> >
>
> OK, it should be fixed in revision #5413.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list