Wrap up plain XCanvas with view-specific render state.

Since XCanvas is stateless, we'd need to convey some state around,
e.g. transformations and clips. Done via struct Canvas, that we pass
on to functions, and sometimes keep as local state for stateful
objects like Views.

WIP for now.

Change-Id: I96ce2f4f1ab97c139e09938555d53f4f1edd2c02
24 files changed
tree: de81368d9841b3b212fab7f6daaff7f34d21dc22
  1. .git-hooks/
  2. accessibility/
  3. afms/
  4. android/
  5. animations/
  6. apache-commons/
  7. apple_remote/
  8. avmedia/
  9. basctl/
  10. basebmp/
  11. basegfx/
  12. basic/
  13. bean/
  14. beanshell/
  15. bin/
  16. binaryurp/
  17. bluez_bluetooth/
  18. boost/
  19. bridges/
  20. cairo/
  21. canvas/
  22. chart2/
  23. cli_ure/
  24. clucene/
  25. codemaker/
  26. comphelper/
  27. compilerplugins/
  28. config_host/
  29. configmgr/
  30. connectivity/
  31. cppu/
  32. cppuhelper/
  33. cppunit/
  34. cpputools/
  35. crashrep/
  36. ct2n/
  37. cui/
  38. curl/
  39. dbaccess/
  40. desktop/
  41. distro-configs/
  42. drawinglayer/
  43. dtrans/
  44. editeng/
  45. embeddedobj/
  46. embedserv/
  47. epm/
  48. eventattacher/
  49. expat/
  50. extensions/
  51. external/
  52. extras/
  53. fileaccess/
  54. filter/
  55. firebird/
  56. firefoxos/
  57. fontconfig/
  58. forms/
  59. formula/
  60. fpicker/
  61. framework/
  62. freetype/
  63. graphite/
  64. harfbuzz/
  65. helpcompiler/
  66. hsqldb/
  67. hunspell/
  68. hwpfilter/
  69. hyphen/
  70. i18nlangtag/
  71. i18npool/
  72. i18nutil/
  73. icon-themes/
  74. icu/
  75. idl/
  76. idlc/
  77. include/
  78. instsetoo_native/
  79. io/
  80. ios/
  81. javaunohelper/
  82. jfreereport/
  83. jpeg/
  84. jurt/
  85. jvmaccess/
  86. jvmfwk/
  87. l10ntools/
  88. languagetool/
  89. lcms2/
  90. libatomic_ops/
  91. libcdr/
  92. libcmis/
  93. libexttextcat/
  94. liblangtag/
  95. libmariadb/
  96. libmspub/
  97. libmwaw/
  98. libodfgen/
  99. liborcus/
  100. libpng/
  101. librelogo/
  102. libvisio/
  103. libwpd/
  104. libwpg/
  105. libwps/
  106. libxml2/
  107. libxmlsec/
  108. libxslt/
  109. lingucomponent/
  110. linguistic/
  111. lotuswordpro/
  112. lpsolve/
  113. m4/
  114. mdds/
  115. Mesa/
  116. more_fonts/
  117. moz/
  118. mysqlc/
  119. mysqlcppconn/
  120. mythes/
  121. neon/
  122. nlpsolver/
  123. np_sdk/
  124. nss/
  125. o3tl/
  126. odk/
  127. offapi/
  128. officecfg/
  129. oovbaapi/
  130. oox/
  131. openldap/
  132. openssl/
  133. package/
  134. padmin/
  135. poppler/
  136. postgresql/
  137. postprocess/
  138. psprint_config/
  139. python3/
  140. pyuno/
  141. qadevOOo/
  142. readlicense_oo/
  143. redland/
  144. registry/
  145. remotebridges/
  146. reportbuilder/
  147. reportdesign/
  148. rhino/
  149. ridljar/
  150. rsc/
  151. sal/
  152. salhelper/
  153. sane/
  154. sax/
  155. sc/
  156. scaddins/
  157. sccomp/
  158. scp2/
  159. scripting/
  160. sd/
  161. sdext/
  162. setup_native/
  163. sfx2/
  164. shell/
  165. slideshow/
  166. smoketest/
  167. solenv/
  168. soltools/
  169. sot/
  170. starmath/
  171. stoc/
  172. store/
  173. svgio/
  174. svl/
  175. svtools/
  176. svx/
  177. sw/
  178. swext/
  179. sysui/
  180. test/
  181. testtools/
  182. tomcat/
  183. toolkit/
  184. tools/
  185. touch/
  186. tubes/
  187. twain/
  188. ucb/
  189. ucbhelper/
  190. ucpp/
  191. udkapi/
  192. unixODBC/
  193. UnoControls/
  194. unodevtools/
  195. unoidl/
  196. unoil/
  197. unotest/
  198. unotools/
  199. unoxml/
  200. ure/
  201. uui/
  202. vbahelper/
  203. vcl/
  204. vigra/
  205. wizards/
  206. writerfilter/
  207. writerperfect/
  208. xmerge/
  209. xmlhelp/
  210. xmloff/
  211. xmlreader/
  212. xmlscript/
  213. xmlsecurity/
  214. xsltml/
  215. zlib/
  216. .gitattributes
  217. .gitignore
  218. .gitmodules
  219. .gitreview
  220. autogen.sh
  221. config.guess
  222. config.sub
  223. config_host.mk.in
  224. configure.ac
  225. COPYING
  226. COPYING.LGPL
  227. COPYING.MPL
  228. download.lst
  229. g
  230. install-sh
  231. Library_merged.mk
  232. Library_urelibs.mk
  233. lo.xcent.in
  234. logerrit
  235. Makefile.fetch
  236. Makefile.gbuild
  237. Makefile.in
  238. README.Android
  239. README.Code
  240. README.cross
  241. README.Solaris
  242. README.solver
  243. Repository.mk
  244. RepositoryExternal.mk
  245. RepositoryFixes.mk
  246. RepositoryModule_build.mk
  247. RepositoryModule_host.mk
  248. TEMPLATE.SOURCECODE.HEADER
  249. unusedcode.easy
  250. unusedcode.exclude
  251. unusedcode.README