DrawingLayer:
What Should You Know about It
Jan Holesovsky <kendy@collabora.com> kendy, #libreoffice-dev, irc.freenode.net
DrawingLayer: What Should You Know about It Jan Holesovsky - - PowerPoint PPT Presentation
DrawingLayer: What Should You Know about It Jan Holesovsky <kendy@collabora.com> kendy, #libreoffice-dev, irc.freenode.net What is DrawingLayer (Another) drawing infrastructure in LibreOffjce One man show: Armin Le Grand No
Jan Holesovsky <kendy@collabora.com> kendy, #libreoffice-dev, irc.freenode.net
One of these...
Creation of the Hatch Primitive (to add to a kind of display list, to render later). Creation of the Hairline Primitive (rectangle) Processor to render the “display list” later. The “display list”. The rendering itself.
curves/polygons)
polygons)
combining the Basic primitives
to break down to a combination of the Basic primitives.
wo colored marker hairline (to be drawn around
PolyPolygonHairlinePrimitive2D's (one that has 1st and the other 2nd color)
hierarchy of the Primitives, and renders it some way
implied by the various decompositions
metafjle
something' – like eg. soft shadows, etc.
ancestor if it fjts the purpose better)
drawinglayer_primitivetypes2d.hxx]
Primitive2DSequence create2DDecomposition(...)]
resulting bitmap
(like SdrT extObj [via SdrAttrObj], SdrRectObj, SdrCircObj)
Model/View/Controller, but at the moment
Source: http://www.openoffice.org/marketing/ooocon2006/ presentations/wednesday_g11.odp
sort of operations on them
drawing to an intermediate bitmap
– the primitives have no knowledge of the underlying device,
Processors live shortly
that'll ever fjnish – so don't be afraid to fjx or rework there stufg yourself