From 50f9c1377c912e8dc1bb814bd0dc1613ea3fd5fe Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Thu, 16 Apr 2009 00:57:35 +0000 Subject: [PATCH] Initial support for Cairo on MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- build/bakefiles/common.bkl | 13 +++++++++- build/bakefiles/config.bkl | 9 +++++++ build/bakefiles/files.bkl | 2 +- include/wx/graphics.h | 3 +++ include/wx/msw/setup0.h | 12 +++++++++ setup.h.in | 6 +++++ src/common/dcgraph.cpp | 10 +++++++- src/generic/graphicc.cpp | 50 ++++++++++++++++++++++++++++++++++++-- version-script.in | 1 + 9 files changed, 101 insertions(+), 5 deletions(-) diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index f43c88e3e8..ada6c31a11 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -281,7 +281,15 @@ unicows - + + cairo + + + $(DOLLAR)(CAIRO_ROOT)/lib + + + $(DOLLAR)(CAIRO_ROOT)/include/cairo + gdiplus @@ -485,6 +493,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r $(GFXCTX_DEFINE) $(SETUPHDIR) $(TOP_SRCDIR)include + $(CAIRO_INCLUDEDIR) $(LIBDIRNAME) $(MGLLIBPATH) @@ -530,6 +539,8 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r $(UNICOWS_LIB) $(GDIPLUS_LIB) + $(CAIRO_LIB) + $(CAIRO_LIBDIR) ole2w32 diff --git a/build/bakefiles/config.bkl b/build/bakefiles/config.bkl index b74c566af8..59171c055f 100644 --- a/build/bakefiles/config.bkl +++ b/build/bakefiles/config.bkl @@ -266,6 +266,14 @@ Acts according to BUILD by default. + +