Added your comment to the ticket (please sign up to Jira if you have not
already it will help when discussing bugs).
Personally I would not of expected a symbol to rotate around the centre
unless the anchor point was set at [0.5 0.5].
--
Jody Garnett
On 28 January 2015 at 03:13, <herve.mi...@mettenmeier.de> wrote:
> Hello,
>
> I am new in the goetool developer community, but are geotools user since
> long time.
>
> I found a solution for the Jira Task number *GEOS-6698*. The geotools
> library *gt-render-11.x* definately do not rotate symbols around their
> center.
>
> Before I make a pull request I wanted to know whether another solution is
> currently prepared.
>
> My idea is to replace the line "*markAT.rotate(icoStyle.getRotation());*"
> by the following line
>
> "*markAT.rotate(icoStyle.getRotation(), icon.getIconWidth() / 2.0,
> icon.getIconHeight() / 2.0);*"
>
>
> in the *public void paint(final Graphics2D graphics, final LiteShape2
> shape,*
> * final Style2D style, final double
> scale, boolean isLabelObstacle)* method.
>
> I already tried it and it works well. Do anybody have a suggestion?
>
> Thanks in advance.
>
>
>
> Mit freundlichen Grüßen / Kind regards
>
> *Hervé Minko*
> Software Ingenieur / Software Engineer
>
> Mettenmeier GmbH Utility Solutions
> Klingenderstr. 10 - 14
> 33100 Paderborn, Germany
>
> T +49 5251 150-307
> F +49 5251 150-366
> M +49 173 2577871
> E herve.mi...@mettenmeier.de
> I www.mettenmeier.de
>
> [image: Mettenmeier GmbH] <http://www.mettenmeier.de/>[image: XING -
> Mettenmeier GmbH] <https://www.xing.com/companies/mettenmeiergmbh>[image:
> Facebook - Mettenmeier GmbH] <https://www.facebook.com/mettenmeier>[image:
> YouTube - Mettenmeier GmbH] <http://www.youtube.com/mettenmeiergmbh>[image:
> Twitter - Mettenmeier GmbH] <https://twitter.com/Mettenmeier>
> ------------------------------
>
> Mettenmeier GmbH
> Sitz der Gesellschaft: 33100 Paderborn
> Geschaeftsfuehrung: Ulrich Mettenmeier, Dirk Weidemann
> Handelsregister: Amtsgericht Paderborn B 1114
> USt.-ID: DE 811 324 124
> Steuer-Nr.: 339/5873/3133
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel