Commit Graph

18 Commits

Author SHA1 Message Date
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