Ticket Created
over 4 years ago

WERETECH-9827

Bad antialiasing of transparent color

There is a wrong antialiasing if I draw an arc in Gfx.COLOR_TRANSPARENT and dc.setAntiAlias(true):

It works perfectly when dc.setAntiAlias(false):

  • My reason was that the colors are configurable (changes with the watchface palette) and includes data items not to show (and not to overlay the underlaying data) = transparent.

    I did a workaround to test for such case and conditionally skip the drawing. 

    No-op would be great. Others might encounter the case harder to workaround. 

  • Huh.

    While I can agree that this is probably a bug (drawing a transparent arc/circle/rectangle/polygon should be a no-op), why would you even want to do such a thing?