Commit Graph

60 Commits

Author SHA1 Message Date
Stefan Csomor
cb751f46a0 adapted Julian's new speed improved version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 12:57:00 +00:00
Vadim Zeitlin
947f3b358c fix warnings about unused parameters/variables in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 12:11:37 +00:00
Stefan Csomor
eb61203f6e use the same font matching fallbacks for all layout operations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 10:34:25 +00:00
Stefan Csomor
5252d9e410 graphics context additions (work in progress for cocoa integration) and merging graphics bitmap additions from Kevin O.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 21:27:46 +00:00
Stefan Csomor
a6ab887bf8 moving things to private headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 13:25:37 +00:00
Stefan Csomor
7a7697aafe unifying CFTypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 18:29:06 +00:00
Stefan Csomor
dbe4a80c57 unifying CFTypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 17:48:58 +00:00
Stefan Csomor
0fa6a0ac1a fixing define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-01 05:27:52 +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
e773889d7d fixing 10.5 only compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 12:35:26 +00:00
Stefan Csomor
c07e1e2c85 adding CoreText implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 21:52:28 +00:00
Stefan Csomor
fb728ebb01 cleanup, going private with platform specific that is only needed at one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 10:51:16 +00:00
Stefan Csomor
d2d8b4db08 fixing switches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 15:26:24 +00:00
Stefan Csomor
82c126e501 fixing the usage of hishape
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 10:00:15 +00:00
Stefan Csomor
f1fc7bab85 flags moved to chkconf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 16:55:33 +00:00
Stefan Csomor
1bd568fa44 64 bit fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 09:41:14 +00:00
Stefan Csomor
968c951fe1 mac cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 19:25:21 +00:00
Stefan Csomor
a01d9a255c mac cleanup, pure cgcolor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 09:58:10 +00:00
Stefan Csomor
276ee5334d cleanup and cgcolor changeds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 18:15:16 +00:00
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