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
Vadim Zeitlin
7f0d0111c4
added missing wx/dcclient.h header for PCH-less compilation, removed several other unnecessary ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 17:01:16 +00:00
Vadim Zeitlin
fb0400941f
use wxPEN/BRUSH_XXX instead of wxXXX ( #9812 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:16:26 +00:00
Stefan Csomor
1011fbebdb
guarding all text methods against unset font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 06:40:21 +00:00
Vadim Zeitlin
49ad157e30
implement support for wxOR and wxCLEAR in wxCairoContext::SetLogicalFunction() ( #9808 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:03:17 +00:00
Stefan Csomor
33ddeabab9
fixing file paths after renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 19:23:52 +00:00
Robert Roebling
eaeb99858d
Use cairo_scale() for scaling to full printing resolution, correct transformation in Cairo graphics context for GTK+ printing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-30 09:17:04 +00:00
Robert Roebling
c9008abec2
Tried to transform wxGC like wxDC, failed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 12:13:07 +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
Stefan Csomor
2f94ab4099
moving things to private headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 13:24:42 +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
Robert Roebling
64a226f7d0
Adapt for new DC code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 19:03:37 +00:00
Robert Roebling
10c508ef3c
Compilation for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-11 19:14:09 +00:00
Stefan Csomor
3e70093612
fixing cairo bugs under OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-11 16:46:47 +00:00
Paul Cornett
82a234fbff
wxCairoContext doesn't need to know about wxPizza
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-10 21:28:48 +00:00
Stefan Csomor
71696da09e
enabling clip
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-10 19:28:13 +00:00
Stefan Csomor
84f67b116a
adapting to new pizza, fixing dashes, pango layout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-10 17:40:28 +00:00
Stefan Csomor
e7f9f819be
forward port from 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:55:50 +00:00
Paul Cornett
08f53168ac
New "pizza" widget implementation. Window border widths now match the GtkStyle they are drawn with.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 18:14:15 +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
Robin Dunn
d9485f89b8
Forward port of my recent changes in the 2.8 branch:
...
* Force use of floating point math in wxGCDC::DoDrawEllipticArc.
* Check for 0.5 offset in wxGCDC::DoDrawRoundedRectangle and
DoDrawEllipse. Set wxGDIPlusContext to use the offset.
* Avoid crash in wxStdDialogButtonSizer::Realize if there is no
negative button.
* Provide implementations for wxCairoPathData::AddPath,
wxCairoContext::Clip, wxCairoContext::DrawBitmap,
wxCairoContext::DrawIcon, and wxCairoContext::GetTextExtent.
* Fix wxCairoContext::DrawText to draw the text using the upper-left
corner for the x,y position, not the baseline.
* Fix wxMacCoreGraphicsRenderer::CreateContext to be able to use a
wxMemoryDC as the target.
* Map wxTELETYPE font family on wxMac to a monospace font.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 20:08:41 +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
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
091ef146b7
stub implementations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 09:57:35 +00:00
Robin Dunn
0db8a70e0c
update the Cairo version to match recent changes in the others
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 02:33:41 +00:00
Robin Dunn
7f8bd9fc5f
Ensure that the pen and bush are properly initialized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 02:28:38 +00:00
Stefan Csomor
8775253065
changing graphics pen, brushes and fonts to be refcounted objects, having no subclasses
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 15:19:21 +00:00
Robin Dunn
6b06903d26
fix some compile/link errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 06:28:33 +00:00
Robin Dunn
ed1b38a88e
fix compile errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 05:32:38 +00:00
Stefan Csomor
00bd8e7218
switching to new renderer API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 17:22:19 +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
cd5adaa649
Used wxConstCast where needed, fixed other compile errors, and removed TABs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 19:23:31 +00:00
Stefan Csomor
f540e5bd06
using GetNativePath instead of dynamic_cast
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:42:12 +00:00
Robert Roebling
1ed4f1a747
Remove C++ dynamic cast for now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:43:00 +00:00
Stefan Csomor
539e27950f
dummy implementations for new methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:59:10 +00:00
Vadim Zeitlin
e0876d7381
corrected date in header; removed extra wx/wxprec.h inclusion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 18:13:49 +00:00
Robin Dunn
7ba86d938d
Wrap module in #if wxUSE_GRAPHICS_CONTEXT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:56:07 +00:00
Stefan Csomor
184fc6c87d
cairo implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:47:17 +00:00