[BUG][FIX] Fix for bad arrowhead geometry in PolygonMorph

Karl Ramberg karl.ramberg at chello.se
Sat Sep 2 18:54:16 UTC 2000



Ned Konz wrote:

> The enclosed changeset fixes the tendency of arrowheads in PolygonMorphs
> to be offset downwards and to the right by borderWidth//2 . This
> effect can be seen clearly by making an open PolygonMorph with an arrowhead
> and a fairly thick borderWidth, and then rotating it through its various
> angles.
>
> Not yet fixed is the fact that the arrowheads extend past the end vertices.
>
> Also, the arrow geometry itself has been factored out, and can be overridden
> by subclasses.

Fix seems to work:-)
But one question, this is probably to Dan,
when rotating polygons, lines etc the grapics get lots of artifacts. Does this
meen that
the rotation is to the bitmap representation of the vector ?

Karl





More information about the Squeak-dev mailing list