Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (20 sloc) 994 Bytes
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at */
/* automatically generated by rust-bindgen */
extern mod freetype;
extern mod fontconfig;
use core::libc::*;
use cairo_ft::freetype::freetype::FT_Face;
use cairo_ft::fontconfig::fontconfig::FcPattern;
use cairo::{
cairo_font_face_t, cairo_scaled_font_t, cairo_font_options_t
pub extern mod bindgen {
pub fn cairo_ft_font_face_create_for_ft_face(++face: FT_Face, ++load_flags: c_int) -> *cairo_font_face_t;
pub fn cairo_ft_scaled_font_lock_face(++scaled_font: *cairo_scaled_font_t) -> FT_Face;
pub fn cairo_ft_scaled_font_unlock_face(++scaled_font: *cairo_scaled_font_t);
pub fn cairo_ft_font_face_create_for_pattern(++pattern: *FcPattern) -> *cairo_font_face_t;
pub fn cairo_ft_font_options_substitute(++options: *cairo_font_options_t, ++pattern: *FcPattern);