summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-09-10Add PsSurface::get_eps()Jonathon Jongsma4-12/+43
2008-09-10Add Context::has_show_text_glyphs() + testJonathon Jongsma4-0/+27
2008-09-10 Change the names of the stream creation functions to 'create_for_stream()'Jonathon Jongsma4-14/+25
In order to avoid ambiguous template overload issues (I was getting compile failures when passing a literal string for the std::string parameter of the normal create() function)
2008-09-10add Context::get_font_options()Jonathon Jongsma4-0/+28
2008-09-10Add QuartzFontFace classJonathon Jongsma5-3/+130
2008-09-10* cairomm/win32_font.h: fix header protection guardsJonathon Jongsma2-3/+7
2008-09-10Add basic test for Win32FontFace from ArminJonathon Jongsma2-0/+44
2008-09-10Fixed Windows buildArmin Burgmeier5-9/+30
2008-09-10Add win32 font supportJonathon Jongsma5-4/+286
2008-09-10* cairomm/cairomm.h: update, add missing includesJonathon Jongsma2-3/+11
2008-09-10add Freetype font supportJonathon Jongsma9-8/+264
2008-09-09* cairomm/fontface.cc: use vector::empty() rather than ::size()Jonathon Jongsma2-2/+6
2008-09-03Add UserFontFace text-to-glyphs APIJonathon Jongsma5-23/+179
2008-08-27Add documentation for all remainting FontOptions API and the enums that are ↵Jonathon Jongsma3-10/+106
used for them
2008-08-27Add LcdFilter enum and FontOptions API for LCD filteringJonathon Jongsma7-1/+98
2008-08-27add Context::show_text_glyphs()Jonathon Jongsma10-16/+82
2008-08-27Add a default value for the font_options parameter of the ScaledFont constructorJonathon Jongsma3-1/+11
2008-08-27Add ScaledFont::text_to_glyphs()Jonathon Jongsma6-5/+124
2008-08-27Add Context::get/set_scaled_font()Jonathon Jongsma4-0/+53
2008-08-272008-08-27 Armin Burgmeier <armin@arbur.net>Murray Cumming2-1/+8
* MSVC_Net2005/cairomm/cairomm.rc.in: Replaced #include afxres.h by #include <windows.h> which does the job equally well, and allows compilation with the freely available Visual Studio Express compiler. Bug #17322.
2008-08-21All Image Surface creation tests now pass (no exceptions thrown)Jonathon Jongsma3-5/+23
2008-08-19Add sigc::slot versions of all of the functions that take a ↵Jonathon Jongsma6-10/+254
cairo_write_func_t or cairo_read_func_t
2008-08-18Add Documentation for the new FontFace APIJonathon Jongsma2-1/+154
2008-08-18Fix some API warts and deprecate old accessor functions that don't begin ↵Jonathon Jongsma2-5/+24
with get_
2008-08-18Add UserFontFace APIJonathon Jongsma7-5/+481
2008-08-18ScaledFont: Change fontface constructor param to a RefPtrJonathon Jongsma3-4/+15
The static ::create() function took a FontFace by reference rather than by RefPtr, which means the API was essentially unusably broken. So this is technically an API break, but I don't see any other option.
2008-08-14Implement the ToyFontFace classJonathon Jongsma12-13/+162
2008-08-14add missing m4 file for boost unit testJonathon Jongsma2-1/+153
2008-08-13post-release bump (1.6.3)Jonathon Jongsma2-3/+7
2008-08-13Update for 1.6.2 releasev1.6.2Jonathon Jongsma3-1/+17
2008-08-13Fix boost unit test detectionJonathon Jongsma3-4/+31
2008-08-13update surface type enumJonathon Jongsma2-3/+9
2008-08-13change Cairo::logic_error::get_status() to get_status_code()Jonathon Jongsma3-3/+9
2008-08-11Add ability to get the error code from a Cairo::logic_error exceptionJonathon Jongsma2-0/+6
New API: Cairo::logic_error::get_status()
2008-08-11Fix Cairo::logic_error error messageJonathon Jongsma1-1/+1
Fix embarrassing mistake where the error string was being initialized with random data since the m_status member had not yet been initialized.
2008-08-112008-08-09 Armin Burgmeier <armin@arbur.net>Murray Cumming8-326/+376
* MSVC_Net2005/cairomm/cairomm.rc.in: Removed #include resource.h since there is no resource.h, and it works well without that include. * MSVC_Net2005/cairomm/Makefile.am: Copy cairommconfig.h from cairomm/, so it is available to the visual studio project. * MSVC_Net2005/cairomm/cairomm.vcproj: Added cairomm/context_surface_win32.cc to the project. * Makefile.am: * configure.in: Adapt build files.
2008-08-09Copied MSVCNet2008 to MSVCNet2005 ready for Armin to put files there.Murray Cumming30-0/+1898
2008-08-072008-08-07 Murray Cumming <murrayc@murrayc.com>Murray Cumming30-0/+0
* MSVC/: Renamed to MSVC_Net2008, ready to be patched by Armin or Cedric.
2008-04-25cairomm/context.h: removed extra unused function declarationsJonathon Jongsma2-4/+11
2008-04-25separate calls to possibly-conflicting surface callsBenjamin Reed8-8/+183
On Mac OS X, if you have both the xlib and quartz backends enabled in cairo, cairomm fails to build with conflicting headers: /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DPNG_NO_MMX_CODE -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include -I/sw/include/cairo -I/usr/X11R6/include -I/usr/X11/include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/fontconfig2/include -I/sw/include -I/usr/X11R6/include -g -O2 -c -o context.lo context.cc g++ -DHAVE_CONFIG_H -I. -I.. -DPNG_NO_MMX_CODE -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include -I/sw/include/cairo -I/usr/X11R6/include -I/usr/X11/include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/fontconfig2/include -I/sw/include -I/usr/X11R6/include -g -O2 -c context.cc -fno-common -DPIC -o .libs/context.o /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:255: error: declaration does not declare anything /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:264: error: using typedef-name 'Cursor' after 'struct' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: using typedef-name 'Cursor' after 'struct' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: invalid type in declaration before ';' token /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: conflicting declaration 'typedef int Cursor' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration as 'typedef XID Cursor' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:296: error: using typedef-name 'Picture' after 'struct' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: using typedef-name 'Picture' after 'struct' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: invalid type in declaration before ';' token /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: conflicting declaration 'typedef int Picture' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration as 'typedef XID Picture' This patch fixes this by separating out the calls in the get_surface_wrapper call to individual .cc files which are then compiled with only the headers they need.
2008-04-11Now post-release bump for realJonathon Jongsma1-1/+1
2008-04-11fix configure.in version for 1.6.0 tagv1.6.0Jonathon Jongsma1-1/+1
2008-04-11Post-release version bumpJonathon Jongsma3-3/+15
2008-04-11Wrap cairo_format_stride_for_width()Jonathon Jongsma3-0/+34
2008-04-112008-04-11 Murray Cumming <murrayc@murrayc.com>Murray Cumming2-0/+7
* Add autoheader to autogen.sh, to create cairommconfig.h.in, to fix the build for me.
2008-03-232008-03-23 Murray Cumming <murrayc@murrayc.com>Murray Cumming3-77/+10
* cairomm/enums.h (FONT_TYPE_ATSUI, FONT_TYPE_QUARTZ): Change the definition of FONT_TYPE_ATSUI from CAIRO_FONT_TYPE_ATSUI to CAIRO_FONT_TYPE_QUARTZ (the same numerical value) and document it as deprecated. The others should be documented too. Added FONT_TYPE_QUARTZ.
2008-03-10Update for 1.5.0 releasev1.5.0Jonathon Jongsma3-1/+15
* configure.in: bump cairo requirement to at least 1.5.10 * NEWS: update for 1.5.0 release
2008-03-10install config headerJonathon Jongsma2-1/+8
* cairomm/Makefile.am: install the new cairommconfig.h header and make sure that the .in file is distributed
2008-03-10Another build fix for solarisJonathon Jongsma2-0/+7
* cairomm/exception.cc: include <string> to fix the build on solaris which apparently doesn't include string from their exception header (Tim Mooney). Fixes bug #14559
2008-03-10new HAVE_MATH_H defineJonathon Jongsma1-0/+3
I'm not sure this file should really be under version control, but there's a new preprocessor symbol, so I'm updating it