diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-02 16:02:47 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-02 16:02:47 +0100 |
commit | ac4e9dbf432315595ea2c02765f5037fff3fd2d2 (patch) | |
tree | d47fe89c33f3edd4fa6fb45ac194bbd8dbcdc42d /fake_packages | |
parent | 083bda00f1af0526bb8d0888d344b004487405bc (diff) | |
download | perl_checker-ac4e9dbf432315595ea2c02765f5037fff3fd2d2.tar perl_checker-ac4e9dbf432315595ea2c02765f5037fff3fd2d2.tar.gz perl_checker-ac4e9dbf432315595ea2c02765f5037fff3fd2d2.tar.bz2 perl_checker-ac4e9dbf432315595ea2c02765f5037fff3fd2d2.tar.xz perl_checker-ac4e9dbf432315595ea2c02765f5037fff3fd2d2.zip |
Revert "remove Cairo fake packages (unused)"
This reverts commit 7dd999c823ecfe916ca05b8b6d58f499d9f14767.
Diffstat (limited to 'fake_packages')
-rw-r--r-- | fake_packages/Cairo.pm | 349 |
1 files changed, 349 insertions, 0 deletions
diff --git a/fake_packages/Cairo.pm b/fake_packages/Cairo.pm new file mode 100644 index 0000000..a080ec0 --- /dev/null +++ b/fake_packages/Cairo.pm @@ -0,0 +1,349 @@ + +package Cairo; +our @ISA = qw(); +sub HAS_FT_FONT() {} +sub HAS_PDF_SURFACE() {} +sub HAS_PNG_FUNCTIONS() {} +sub HAS_PS_SURFACE() {} +sub HAS_RECORDING_SURFACE() {} +sub HAS_SVG_SURFACE() {} +sub LIB_VERSION { my (@_more_paras) = @_ } +sub LIB_VERSION_ENCODE { my (@_more_paras) = @_ } +sub VERSION() {} +sub VERSION_ENCODE { my (@_more_paras) = @_ } +sub dl_load_flags() {} +sub lib_version { my ($_o_class) = @_ } +sub lib_version_string { my ($_o_class) = @_ } +sub version { my ($_o_class) = @_ } +sub version_string { my ($_o_class) = @_ } + +package Cairo::Context; +our @ISA = qw(); +sub DESTROY { my ($_cr) = @_ } +sub append_path { my ($_cr, $_path) = @_ } +sub arc { my ($_cr, $_xc, $_yc, $_radius, $_angle1, $_angle2) = @_ } +sub arc_negative { my ($_cr, $_xc, $_yc, $_radius, $_angle1, $_angle2) = @_ } +sub clip { my ($_cr) = @_ } +sub clip_extents { my ($_cr) = @_ } +sub clip_preserve { my ($_cr) = @_ } +sub close_path { my ($_cr) = @_ } +sub copy_clip_rectangle_list { my ($_cr) = @_ } +sub copy_page { my ($_cr) = @_ } +sub copy_path { my ($_cr) = @_ } +sub copy_path_flat { my ($_cr) = @_ } +sub create { my ($_class, $_target) = @_ } +sub curve_to { my ($_cr, $_x1, $_y1, $_x2, $_y2, $_x3, $_y3) = @_ } +sub device_to_user { my ($_cr) = @_ } +sub device_to_user_distance { my ($_cr) = @_ } +sub fill { my ($_cr) = @_ } +sub fill_extents { my ($_cr) = @_ } +sub fill_preserve { my ($_cr) = @_ } +sub font_extents { my ($_cr) = @_ } +sub get_antialias { my ($_cr) = @_ } +sub get_current_point { my ($_cr) = @_ } +sub get_dash { my ($_cr) = @_ } +sub get_fill_rule { my ($_cr) = @_ } +sub get_font_face { my ($_cr) = @_ } +sub get_font_matrix { my ($_cr) = @_ } +sub get_font_options { my ($_cr) = @_ } +sub get_group_target { my ($_cr) = @_ } +sub get_line_cap { my ($_cr) = @_ } +sub get_line_join { my ($_cr) = @_ } +sub get_line_width { my ($_cr) = @_ } +sub get_matrix { my ($_cr) = @_ } +sub get_miter_limit { my ($_cr) = @_ } +sub get_operator { my ($_cr) = @_ } +sub get_scaled_font { my ($_cr) = @_ } +sub get_source { my ($_cr) = @_ } +sub get_target { my ($_cr) = @_ } +sub get_tolerance { my ($_cr) = @_ } +sub glyph_extents { my ($_cr, @_more_paras) = @_ } +sub glyph_path { my ($_cr, @_more_paras) = @_ } +sub has_current_point { my ($_cr) = @_ } +sub identity_matrix { my ($_cr) = @_ } +sub in_clip { my ($_cr, $_x, $_y) = @_ } +sub in_fill { my ($_cr, $_x, $_y) = @_ } +sub in_stroke { my ($_cr, $_x, $_y) = @_ } +sub line_to { my ($_cr, $_x, $_y) = @_ } +sub mask { my ($_cr, $_pattern) = @_ } +sub mask_surface { my ($_cr, $_surface, $_surface_x, $_surface_y) = @_ } +sub move_to { my ($_cr, $_x, $_y) = @_ } +sub new_path { my ($_cr) = @_ } +sub new_sub_path { my ($_cr) = @_ } +sub paint { my ($_cr) = @_ } +sub paint_with_alpha { my ($_cr, $_alpha) = @_ } +sub path_extents { my ($_cr) = @_ } +sub pop_group { my ($_cr) = @_ } +sub pop_group_to_source { my ($_cr) = @_ } +sub push_group { my ($_cr) = @_ } +sub push_group_with_content { my ($_cr, $_content) = @_ } +sub rectangle { my ($_cr, $_x, $_y, $_width, $_height) = @_ } +sub rel_curve_to { my ($_cr, $_dx1, $_dy1, $_dx2, $_dy2, $_dx3, $_dy3) = @_ } +sub rel_line_to { my ($_cr, $_dx, $_dy) = @_ } +sub rel_move_to { my ($_cr, $_dx, $_dy) = @_ } +sub reset_clip { my ($_cr) = @_ } +sub restore { my ($_cr) = @_ } +sub rotate { my ($_cr, $_angle) = @_ } +sub save { my ($_cr) = @_ } +sub scale { my ($_cr, $_sx, $_sy) = @_ } +sub select_font_face { my ($_cr, $_family, $_slant, $_weight) = @_ } +sub set_antialias { my ($_cr, $_antialias) = @_ } +sub set_dash { my ($_cr, $_offset, @_more_paras) = @_ } +sub set_fill_rule { my ($_cr, $_fill_rule) = @_ } +sub set_font_face { my ($_cr, $_font_face) = @_ } +sub set_font_matrix { my ($_cr, $_matrix) = @_ } +sub set_font_options { my ($_cr, $_options) = @_ } +sub set_font_size { my ($_cr, $_size) = @_ } +sub set_line_cap { my ($_cr, $_line_cap) = @_ } +sub set_line_join { my ($_cr, $_line_join) = @_ } +sub set_line_width { my ($_cr, $_width) = @_ } +sub set_matrix { my ($_cr, $_matrix) = @_ } +sub set_miter_limit { my ($_cr, $_limit) = @_ } +sub set_operator { my ($_cr, $_op) = @_ } +sub set_scaled_font { my ($_cr, $_scaled_font) = @_ } +sub set_source { my ($_cr, $_source) = @_ } +sub set_source_rgb { my ($_cr, $_red, $_green, $_blue) = @_ } +sub set_source_rgba { my ($_cr, $_red, $_green, $_blue, $_alpha) = @_ } +sub set_source_surface { my ($_cr, $_surface, $_x, $_y) = @_ } +sub set_tolerance { my ($_cr, $_tolerance) = @_ } +sub show_glyphs { my ($_cr, @_more_paras) = @_ } +sub show_page { my ($_cr) = @_ } +sub show_text { my ($_cr, $_utf8) = @_ } +sub show_text_glyphs { my ($_cr, $_utf8_sv, $_glyphs_sv, $_clusters_sv, $_cluster_flags) = @_ } +sub status { my ($_cr) = @_ } +sub stroke { my ($_cr) = @_ } +sub stroke_extents { my ($_cr) = @_ } +sub stroke_preserve { my ($_cr) = @_ } +sub text_extents { my ($_cr, $_utf8) = @_ } +sub text_path { my ($_cr, $_utf8) = @_ } +sub transform { my ($_cr, $_matrix) = @_ } +sub translate { my ($_cr, $_tx, $_ty) = @_ } +sub user_to_device { my ($_cr) = @_ } +sub user_to_device_distance { my ($_cr) = @_ } + +package Cairo::FontFace; +our @ISA = qw(); +sub DESTROY { my ($_font) = @_ } +sub get_type { my ($_font_face) = @_ } +sub status { my ($_font) = @_ } + +package Cairo::FontOptions; +our @ISA = qw(); +sub DESTROY { my ($_options) = @_ } +sub create { my ($_class) = @_ } +sub equal { my ($_options, $_other) = @_ } +sub get_antialias { my ($_options) = @_ } +sub get_hint_metrics { my ($_options) = @_ } +sub get_hint_style { my ($_options) = @_ } +sub get_subpixel_order { my ($_options) = @_ } +sub merge { my ($_options, $_other) = @_ } +sub set_antialias { my ($_options, $_antialias) = @_ } +sub set_hint_metrics { my ($_options, $_hint_metrics) = @_ } +sub set_hint_style { my ($_options, $_hint_style) = @_ } +sub set_subpixel_order { my ($_options, $_subpixel_order) = @_ } +sub status { my ($_options) = @_ } + +package Cairo::Format; +our @ISA = qw(); +sub stride_for_width { my ($_format, $_width) = @_ } + +package Cairo::FtFontFace; +our @ISA = qw(); +sub create { my ($_class, $_face, $_o_load_flags) = @_ } + +package Cairo::Gradient; +our @ISA = qw(); +sub add_color_stop_rgb { my ($_pattern, $_offset, $_red, $_green, $_blue) = @_ } +sub add_color_stop_rgba { my ($_pattern, $_offset, $_red, $_green, $_blue, $_alpha) = @_ } +sub get_color_stops { my ($_pattern) = @_ } + +package Cairo::ImageSurface; +our @ISA = qw(); +sub create { my ($_class, $_format, $_width, $_height) = @_ } +sub create_for_data { my ($_class, $_data, $_format, $_width, $_height, $_stride) = @_ } +sub create_from_png { my ($_class, $_filename) = @_ } +sub create_from_png_stream { my ($_class, $_func, $_o_data) = @_ } +sub get_data { my ($_surface) = @_ } +sub get_format { my ($_surface) = @_ } +sub get_height { my ($_surface) = @_ } +sub get_stride { my ($_surface) = @_ } +sub get_width { my ($_surface) = @_ } + +package Cairo::LinearGradient; +our @ISA = qw(); +sub create { my ($_class, $_x0, $_y0, $_x1, $_y1) = @_ } +sub get_points { my ($_pattern) = @_ } + +package Cairo::Matrix; +our @ISA = qw(); +sub DESTROY { my ($_matrix) = @_ } +sub init { my ($_class, $_xx, $_yx, $_xy, $_yy, $_x0, $_y0) = @_ } +sub init_identity { my ($_class) = @_ } +sub init_rotate { my ($_class, $_radians) = @_ } +sub init_scale { my ($_class, $_sx, $_sy) = @_ } +sub init_translate { my ($_class, $_tx, $_ty) = @_ } +sub invert { my ($_matrix) = @_ } +sub multiply { my ($_a, $_b) = @_ } +sub rotate { my ($_matrix, $_radians) = @_ } +sub scale { my ($_matrix, $_sx, $_sy) = @_ } +sub transform_distance { my ($_matrix) = @_ } +sub transform_point { my ($_matrix) = @_ } +sub translate { my ($_matrix, $_tx, $_ty) = @_ } + +package Cairo::Path; +our @ISA = qw(); +sub DESTROY { my ($_sv) = @_ } +sub FETCH { my ($_path, $_index) = @_ } +sub FETCHSIZE { my ($_path) = @_ } + +package Cairo::Path::Data; +our @ISA = qw(); +sub EXISTS { my ($_sv, $_key) = @_ } +sub FETCH { my ($_sv, $_key) = @_ } +sub FIRSTKEY { my ($_sv) = @_ } +sub NEXTKEY { my ($_sv, $_lastkey) = @_ } +sub STORE { my ($_sv, $_key, $_value) = @_ } + +package Cairo::Path::Point; +our @ISA = qw(); +sub FETCH { my ($_sv, $_index) = @_ } +sub FETCHSIZE { my ($_sv) = @_ } +sub STORE { my ($_sv, $_index, $_value) = @_ } + +package Cairo::Path::Points; +our @ISA = qw(); +sub FETCH { my ($_sv, $_index) = @_ } +sub FETCHSIZE { my ($_sv) = @_ } +sub STORE { my ($_sv, $_index, $_value) = @_ } + +package Cairo::Pattern; +our @ISA = qw(); +sub DESTROY { my ($_pattern) = @_ } +sub get_extend { my ($_pattern) = @_ } +sub get_filter { my ($_pattern) = @_ } +sub get_matrix { my ($_pattern) = @_ } +sub get_type { my ($_pattern) = @_ } +sub set_extend { my ($_pattern, $_extend) = @_ } +sub set_filter { my ($_pattern, $_filter) = @_ } +sub set_matrix { my ($_pattern, $_matrix) = @_ } +sub status { my ($_pattern) = @_ } + +package Cairo::PdfSurface; +our @ISA = qw(); +sub create { my ($_class, $_filename, $_width_in_points, $_height_in_points) = @_ } +sub create_for_stream { my ($_class, $_func, $_data, $_width_in_points, $_height_in_points) = @_ } +sub get_versions { my ($_o_class) = @_ } +sub restrict_to_version { my ($_surface, $_version) = @_ } +sub set_size { my ($_surface, $_width_in_points, $_height_in_points) = @_ } +sub version_to_string { my (@_more_paras) = @_ } + +package Cairo::PsSurface; +our @ISA = qw(); +sub create { my ($_class, $_filename, $_width_in_points, $_height_in_points) = @_ } +sub create_for_stream { my ($_class, $_func, $_data, $_width_in_points, $_height_in_points) = @_ } +sub dsc_begin_page_setup { my ($_surface) = @_ } +sub dsc_begin_setup { my ($_surface) = @_ } +sub dsc_comment { my ($_surface, $_comment) = @_ } +sub get_eps { my ($_surface) = @_ } +sub get_levels { my ($_o_class) = @_ } +sub level_to_string { my (@_more_paras) = @_ } +sub restrict_to_level { my ($_surface, $_level) = @_ } +sub set_eps { my ($_surface, $_eps) = @_ } +sub set_size { my ($_surface, $_width_in_points, $_height_in_points) = @_ } + +package Cairo::RadialGradient; +our @ISA = qw(); +sub create { my ($_class, $_cx0, $_cy0, $_radius0, $_cx1, $_cy1, $_radius1) = @_ } +sub get_circles { my ($_pattern) = @_ } + +package Cairo::RecordingSurface; +our @ISA = qw(); +sub create { my ($_class, $_content, $_extents) = @_ } +sub ink_extents { my ($_surface) = @_ } + +package Cairo::Region; +our @ISA = qw(); +sub DESTROY { my ($_region) = @_ } +sub contains_point { my ($_region, $_x, $_y) = @_ } +sub contains_rectangle { my ($_region, $_rectangle) = @_ } +sub create { my ($_class, @_more_paras) = @_ } +sub equal { my ($_a, $_b) = @_ } +sub get_extents { my ($_region) = @_ } +sub get_rectangle { my ($_region, $_nth) = @_ } +sub intersect { my ($_dst, $_other) = @_ } +sub intersect_rectangle { my ($_dst, $_rectangle) = @_ } +sub is_empty { my ($_region) = @_ } +sub num_rectangles { my ($_region) = @_ } +sub status { my ($_region) = @_ } +sub subtract { my ($_dst, $_other) = @_ } +sub subtract_rectangle { my ($_dst, $_rectangle) = @_ } +sub translate { my ($_region, $_dx, $_dy) = @_ } +sub union { my ($_dst, $_other) = @_ } +sub union_rectangle { my ($_dst, $_rectangle) = @_ } +sub Cairo::Region::xor { my ($_dst, $_other) = @_ } +sub xor_rectangle { my ($_dst, $_rectangle) = @_ } + +package Cairo::ScaledFont; +our @ISA = qw(); +sub DESTROY { my ($_font) = @_ } +sub create { my ($_class, $_font_face, $_font_matrix, $_ctm, $_options) = @_ } +sub extents { my ($_scaled_font) = @_ } +sub get_ctm { my ($_scaled_font) = @_ } +sub get_font_face { my ($_scaled_font) = @_ } +sub get_font_matrix { my ($_scaled_font) = @_ } +sub get_font_options { my ($_scaled_font) = @_ } +sub get_scale_matrix { my ($_scaled_font) = @_ } +sub get_type { my ($_scaled_font) = @_ } +sub glyph_extents { my ($_scaled_font, @_more_paras) = @_ } +sub status { my ($_scaled_font) = @_ } +sub text_extents { my ($_scaled_font, $_utf8) = @_ } +sub text_to_glyphs { my ($_scaled_font, $_x, $_y, $_utf8_sv) = @_ } + +package Cairo::SolidPattern; +our @ISA = qw(); +sub create_rgb { my ($_class, $_red, $_green, $_blue) = @_ } +sub create_rgba { my ($_class, $_red, $_green, $_blue, $_alpha) = @_ } +sub get_rgba { my ($_pattern) = @_ } + +package Cairo::Surface; +our @ISA = qw(); +sub DESTROY { my ($_surface) = @_ } +sub copy_page { my ($_surface) = @_ } +sub create_for_rectangle { my ($_class, $_target, $_x, $_y, $_width, $_height) = @_ } +sub create_similar { my (@_more_paras) = @_ } +sub finish { my ($_surface) = @_ } +sub flush { my ($_surface) = @_ } +sub get_content { my ($_surface) = @_ } +sub get_device_offset { my ($_surface) = @_ } +sub get_fallback_resolution { my ($_surface) = @_ } +sub get_font_options { my ($_surface) = @_ } +sub get_type { my ($_surface) = @_ } +sub has_show_text_glyphs { my ($_surface) = @_ } +sub mark_dirty { my ($_surface) = @_ } +sub mark_dirty_rectangle { my ($_surface, $_x, $_y, $_width, $_height) = @_ } +sub set_device_offset { my ($_surface, $_x_offset, $_y_offset) = @_ } +sub set_fallback_resolution { my ($_surface, $_x_pixels_per_inch, $_y_pixels_per_inch) = @_ } +sub show_page { my ($_surface) = @_ } +sub status { my ($_surface) = @_ } +sub write_to_png { my ($_surface, $_filename) = @_ } +sub write_to_png_stream { my ($_surface, $_func, $_o_data) = @_ } + +package Cairo::SurfacePattern; +our @ISA = qw(); +sub create { my ($_class, $_surface) = @_ } +sub get_surface { my ($_pattern) = @_ } + +package Cairo::SvgSurface; +our @ISA = qw(); +sub create { my ($_class, $_filename, $_width_in_points, $_height_in_points) = @_ } +sub create_for_stream { my ($_class, $_func, $_data, $_width_in_points, $_height_in_points) = @_ } +sub get_versions { my ($_o_class) = @_ } +sub restrict_to_version { my ($_surface, $_version) = @_ } +sub version_to_string { my (@_more_paras) = @_ } + +package Cairo::ToyFontFace; +our @ISA = qw(); +sub create { my ($_class, $_family, $_slant, $_weight) = @_ } +sub get_family { my ($_font_face) = @_ } +sub get_slant { my ($_font_face) = @_ } +sub get_weight { my ($_font_face) = @_ } |