Skip to content
Permalink
Browse files

update cairo-msw to version 1.15.12

  • Loading branch information...
RobinD42 committed Aug 1, 2019
1 parent 2de584d commit e84b91c70271f056676eb6724089f19ed6fa99b6
Showing with 989 additions and 11,049 deletions.
  1. +5 −6 packaging/cairo-msw/README.txt
  2. +12 −21 packaging/cairo-msw/include/cairo/cairo-features.h
  3. +36 −0 packaging/cairo-msw/include/cairo/cairo-ft.h
  4. +0 −186 packaging/cairo-msw/include/cairo/cairo-gobject.h
  5. +71 −4 packaging/cairo-msw/include/cairo/cairo-pdf.h
  6. +5 −3 packaging/cairo-msw/include/cairo/cairo-ps.h
  7. +0 −117 packaging/cairo-msw/include/cairo/cairo-script-interpreter.h
  8. +98 −0 packaging/cairo-msw/include/cairo/cairo-script.h
  9. +52 −3 packaging/cairo-msw/include/cairo/cairo-svg.h
  10. +2 −2 packaging/cairo-msw/include/cairo/cairo-version.h
  11. +4 −0 packaging/cairo-msw/include/cairo/cairo-win32.h
  12. +704 −205 packaging/cairo-msw/include/cairo/cairo.h
  13. +0 −2,701 packaging/cairo-msw/include/libpng14/png.h
  14. +0 −1,525 packaging/cairo-msw/include/libpng14/pngconf.h
  15. +0 −2,701 packaging/cairo-msw/include/png.h
  16. +0 −1,525 packaging/cairo-msw/include/pngconf.h
  17. +0 −461 packaging/cairo-msw/include/zconf.h
  18. +0 −1,589 packaging/cairo-msw/include/zlib.h
  19. BIN packaging/cairo-msw/x64/bin/iconv.dll
  20. BIN packaging/cairo-msw/x64/bin/libcairo-2.dll
  21. BIN packaging/cairo-msw/x64/bin/libfontconfig-1.dll
  22. BIN packaging/cairo-msw/x64/bin/libfreetype-6.dll
  23. BIN packaging/cairo-msw/x64/bin/libpixman-1-0.dll
  24. BIN packaging/cairo-msw/x64/bin/libpng16-16.dll
  25. BIN packaging/cairo-msw/x64/bin/libxml2-2.dll
  26. BIN packaging/cairo-msw/x64/bin/zlib1.dll
  27. BIN packaging/cairo-msw/x86/bin/freetype6.dll
  28. BIN packaging/cairo-msw/x86/bin/libcairo-2.dll
  29. BIN packaging/cairo-msw/x86/bin/libexpat-1.dll
  30. BIN packaging/cairo-msw/x86/bin/libfontconfig-1.dll
  31. BIN packaging/cairo-msw/x86/bin/libpng14-14.dll
  32. BIN packaging/cairo-msw/x86/bin/zlib1.dll
@@ -4,15 +4,14 @@ well as using Cairo directly from Python, integrated with wxPython using the
wx.lib.wxcairo package. These DLLs will be included by default in the binary
builds for Windows.

These files were originally extracted from the installers available from the
following locations:
These files were originally extracted from a zip file available from the
following location:

http://gtk-win.sourceforge.net/home/index.php/Main/Downloads
https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer
https://github.com/preshing/cairo-windows

Note that the projects represented by these DLLs are released under the LGPL
or similar licenses. The DLLs are able to be included with wxPython because
they are not statically linked, and because end users are able to replace them
with newer or rebuilt versions if desired so long as they use compatible a
with newer or rebuilt versions if desired so long as they use a compatible
API/ABI, (for example a replacement libcairo would need to be compatible with
Cairo 1.10.2). Source code is available at their respective project pages.
Cairo 1.15.12). Source code is available at their respective project pages.
@@ -1,27 +1,18 @@
/* Generated by configure. Do not edit. */
/* Generated by Makefile.win32.features-h. Do not edit. */
#ifndef CAIRO_FEATURES_H
#define CAIRO_FEATURES_H

