mirror of
https://github.com/LibreOffice/core.git
synced 2025-07-26 15:45:26 +00:00

In OverlayManager rendering AA state is set at the target OutputDevice, this obviously only works if the target renderer *is* an OutputDevice, thus not with e.g. CairoSDPR. Thus I added changing ViewInformation2D in BaseProcessor2D directly. This simplifies if changes to a primitive renderer have to be made while it's lifetime. All other aspects of ViewInformation2D can of course also be changed. There were occasions in the past where working around this was needed, this is then obsolete. Since e.g. setting AA at the target renderer which may not always be an OutputDevice makes this also target device independent - the primitive renderer is the instance that knows how to apply this correctly. Change-Id: I1836d08d0844dfed81bb84e8fccbe3fabe2831c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188220 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>