On Thursday 15 November 2001 15:43, Micah Dowty wrote:
> I have the code integrated into pgserver in CVS now. However, there
> are some problems with clipping and scaling.
>
> The filled polygon makes no attempt to implement clipping, so it
> will gladly write anywhere on or off the screen. I also noticed
> that the ellipse and filled ellipse do not implement clipping, they
> just use the default rectangle-truncation that the rendering engine
> does.
>
> The code snipped below illustrates the problems- resize it so that
> the shapes should be cut off. The polygon will draw itself over the
> panelbar and the ellipses will be squashed instead of cut.
>
> Also, if you uncomment that pgSetMapping line, it will draw fine
> once, then crash the next time you resize it. This is because the
> code to implement scaling on the filled polygon modifies the
> polygon's array permanently to implement the scaling.
>
> Anyway, thanks for the patch Shane and hopefully we'll get it
> debugged soon :)

Yes, I knew it was broken :).  But it's better to integrate I think, 
because then it will get fixed.  Sitting in my "basement of code" it 
will take a lot longer to get Polygons in.  So..., now there will be 
itches where there weren't any before, and someone will scratch them 
:).

Thanks,
Shane Nay.

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to