#define CAIRO_HAS_FC_FONT 1
#define CAIRO_HAS_FT_FONT 1
#define CAIRO_HAS_GOBJECT_FUNCTIONS 1
#define CAIRO_HAS_IMAGE_SURFACE 1
#define CAIRO_HAS_PDF_SURFACE 1
#define CAIRO_FEATURES_H 1
#define CAIRO_HAS_WIN32_SURFACE 1
#define CAIRO_HAS_WIN32_FONT 1
#define CAIRO_HAS_PNG_FUNCTIONS 1
#define CAIRO_HAS_SCRIPT_SURFACE 1
#define CAIRO_HAS_FT_FONT 1
#define CAIRO_HAS_PS_SURFACE 1
#define CAIRO_HAS_RECORDING_SURFACE 1
#define CAIRO_HAS_PDF_SURFACE 1
#define CAIRO_HAS_SVG_SURFACE 1
#define CAIRO_HAS_IMAGE_SURFACE 1
#define CAIRO_HAS_MIME_SURFACE 1
#define CAIRO_HAS_RECORDING_SURFACE 1
#define CAIRO_HAS_OBSERVER_SURFACE 1
#define CAIRO_HAS_USER_FONT 1
#define CAIRO_HAS_WIN32_FONT 1
#define CAIRO_HAS_WIN32_SURFACE 1

/*#undef CAIRO_HAS_EGL_FUNCTIONS */
/*#undef CAIRO_HAS_GLX_FUNCTIONS */
/*#undef CAIRO_HAS_QUARTZ_FONT */
/*#undef CAIRO_HAS_QUARTZ_SURFACE */
/*#undef CAIRO_HAS_WGL_FUNCTIONS */
/*#undef CAIRO_HAS_XCB_SHM_FUNCTIONS */
/*#undef CAIRO_HAS_XLIB_SURFACE */
/*#undef CAIRO_HAS_XLIB_XRENDER_SURFACE */

#define CAIRO_HAS_INTERPRETER 1
#endif
@@ -56,6 +56,42 @@ cairo_public cairo_font_face_t *
cairo_ft_font_face_create_for_ft_face (FT_Face face,
int load_flags);

/**
* cairo_ft_synthesize_t:
* @CAIRO_FT_SYNTHESIZE_BOLD: Embolden the glyphs (redraw with a pixel offset)
* @CAIRO_FT_SYNTHESIZE_OBLIQUE: Slant the glyph outline by 12 degrees to the
* right.
*
* A set of synthesis options to control how FreeType renders the glyphs
* for a particular font face.
*
* Individual synthesis features of a #cairo_ft_font_face_t can be set
* using cairo_ft_font_face_set_synthesize(), or disabled using
* cairo_ft_font_face_unset_synthesize(). The currently enabled set of
* synthesis options can be queried with cairo_ft_font_face_get_synthesize().
*
* Note: that when synthesizing glyphs, the font metrics returned will only
* be estimates.
*
* Since: 1.12
**/
typedef enum {
CAIRO_FT_SYNTHESIZE_BOLD = 1 << 0,
CAIRO_FT_SYNTHESIZE_OBLIQUE = 1 << 1
} cairo_ft_synthesize_t;

cairo_public void
cairo_ft_font_face_set_synthesize (cairo_font_face_t *font_face,
unsigned int synth_flags);

cairo_public void
cairo_ft_font_face_unset_synthesize (cairo_font_face_t *font_face,
unsigned int synth_flags);

cairo_public unsigned int
cairo_ft_font_face_get_synthesize (cairo_font_face_t *font_face);


cairo_public FT_Face
cairo_ft_scaled_font_lock_face (cairo_scaled_font_t *scaled_font);

This file was deleted.

@@ -45,14 +45,14 @@ CAIRO_BEGIN_DECLS

