summaryrefslogtreecommitdiff
path: root/canvas/inc/canvas/canvastools.hxx
AgeCommit message (Collapse)AuthorFilesLines
2012-11-27Some ::rtl::OUString -> OUString in canvasRicardo Montania1-3/+3
Change-Id: Icfcd96432327873f23351a85f8015f0a945dbf47 Reviewed-on: https://gerrit.libreoffice.org/1174 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-11-22fix 3D 'fade' transitionsDavid Tardon1-0/+8
* canvas bitmaps created without transparency get an appropriate color space * implement a color space for OpenGL RGBA to use instead of canvas::tools::getStdColorSpace(), which apparently uses VCL's interpretation of alpha (alpha == 0xff means full transparency, alpha == 0 full opacity). Change-Id: I97f30533206b75132abd0bb0d290a279f15ae8a9
2012-10-08re-base on ALv2 code. Includes:Michael Meeks1-23/+14
linecap: Reintegrating finished LineCap feature Patch contributed by Regina Henschel http://svn.apache.org/viewvc?view=revision&revision=1232507 disable extended linecap API for now. gnumake4 work primarily from Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1394326 misc. dead code cleanups Patch contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1204995 http://svn.apache.org/viewvc?view=revision&revision=1207270
2012-08-07drop bogus eof linesThomas Arnhold1-1/+0
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
2012-05-03Remove unused method canvas::tools::clipBlitJordi Mallach1-20/+0
2012-04-09Remove canvas::tools::calcRectToRectTransformJulien Nabet1-44/+1
2012-02-13Remove unused codeElton Chung1-15/+0
2011-07-26Removed weird VERBOSE overload in canvasThorsten Behrens1-1/+1
Now doing extra logging / graphical debug cues via OSL_DEBUG_LEVEL of 3. Also saves some lines in makefiles.
2011-06-19Merge branch 'master' into feature/gnumake4Bjoern Michaelsen1-4/+9
Conflicts: basebmp/prj/d.lst basebmp/test/basictest.cxx basebmp/test/makefile.mk basegfx/inc/basegfx/basegfxdllapi.h basegfx/inc/basegfx/tools/debugplotter.hxx basegfx/inc/basegfx/tuple/b2ituple.hxx basegfx/prj/d.lst basegfx/source/numeric/makefile.mk basegfx/source/polygon/makefile.mk basegfx/source/range/makefile.mk basegfx/source/raster/makefile.mk basegfx/source/tuple/makefile.mk basegfx/source/vector/makefile.mk basegfx/test/basegfx1d.cxx basegfx/test/makefile.mk basegfx/util/makefile.mk canvas/Library_canvasfactory.mk canvas/Module_canvas.mk canvas/prj/build.lst canvas/prj/d.lst canvas/source/cairo/cairo_canvashelper_texturefill.cxx canvas/source/cairo/makefile.mk canvas/source/tools/makefile.mk comphelper/qa/string/makefile.mk cppcanvas/Module_cppcanvas.mk cppcanvas/inc/cppcanvas/cppcanvasdllapi.h cppcanvas/prj/build.lst cppcanvas/prj/d.lst cppcanvas/source/mtfrenderer/makefile.mk cppcanvas/util/makefile.mk i18npool/source/search/makefile.mk regexp/Library_regexp.mk regexp/prj/d.lst sax/CppunitTest_sax.mk sax/Library_sax.mk sax/prj/d.lst sax/qa/cppunit/test_converter.cxx sax/source/expatwrap/attrlistimpl.hxx sax/util/makefile.mk svtools/Library_svt.mk tools/Executable_sspretty.mk ucbhelper/prj/d.lst ucbhelper/source/provider/configureucb.cxx ucbhelper/source/provider/provconf.cxx ucbhelper/util/makefile.mk unotools/Library_utl.mk unotools/Module_unotools.mk unotools/Package_inc.mk unotools/prj/build.lst vcl/Library_desktop_detector.mk vcl/Library_vcl.mk vcl/Library_vclplug_gtk.mk vcl/aqua/source/gdi/salprn.cxx vcl/inc/aqua/saldata.hxx vcl/unx/generic/gdi/salgdi3.cxx
2011-06-16CWS gnumake4: convert canvas to new build systemMathias Bauer1-30/+31
2011-05-30Fixes to make it compile on WindowsTor Lillqvist1-0/+3
2011-03-12Move OSL_ENSURE(false,...) to OSL_FAIL(...)Thomas Arnhold1-4/+3
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth1-0/+3
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-05more removed include guards using fixguard.pyPetr Mladek1-0/+0
2010-03-31Merge DEV300_m75thb1-4/+1
* resolved two conflicts caused by lineend changes in canvashelper_texturefill.cxx and implrenderer.cxx. Took the cws version, which uses new texture fill semantics, and fixes clipping bug * binned file header changes from head for deleted files
2010-02-19Fix dxcanvas gradient glitchesthb1-0/+13
* moved common gradient step size code out to canvastools to share * reverted back to manual polygon rendering for anisotrophic rect and ellipse gradients * fixed tilemode==none case for bitmap fills
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien1-4/+1
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-10-16#i105937# Much improved gradient support for canvas/basegfx/drawinglayer.thb1-22/+0
See http://blog.thebehrens.net/2009/07/28/hackweek-iv-canvas-convwatch/ for more background information
2008-06-24INTEGRATION: CWS canvas05 (1.13.56); FILE MERGEDKurt Zenker1-26/+32
2008/04/21 07:26:54 thb 1.13.56.3: RESYNC: (1.13-1.14); FILE MERGED 2008/03/13 14:57:21 thb 1.13.56.2: Finishing touches to StdColorSpace; move cairocanvas to new color space mechanisms 2007/10/01 13:02:00 thb 1.13.56.1: #i78888# #i78925# #i79258# #i79437# Merge from CWS picom
2008-04-11INTEGRATION: CWS changefileheader (1.13.80); FILE MERGEDRüdiger Timm1-41/+18
2008/04/01 15:03:01 thb 1.13.80.3: #i85898# Stripping all external header guards 2008/04/01 10:49:24 thb 1.13.80.2: #i85898# Stripping all external header guards 2008/03/28 16:34:51 rt 1.13.80.1: #i87441# Change license header to LPGL v3.
2006-12-13INTEGRATION: CWS presfixes09 (1.11.32); FILE MERGEDKurt Zenker1-6/+15
2006/09/15 15:37:52 thb 1.11.32.2: RESYNC: (1.11-1.12); FILE MERGED 2006/03/15 13:43:02 thb 1.11.32.1: #i49357# Cleaned up include guards; added method to convert to system window coordinates (to account for VCL's pseudo windows)
2006-06-20INTEGRATION: CWS warnings01 (1.11.8); FILE MERGEDJens-Heiner Rechtien1-5/+5
2005/11/15 16:51:36 thb 1.11.8.1: #i55991# made code compile without warnings for gcc
2005-11-02INTEGRATION: CWS canvas02 (1.8.4); FILE MERGEDKurt Zenker1-41/+329
2005/10/26 19:32:41 thb 1.8.4.9: #i48939# Corrected some places where build-in types (like long or int) where used in a non-portable way 2005/10/19 13:35:59 thb 1.8.4.8: #i48939# Moved ValueMap from slideshow; adapted GraphicDeviceBase to use PropertySetHelper 2005/10/08 12:40:56 thb 1.8.4.7: RESYNC: (1.9-1.10); FILE MERGED 2005/08/02 14:09:58 thb 1.8.4.6: #i48939# moved polyPolygonFromXPolyPolygon2D to canvastools 2005/07/25 00:56:08 thb 1.8.4.5: #i48939# Added common clip and scroll tool methods 2005/07/22 00:11:38 thb 1.8.4.4: #i48939# Factored out stubby corner sprite bound rect rendering to canvastools; finished removal of actual redraw methods from ::canvas::Sprite 2005/07/21 14:52:31 thb 1.8.4.3: #i48939# Factored out round up/down to integer; removed backend specific methods from base Sprite interface; removed updateScreen overwrite from SpriteCanvasBase (too much backend specifics need to be passed to HW canvases); now passing the target OutputDevice directly via Sprite::redraw() method in VCL canvas; made XFont -> impl font conversion dynamic cast, too; removed the getSpriteTargetSurface crap from SpriteCanvas 2005/06/28 14:01:05 hr 1.8.4.2: RESYNC: (1.8-1.9); FILE MERGED 2005/06/17 23:49:44 thb 1.8.4.1: #i48939# Huge refactoring of canvas; as much functionality as possible is now common in a bunch of shared base classes (input checking, locking, sprite redraw, etc.); added scroll update optimization, transparently to all canvas implementations
2005-09-07INTEGRATION: CWS ooo19126 (1.9.6); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 17:26:53 rt 1.9.6.1: #i54170# Change license header: remove SISSL
2005-06-15INTEGRATION: CWS buildfixes01 (1.8.6); FILE MERGEDOliver Bolte1-5/+5
2005/05/25 16:56:41 thb 1.8.6.1: #i49681# Fixed build breakage for FreeBSD (powerof2 already defined)
2005-04-18INTEGRATION: CWS presfixes03 (1.7.2); FILE MERGEDOliver Bolte1-15/+27
2005/04/01 15:48:05 thb 1.7.2.1: #i36190#, #i37793#, #i39245#, #i46023# Fixes for open/close polygon stroking; beefed up the canvas tools; moved try/catch block around configuration in cf_factory (to facilitate canvasdemo with broken/incomplete services.rdb; enhanced TextLayout to cope with new Action::getBounds() functionality in cppcanvas (needed for proper mtf bounds calculation); removed extra pixel right and bottom for filled polygons; avoiding uno::Sequence::operator[] for non-const cases, but using the naked mem ptr instead (performance)
2005-03-30INTEGRATION: CWS presfixes02 (1.6.2); FILE MERGEDRüdiger Timm1-2/+31
2005/03/17 13:52:16 mbu 1.6.2.1: added bitcount() methods
2005-03-10INTEGRATION: CWS presfixes01 (1.5.2); FILE MERGEDVladimir Glazounov1-41/+43
2005/02/16 11:13:44 fs 1.5.2.2: #i42558# drafts.com.sun.star.drawing/rendering/geometry moved to com.sun.star.* 2005/02/10 03:17:55 thb 1.5.2.1: #i38960# Improved docs
2005-01-21INTEGRATION: CWS impress23 (1.4.4); FILE MERGEDKurt Zenker1-2/+8
2005/01/04 12:28:47 thb 1.4.4.1: #i39829# Corrected XGraphicDevice::getSize() behaviour, added createInfiniteSize2D() method to tools
2004-11-26INTEGRATION: CWS presentationengine01 (1.2.2); FILE MERGEDRüdiger Timm1-7/+52
2004/11/17 17:00:21 thb 1.2.2.11: #118514# Canvas module reorg 2004/11/08 05:50:53 thb 1.2.2.10: #110496# Corrected IDL header extension 2004/09/02 11:36:27 ka 1.2.2.9: added helper function to retrieve device (implementation) specific information 2004/08/26 12:22:10 thb 1.2.2.8: #110496# Factored out LinePolyPolygonBase from canvastools.hxx/cxx 2004/08/23 08:41:46 cl 1.2.2.7: resolved merge conflicts 2004/08/17 16:04:24 aw 1.2.2.6: #110496# Added clipping for text on DX 2004/06/25 10:32:05 thb 1.2.2.5: #110496# Made nice HAKMEM nextPow2 public 2004/05/27 20:51:22 thb 1.2.2.4: #110496# Added classification code to all TODO/HACK/FIXME comments. There are four categories: - code quality (C) - performance (P) - missing functionality (F) - and missing/incomplete error handling (E) Furthermore, every category has a severity number between 1 and 3 associated, where 1 is lowest and 3 highest severity 2004/05/27 14:36:52 thb 1.2.2.3: #110496# verbose tracing is now guarded also with DBG_UTIL. Unified verbose trace output between directx and VCL canvas 2004/04/12 15:12:20 thb 1.2.2.2: #110496# Adaptions after canvas01 merge 2004/04/05 15:57:53 thb 1.2.2.1: Resync with canvas01 changes
2004-07-30INTEGRATION: CWS gcc340fixes01 (1.2.8); FILE MERGEDKurt Zenker1-2/+5
2004/07/13 20:25:50 fa 1.2.8.1: #i31442# #include IndexOutOfBoundsException.hpp to satisfy gcc 3.4
2004-03-18#110496# Merge from cws_srx645_canvas01: first working version of XCanvas ↵Thorsten Behrens1-0/+322
UNO components, for now consisting of javacanvas.uno.jar, vclcanvas.uno and directxcanvas.uno (windows only)