Commit Graph

30 Commits

Author SHA1 Message Date
Kevin Ollivier
aec24dc76c More fixes for API on 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 21:39:29 +00:00
Kevin Ollivier
e368aa6911 Fix issues caused by making DrawBitmap/CreateBitmap non-virtual on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:46:58 +00:00
Kevin Ollivier
f6810851c6 Landing 2.8 ABI compatible version of wxGraphicsBitmap API/implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:25:09 +00:00
Vadim Zeitlin
988707fe39 use fabs() instead of abs() to fix mingw32 compilation [backport of r48782 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:09:05 +00:00
Stefan Csomor
bc217fe9dc guarding all text methods against unset font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 06:31:46 +00:00
Robin Dunn
06b0c0a39d Use premultiplied alpha pixel format to match what is used everywhere else in wxMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 21:31:43 +00:00
Stefan Csomor
06f80bde28 unifying offseting rules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 11:54:03 +00:00
Stefan Csomor
248e9b5834 extensions and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 15:23:18 +00:00
Robin Dunn
5ab99c0f69 More 0.5 pixel offset fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:25:37 +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
Vadim Zeitlin
cb3a0d420a GdiplusStartup() takes ULONG_PTR, not DWORD (patch 1596318); also deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 14:05:14 +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
93f72baea4 wxGraphicsContext always is using clipping regions in user coordinates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 09:09:32 +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
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
Stefan Csomor
83576e682d adding new implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 12:05:56 +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
e49c065dc3 added missing default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 19:21:29 +00:00
Stefan Csomor
9f339b18be adding new constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 08:53:47 +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
Stefan Csomor
13bc5380f2 fixing classname
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 12:58:30 +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
Stefan Csomor
ebbe5c6686 adding angle conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:05:08 +00:00
Stefan Csomor
8e108c1ec9 making pens behave as on other platforms when scaling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:53:36 +00:00
Stefan Csomor
f868f88665 set anti-aliasing ON by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:51:22 +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
fe31db8170 workaround for GDIPlus conversion errors, adding wxMask support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 13:52:48 +00:00
Stefan Csomor
6fea499ca8 gdiplus implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 13:06:09 +00:00