/**
* cairo_pdf_version_t:
* @CAIRO_PDF_VERSION_1_4: The version 1.4 of the PDF specification.
* @CAIRO_PDF_VERSION_1_5: The version 1.5 of the PDF specification.
* @CAIRO_PDF_VERSION_1_4: The version 1.4 of the PDF specification. (Since 1.10)
* @CAIRO_PDF_VERSION_1_5: The version 1.5 of the PDF specification. (Since 1.10)
*
* #cairo_pdf_version_t is used to describe the version number of the PDF
* specification that a generated PDF file will conform to.
*
* Since 1.10
*/
* Since: 1.10
**/
typedef enum _cairo_pdf_version {
CAIRO_PDF_VERSION_1_4,
CAIRO_PDF_VERSION_1_5
@@ -85,6 +85,73 @@ cairo_pdf_surface_set_size (cairo_surface_t *surface,
double width_in_points,
double height_in_points);

/**
* cairo_pdf_outline_flags_t:
* @CAIRO_PDF_OUTLINE_FLAG_OPEN: The outline item defaults to open in the PDF viewer (Since 1.16)
* @CAIRO_PDF_OUTLINE_FLAG_BOLD: The outline item is displayed by the viewer in bold text (Since 1.16)
* @CAIRO_PDF_OUTLINE_FLAG_ITALIC: The outline item is displayed by the viewer in italic text (Since 1.16)
*
* #cairo_pdf_outline_flags_t is used by the
* cairo_pdf_surface_add_outline() function specify the attributes of
* an outline item. These flags may be bitwise-or'd to produce any
* combination of flags.
*
* Since: 1.16
**/
typedef enum _cairo_pdf_outline_flags {
CAIRO_PDF_OUTLINE_FLAG_OPEN = 0x1,
CAIRO_PDF_OUTLINE_FLAG_BOLD = 0x2,
CAIRO_PDF_OUTLINE_FLAG_ITALIC = 0x4,
} cairo_pdf_outline_flags_t;

#define CAIRO_PDF_OUTLINE_ROOT 0

cairo_public int
cairo_pdf_surface_add_outline (cairo_surface_t *surface,
int parent_id,
const char *utf8,
const char *link_attribs,
cairo_pdf_outline_flags_t flags);

/**
* cairo_pdf_metadata_t:
* @CAIRO_PDF_METADATA_TITLE: The document title (Since 1.16)
* @CAIRO_PDF_METADATA_AUTHOR: The document author (Since 1.16)
* @CAIRO_PDF_METADATA_SUBJECT: The document subject (Since 1.16)
* @CAIRO_PDF_METADATA_KEYWORDS: The document keywords (Since 1.16)
* @CAIRO_PDF_METADATA_CREATOR: The document creator (Since 1.16)
* @CAIRO_PDF_METADATA_CREATE_DATE: The document creation date (Since 1.16)
* @CAIRO_PDF_METADATA_MOD_DATE: The document modification date (Since 1.16)
*
* #cairo_pdf_metadata_t is used by the
* cairo_pdf_surface_set_metadata() function specify the metadata to set.
*
* Since: 1.16
**/
typedef enum _cairo_pdf_metadata {
CAIRO_PDF_METADATA_TITLE,
CAIRO_PDF_METADATA_AUTHOR,
CAIRO_PDF_METADATA_SUBJECT,
CAIRO_PDF_METADATA_KEYWORDS,
CAIRO_PDF_METADATA_CREATOR,
CAIRO_PDF_METADATA_CREATE_DATE,
CAIRO_PDF_METADATA_MOD_DATE,
} cairo_pdf_metadata_t;

cairo_public void
cairo_pdf_surface_set_metadata (cairo_surface_t *surface,
cairo_pdf_metadata_t metadata,
const char *utf8);

cairo_public void
cairo_pdf_surface_set_page_label (cairo_surface_t *surface,
const char *utf8);

cairo_public void
cairo_pdf_surface_set_thumbnail_size (cairo_surface_t *surface,
int width,
int height);

CAIRO_END_DECLS

#else /* CAIRO_HAS_PDF_SURFACE */

0 comments on commit e84b91c

Please sign in to comment.
You can’t perform that action at this time.