Commit Graph

42 Commits

Author SHA1 Message Date
Francesco Montorsi
79bd5e982b use #if instead of #ifdef for WX_COMPAT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 12:40:11 +00:00
Francesco Montorsi
94a007ece4 a few more int/wxPolygonFillMode substitutions in wxRegion and wxGraphicsContext code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 16:43:56 +00:00
Francesco Montorsi
3adf5bcf2d fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 15:10:54 +00:00
Francesco Montorsi
89efaf2b65 change generic ints to enums in wxDC (closes #9959)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 14:21:53 +00:00
Vadim Zeitlin
0b7dce5480 fix warnings about hiding virtual wxGraphicsContext::DrawText() overloads by using different names for the implementation functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 12:16:39 +00:00
Stefan Csomor
220d37c864 better guarding when no printing architecture exists (patch from Joel Low)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 05:57:56 +00:00
Robert Roebling
0b822969a6 Added new wxGraphicsContext:Create( wxPrinterDC ) instead of wxDC:CreateGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 20:39:57 +00:00
Robert Roebling
d974a4945c Made wxCairo graphics code compile again, wxGraphicsBitmap still missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-25 13:32:23 +00:00
Francesco Montorsi
53a2db124c substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 15:06:00 +00:00
Stefan Csomor
1796d3849c merging graphics bitmap additions from Kevin O.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 21:10:39 +00:00
Stefan Csomor
3c419e8111 moving things to private headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 13:23:26 +00:00
Mart Raudsepp
f07d9b9777 Include defs.h before checking if wxUSE_GRAPHICS_CONTEXT is requested in build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 20:20:21 +00:00
Robert Roebling
888dde65f4 DC reorganization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 13:48:22 +00:00
Stefan Csomor
cc18b1c7af forward port from 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:25:57 +00:00
Václav Slavík
b5dbe15d0b added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Václav Slavík
d45127a543 removed executable bit on files that aren't executables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 14:04:34 +00:00
Vadim Zeitlin
39013ba095 removed extraneous semicolon (bug 1679080)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 20:34:46 +00:00
Robin Dunn
248802d010 Add wxGraphicsMatrix::Get
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 23:42:52 +00:00
Stefan Csomor
e22cf4b310 adding raster op hook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:15:43 +00:00
Stefan Csomor
773ccc318e adapting to new inheritance of wxMemoryDC (under MSW only at the moment)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 09:47:20 +00:00
Stefan Csomor
068eb463a4 adding text with background brush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 17:41:41 +00:00
Stefan Csomor
ad66794547 adding measuring contexts, streamlining printing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 07:50:06 +00:00
Stefan Csomor
a4e73390a6 moving path and matrix to refcounting as well, switching filling rule default to odd-even as dc.h does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 13:46:46 +00:00
Stefan Csomor
2c82040626 changing graphics pen, brushes and fonts to be refcounted objects, having no subclasses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:21:27 +00:00
Robin Dunn
0d3675a67b Detabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 05:31:59 +00:00
Stefan Csomor
59720690df moving rounded rect and ellipse to path class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:24:18 +00:00
Stefan Csomor
9a02779a55 make this available everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 12:03:44 +00:00
Julian Smart
9da34e211e ShouldOffset is accessed from a different class (in dcgraph.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 10:07:20 +00:00
Stefan Csomor
1c69a6ff5a fixing param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 08:21:19 +00:00
Stefan Csomor
9e6055389f renderer added, creating renderer specific pens etc for faster use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:17:05 +00:00
Robin Dunn
bb8204ef82 SetTextColor --> SetTextColour, to be consistent with the rest of the lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 01:19:00 +00:00
Robin Dunn
de3cb39f85 Refactor the code that decides if the 0.5 offset chousl be applied
into its own method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:55:17 +00:00
Stefan Csomor
2070a4f314 adding path accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 18:28:31 +00:00
Stefan Csomor
8ddf8e829a adding wxobject and RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 17:52:23 +00:00
Stefan Csomor
8acd14d177 untangling dc and gc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:37:42 +00:00
Robert Roebling
8f3f46357d Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:23:49 +00:00
Robin Dunn
be01a40397 use consistent names (Graphic vs. Graphics)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:15:33 +00:00
Stefan Csomor
bf2185eb8b new method needed for screendc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:46:07 +00:00
Włodzimierz Skiba
e8f5bc9b5c Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:43:39 +00:00
Stefan Csomor
774f4d1221 start using wxGraphicsContext for OS X instead of old core graphics implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 06:27:58 +00:00
Robin Dunn
f43426c1b9 Bakefile changes for building the graphics context modules, and
setup/configure changes for setting wxUSE_GRAPHICS_CONTEXT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:13:03 +00:00
Stefan Csomor
505810425a graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 15:49:39 +00:00