Tests for improvement in rendering
quikee at gmail.com
Mon Nov 8 15:33:13 UTC 2021
On Fri, Nov 5, 2021 at 10:01 AM Tomaž Vajngerl <quikee at gmail.com> wrote:
> Hi Regina,
> I guess rendering the shape to primitives and then dumping the primitives
> to an xml and asserting the values should do it, however the
> Primitive2dXmlDump will probably need to be extended for 3D primitives.
> I'll try to make a test that will cover some of the rendering aspects for
I have extended the Primitive2dXmlDump  so it also should be able to
dump 3D primitives (and introduced Primitive3dXmlDump for that). The key
here is the ScenePrimitive2D, which is the 2D "surface" on which the 3D
scene is rendered to.
With this you should be able to write tests for fontwork objects and also
other 3D objects. As an example I've added testFontWorks
(svx/qa/unit/svdraw.cxx). Tell me if there is something missing.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice