Age | Commit message (Collapse) | Author |
|
Change-Id: I82b5c5ced8a4f0e719d1aeffed86845b9db1b68b
|
|
regression since cf3c6cb40f99fa1761a6af3d7447a899b9447868
Change-Id: Iaeb44d948d3e0a0b26cfd3e16aa81b979cf56457
|
|
Change-Id: Iaaf19c01dc4ec10c72a66dac35ac64e37766d08e
|
|
ImpObjStack uses it's own home-grown stack and stack functions. There
is a function that unwinds the stack, but really it would be better if
we used std::set. In fact, this is better, because the name ImpObjStack
is really not terribly descriptive. I've replaced it with a stack of
OutDevState objects.
Change-Id: I87bdd4340ad77b7ffd9ff176fa5a9ffeac8b8666
|
|
Change-Id: I3fcf630b8a0ef5be0d98ddc11a746e07885bae53
|
|
Grouped wallpaper functions in outdev.hxx, also changed the function
names:
+ ImplDrawColorWallpaper -> DrawColorWallpaper
+ ImplDrawBitmapWallpaper -> DrawBitmapWallpaper
+ ImplDrawWallpaper -> DrawWallpaper
Change-Id: I0eb9c21bf2f6a336df22cd27cd1557f2c795f792
|
|
Change-Id: If76b99589ddd83431593404c1034b8b726bc3f9b
|
|
All these do is some very, very basic initialization. There is no need
to lazy load the structure, it should be initialized when OutputDevice
is created in the constructor and deinitialized in the destructor.
Change-Id: I780caf4d02e9a2a7d094989cf0bba579493ca98d
|
|
Change-Id: I3915cfabb9568480d74ea6d4e459def6fe912eb9
|
|
Change-Id: Idb1faf5632da8ea3fec674f9fb2d042c7ff14fa7
|
|
Change-Id: I8c683588d8bdb6dd287e60fc1e249bd5633a4ee2
|
|
Change-Id: Ia2db9d640af6bdc35f3e38b5b85355721d5b8331
|
|
Window checks to see if the window is currently being painted, then it
checks to see if there is an active clipping region (which it needs to
intersect with).
Printer and VirtualDevice don't have this need, so they just return the
clipping region.
Change-Id: I1a9af237940f5add725c783c02a193c9e3329fa6
|
|
Change-Id: If8d18b59285f75d61d9972ca019390fce700be3c
|
|
Window instances need to handle overlapped window clipping,
VirtualDevice and Printer do not have to worry about this. This code
should be kept in the class that handles it, so I'm seperating it out.
Change-Id: Ie7df90c983f7a858b563d4f892ceb64d575c0319
|
|
Change-Id: I0b3c6e4a1f75d2cb50ed35595dca65d8bb89996e
|
|
Change-Id: I0a55fcad484c368634d8eb79d1a0fb440c6f635a
|
|
Change-Id: I2439ad38dc531fb35167f6778312a244bb2fbb01
|
|
Change-Id: Ibc307a74e93cd80c651d17e41a3828c06a58b160
|
|
Change-Id: I3dd371fee066eebe357379d6a3b3f6ebe1901471
|
|
Change-Id: I361074519a84c9c1497a4ce91df86842e69fc6b0
|
|
Change-Id: I533593d8e5dee52441e97d55a72685def7566320
|
|
Change-Id: Ib8f72898bc9cc40a7a4fc1e509eb2f2e36e3d283
|
|
Change-Id: Id759b151bb636aa7c79043854a622a88a544138d
|
|
Change-Id: Idd1bc7f640fb62265f453b5a201b052bbbc14b77
|
|
Change-Id: I45c811b9f7c5c10fcefe0e2da809bdc5cc381de1
|
|
Change-Id: Iae98ff3b75dce83a7d05176b6a0bdf93b7e5fb00
|
|
Change-Id: Idee24d0d5ec25082ed1be48bee6051f132e00a97
|
|
Change-Id: Ib4d5da9bb36e6ad7a02536f169ae7b634bb939db
|
|
Change-Id: Ic984322bb4890196a8ff8e8798ac16292c95dc70
|
|
Change-Id: Iaceaa0806b200bb79ea2e033b93512670dd9d58b
|
|
Change-Id: I01e380cf87c6c18ebfc15b1f2a1055d100074991
|
|
Change-Id: I9bb6a5d123c35d3de2d2fa7b8a427c92f599afd7
|
|
Change-Id: I0eba1f88f607ba1faf40d8507bb184bdc88085be
|
|
Change-Id: I4086978f2292538c458802a7fb56c0d3826f2def
|
|
Turns out, we don't try to initialize a graphics context, much less
*acquire* one. e.g. Window instances can have many frames (subwindows),
of which one some are really being used at any time so we try to
"steal" one of the graphics contexts from the frame to use ourself,
later on that frame will steal it from someone else, etc.
Change-Id: I66d5dbb7015301bc2d2be51627061c91e1f2ee5d
|
|
Change-Id: Id2325822730d3d9167706c8c4118eaa3ca727195
|
|
I misread the original code and in OutputDevice::InitFont().
Antialiasing should NOT be done for Printer fonts, and SHOULD be done
by VirtualDevice and Window fonts. Unfortunately, I made Printer fonts
do anti-aliasing and VirtualDevice and Window fonts did not...
Change-Id: Ic38451da4ffdfa2e7a5412355f659bde03eae08f
|
|
Change-Id: I1691c4fa5dee3d9cbabc939682a39c4c7befdd4c
|
|
Change-Id: Iad6109a353181759fa64e48a82a003f785d0e58c
|
|
Change-Id: I542282cd4757c3d841f8e2b48847ab5d5ba1574e
|
|
Change-Id: Ic13a4ac4ca3b4ed23c0db9bc6894024f7b2d959a
|
|
Change-Id: I2dcde25b98004be4f0f45ad3d7e258daee3ca42b
|
|
Change-Id: Id1bfa4c6db202597107de3047326fe1bd17f2387
|
|
Mainly moved map functions into their own block, however I have also
done a bit more reorganization. Quite a bit to go, it seems...
Change-Id: I041d91c9b96066f5f1e11bd82968c2712988e5f4
|
|
Change-Id: Ib10024fe92ae364d31082177724be718d426fe26
|
|
Rename lcl_* functions in nativecontrols.cxx, also renamed
outdevnative.cxx to nativecontrols.cxx
Change-Id: Ie9a362f09cb5044e486086e7d890ae433f7dddc6
|
|
Reorganized OutputDevice line functions - several of these functions
should be private. I have renamed the following functions:
* ImplInitLineColor -> InitLineColor (made this private)
* ImplPaintLineGeometryWithEvtlExpand -> PaintLineGeometryWithEvtlExpand
(made this private)
* ImplTryDrawPolyLineDirect -> TryDrawPolyLineDirectNoAA (made this
private)
I also made a small code change to make bTryAA more clear, and also
change (bTryAA && TryDrawPolyLineDirect(rPoly.getB2DPolygon()) to a
nestied if statement.
Change-Id: I90e8083d69b715912bf0ad1d400bc355f3501981
|
|
Change-Id: Idcb2b3c1ad1830bb781b5a9a0527dd2a08ef2b18
|
|
Grouped hatch functions in outdev.hxx. Renamed ImplDrawHatch to DrawHatch
(allow C++ overloading to work out which to use), and renamed
ImplCalcHatchValues to CalcHatchValues and ImplDrawHatchLine to
DrawHatchLIne.
Change-Id: I7be62ec1754864424f6c158ab70178606ccbf1b1
|