Stefan Csomor
fb9cc37fa8
fixing non-precomp headers build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 15:37:31 +00:00
Stefan Csomor
e1673e527f
cleanup mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 07:35:13 +00:00
Stefan Csomor
6239ee0556
forward port from 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 21:12:22 +00:00
Vadim Zeitlin
899544330f
fix a few hundreds of harmless unused parameters warnings and a couple of real bugs discovered thanks to them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:29:16 +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
Stefan Csomor
b9d495a007
applying patch 1622389, fixing two memory leaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-27 15:49:26 +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
a54bae7af7
we must turn off AA for XOR etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:48:40 +00:00
Stefan Csomor
277ccdafe1
adding raster op hook to graphics context (10.4 only, partial XOR/INVERT support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:30:29 +00:00
Stefan Csomor
82f88f03ba
supporting theme brushes under 10.4 properly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 08:09:56 +00:00
Stefan Csomor
1acf0e5cff
transforming clippings correctly, even if there is no native graphics context available yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 16:48:54 +00:00
Stefan Csomor
74b357ddde
fixing pattern phase bugs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 19:51:15 +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
6e25bf0ffb
fixing warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 06:33:45 +00:00
Stefan Csomor
5f547a582e
using the foreground brush to fill mono bitmaps - gradients are not yet supported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 09:18:16 +00:00
Stefan Csomor
a7868cdf6a
fixing reset clip
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:40:51 +00:00
Stefan Csomor
23a3e8fbda
make things compile under 10.3 again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:56:07 +00:00
Stefan Csomor
69541a2ef1
lost save state call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:43:17 +00:00
Vadim Zeitlin
783d8bdf57
don't assign NULLs to bools and floats, this is confusing (and also the usual: deTABified; corrected double to int cast)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:22:42 +00:00
Stefan Csomor
549be22603
switch having an affine transform even when there is no native context around
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 09:44:04 +00:00
Stefan Csomor
daa6105f2f
missing methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 16:53:07 +00:00
Stefan Csomor
e3ff359189
matrix and path to ref counting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:41:48 +00:00
Stefan Csomor
a26b7ab24d
switching things to ref counting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 14:59:51 +00:00
Stefan Csomor
07c7a3f1fd
missing apply call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:21:32 +00:00
Stefan Csomor
2701ef7e86
adding workarounds for 10.4 only implementations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 17:31:41 +00:00
Stefan Csomor
b7b40adba8
new renderer architecture
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:51:12 +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
Kevin Ollivier
ccd67a6af8
Override GetPixelSize on OS X as the base impl creates a wxScreenDC each time, which causes a significant performance hit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 00:22:56 +00:00
Robin Dunn
9985801dda
HIShapeCreateEmpty doesn't exist prior to OSX 10.4, use
...
HIShapeCreateWithRect with an empty rectangle instead.
Also detabified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 19:08:14 +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
eec960fa89
on demand creation of native CGContexts , so that pure text measuring contexts don't need a native counterpart
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:38:53 +00:00
Paul Cornett
cc5de8fe04
non-pch build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:46:22 +00:00
Stefan Csomor
513b47e9b7
screendc implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:50:48 +00:00
Stefan Csomor
7471064e1d
creating graphics context with the correct origin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 17:25:54 +00:00
Stefan Csomor
1056ddcf24
new graphics context implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:56:32 +00:00
Paul Cornett
83b96a06ca
logical vs. boolean operators, unused decls and vars, etc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 03:43:11 +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
Robin Dunn
38af4365b3
fix parameter type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:54:36 +00:00
Stefan Csomor
a798c64c4f
invert clockwise flag correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 16:34:38 +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