[mapguide-users] Patch for ticket 852 (Possibility to change the selection transparency with the selection color)

Jackie Ng jumpinjackie at gmail.com
Sun Apr 20 17:40:37 PDT 2014


Question to users.

This patch will respect the alpha component for selection colors, but for
the sake of "compatibility" will retain the existing override behavior if
the alpha component is FF, meaning for an un-modified AJAX/Fusion viewer
the selection will look the same as before.

Should we be trying to retain this behavior?

- Jackie

>>>

Hi All,

I've attached a patch for ticket 852.

http://trac.osgeo.org/mapguide/ticket/852

This changes the render selection mode of the AGG and GD renderers so that
the alpha component is respected as long as it is not a fully opaque value
(ie. FF). This means the default selection color of 0x0000FFFF (blue) in
the AJAX viewer will have its transparency overridden as before, but
specifying a non-FF alpha component will cause the renderers to respect
that value.

Please review. Thanks.

- Jackie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20140421/0779e11f/attachment.html>


More information about the mapguide-users mailing list