cairo 1.6.3 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +206 -0
- data/NEWS +13 -0
- data/README +10 -3
- data/Rakefile +3 -2
- data/doc/en/cairo-antialias.html +0 -3
- data/doc/en/cairo-clip-not-representable-error.html +1 -4
- data/doc/en/cairo-color-base.html +0 -3
- data/doc/en/cairo-color-cmyk.html +1 -4
- data/doc/en/cairo-color-hsv.html +137 -0
- data/doc/en/cairo-color-rgb.html +142 -0
- data/doc/en/cairo-color-x11.html +173 -0
- data/doc/en/cairo-color.html +238 -0
- data/doc/en/cairo-content.html +37 -0
- data/doc/en/cairo-context-blur.html +39 -0
- data/doc/en/cairo-context-circle.html +39 -0
- data/doc/en/cairo-context-color.html +39 -0
- data/doc/en/cairo-context-path.html +44 -0
- data/doc/en/cairo-context-rectangle.html +0 -3
- data/doc/en/cairo-context-triangle.html +39 -0
- data/doc/en/cairo-context.html +124 -107
- data/doc/en/cairo-error.html +44 -0
- data/doc/en/cairo-extend.html +38 -0
- data/doc/en/cairo-file-not-found.html +1 -4
- data/doc/en/cairo-fill-rule.html +36 -0
- data/doc/en/cairo-filter.html +0 -3
- data/doc/en/cairo-font-extents.html +129 -0
- data/doc/en/cairo-font-face.html +38 -0
- data/doc/en/cairo-font-options.html +154 -0
- data/doc/en/cairo-font-slant.html +0 -3
- data/doc/en/cairo-font-type-mismatch.html +47 -0
- data/doc/en/cairo-font-weight.html +0 -3
- data/doc/en/cairo-format.html +0 -3
- data/doc/en/cairo-glyph.html +99 -0
- data/doc/en/cairo-gradient-pattern.html +74 -0
- data/doc/en/cairo-hint-metrics.html +37 -0
- data/doc/en/cairo-hint-style.html +0 -3
- data/doc/en/cairo-image-surface.html +82 -0
- data/doc/en/cairo-invalid-clusters.html +47 -0
- data/doc/en/cairo-invalid-content-error.html +47 -0
- data/doc/en/cairo-invalid-dash-error.html +0 -3
- data/doc/en/cairo-invalid-dsc-comment-error.html +47 -0
- data/doc/en/cairo-invalid-format-error.html +47 -0
- data/doc/en/cairo-invalid-index-error.html +47 -0
- data/doc/en/cairo-invalid-matrix-error.html +0 -3
- data/doc/en/cairo-invalid-path-data-error.html +47 -0
- data/doc/en/cairo-invalid-pop-group-error.html +1 -4
- data/doc/en/cairo-invalid-restore-error.html +47 -0
- data/doc/en/cairo-invalid-slant.html +47 -0
- data/doc/en/cairo-invalid-status-error.html +47 -0
- data/doc/en/cairo-invalid-stride-error.html +0 -3
- data/doc/en/cairo-invalid-string-error.html +47 -0
- data/doc/en/cairo-invalid-visual-error.html +47 -0
- data/doc/en/cairo-invalid-weight.html +47 -0
- data/doc/en/cairo-lcd-filter.html +39 -0
- data/doc/en/cairo-line-cap.html +37 -0
- data/doc/en/cairo-line-join.html +37 -0
- data/doc/en/cairo-linear-pattern.html +60 -0
- data/doc/en/cairo-matrix.html +259 -0
- data/doc/en/cairo-negative-count.html +47 -0
- data/doc/en/cairo-no-current-point-error.html +47 -0
- data/doc/en/cairo-null-pointer-error.html +0 -3
- data/doc/en/cairo-operator.html +0 -3
- data/doc/en/cairo-paper-parse-error.html +0 -3
- data/doc/en/cairo-paper-unknown-paper-name.html +66 -0
- data/doc/en/cairo-paper-unknown-unit.html +66 -0
- data/doc/en/cairo-paper-unrecognized-paper-description.html +1 -4
- data/doc/en/cairo-paper.html +0 -3
- data/doc/en/cairo-path-close-path.html +49 -0
- data/doc/en/cairo-path-curve-to.html +1 -4
- data/doc/en/cairo-path-data-type.html +0 -3
- data/doc/en/cairo-path-data.html +0 -3
- data/doc/en/cairo-path-line-to.html +1 -4
- data/doc/en/cairo-path-move-to.html +1 -4
- data/doc/en/cairo-path.html +0 -3
- data/doc/en/cairo-pattern-type-mismatch-error.html +47 -0
- data/doc/en/cairo-pattern.html +0 -3
- data/doc/en/cairo-pdf-surface.html +1 -4
- data/doc/en/cairo-point.html +0 -3
- data/doc/en/cairo-ps-level.html +49 -0
- data/doc/en/cairo-ps-surface.html +1 -4
- data/doc/en/cairo-quartz-image-surface.html +57 -0
- data/doc/en/cairo-quartz-surface.html +1 -4
- data/doc/en/cairo-radial-pattern.html +60 -0
- data/doc/en/cairo-read-error.html +47 -0
- data/doc/en/cairo-rectangle.html +0 -3
- data/doc/en/cairo-scaled-font.html +94 -0
- data/doc/en/cairo-solid-pattern.html +62 -0
- data/doc/en/cairo-subpixel-order.html +0 -3
- data/doc/en/cairo-surface-finished-error.html +1 -4
- data/doc/en/cairo-surface-pattern.html +0 -3
- data/doc/en/cairo-surface-type-mismatch-error.html +47 -0
- data/doc/en/cairo-surface.html +22 -15
- data/doc/en/cairo-svg-surface.html +77 -0
- data/doc/en/cairo-svg-version.html +0 -3
- data/doc/en/cairo-temp-file-error.html +47 -0
- data/doc/en/cairo-text-cluster.html +84 -0
- data/doc/en/cairo-text-extents.html +144 -0
- data/doc/en/cairo-toy-font-face.html +67 -0
- data/doc/en/cairo-user-font-error.html +47 -0
- data/doc/en/cairo-user-font-face-text-to-glyphs-data.html +94 -0
- data/doc/en/cairo-user-font-face.html +72 -0
- data/doc/en/cairo-user-font-immutable.html +47 -0
- data/doc/en/cairo-win32-printing-surface.html +57 -0
- data/doc/en/cairo-win32-surface.html +62 -0
- data/doc/en/cairo-write-error.html +47 -0
- data/doc/en/cairo.html +92 -80
- data/doc/en/index.html +1076 -989
- data/doc/ja/cairo-clip-not-representable-error.html +1 -1
- data/doc/ja/cairo-color-base.html +1 -1
- data/doc/ja/cairo-color-cmyk.html +9 -9
- data/doc/ja/cairo-color-hsv.html +8 -8
- data/doc/ja/cairo-color-rgb.html +9 -9
- data/doc/ja/cairo-color.html +8 -8
- data/doc/ja/cairo-context-circle.html +1 -1
- data/doc/ja/cairo-context-color.html +1 -1
- data/doc/ja/cairo-context-path.html +2 -2
- data/doc/ja/cairo-context.html +435 -342
- data/doc/ja/cairo-font-extents.html +69 -15
- data/doc/ja/cairo-font-face.html +3 -3
- data/doc/ja/cairo-font-options.html +37 -12
- data/doc/ja/cairo-font-slant.html +1 -1
- data/doc/ja/cairo-font-type-mismatch.html +52 -0
- data/doc/ja/cairo-glyph.html +5 -5
- data/doc/ja/cairo-gradient-pattern.html +6 -6
- data/doc/ja/cairo-image-surface.html +8 -8
- data/doc/ja/cairo-invalid-clusters.html +55 -0
- data/doc/ja/cairo-invalid-restore-error.html +1 -1
- data/doc/ja/cairo-invalid-slant.html +57 -0
- data/doc/ja/cairo-invalid-weight.html +57 -0
- data/doc/ja/cairo-lcd-filter.html +63 -0
- data/doc/ja/cairo-line-join.html +1 -1
- data/doc/ja/cairo-linear-pattern.html +2 -2
- data/doc/ja/cairo-matrix.html +35 -24
- data/doc/ja/cairo-negative-count.html +52 -0
- data/doc/ja/cairo-paper-unknown-paper-name.html +2 -2
- data/doc/ja/cairo-paper-unknown-unit.html +2 -2
- data/doc/ja/cairo-paper-unrecognized-paper-description.html +1 -1
- data/doc/ja/cairo-paper.html +12 -12
- data/doc/ja/cairo-path-close-path.html +1 -1
- data/doc/ja/cairo-path-curve-to.html +1 -1
- data/doc/ja/cairo-path-data.html +8 -8
- data/doc/ja/cairo-path-line-to.html +1 -1
- data/doc/ja/cairo-path-move-to.html +1 -1
- data/doc/ja/cairo-path.html +21 -21
- data/doc/ja/cairo-pattern.html +4 -4
- data/doc/ja/cairo-pdf-surface.html +2 -2
- data/doc/ja/cairo-point.html +5 -5
- data/doc/ja/cairo-ps-level.html +2 -2
- data/doc/ja/cairo-ps-surface.html +6 -6
- data/doc/ja/cairo-quartz-image-surface.html +2 -2
- data/doc/ja/cairo-quartz-surface.html +3 -3
- data/doc/ja/cairo-radial-pattern.html +2 -2
- data/doc/ja/cairo-rectangle.html +5 -5
- data/doc/ja/cairo-scaled-font.html +53 -17
- data/doc/ja/cairo-solid-pattern.html +3 -3
- data/doc/ja/cairo-surface-pattern.html +2 -2
- data/doc/ja/cairo-surface.html +58 -36
- data/doc/ja/cairo-svg-surface.html +4 -4
- data/doc/ja/cairo-svg-version.html +2 -2
- data/doc/ja/cairo-text-cluster.html +102 -0
- data/doc/ja/cairo-text-extents.html +84 -22
- data/doc/ja/cairo-toy-font-face.html +107 -0
- data/doc/ja/cairo-user-font-error.html +55 -0
- data/doc/ja/cairo-user-font-face-text-to-glyphs-data.html +155 -0
- data/doc/ja/cairo-user-font-face.html +268 -0
- data/doc/ja/cairo-user-font-immutable.html +54 -0
- data/doc/ja/cairo-win32-printing-surface.html +3 -3
- data/doc/ja/cairo-win32-surface.html +4 -4
- data/doc/ja/cairo.html +110 -77
- data/doc/ja/index.html +292 -205
- data/extconf.rb +1 -0
- data/src/cairo.def +8 -0
- data/src/lib/cairo.rb +12 -7
- data/src/lib/cairo/constants.rb +1 -0
- data/src/rb_cairo.c +25 -3
- data/src/rb_cairo.h +22 -1
- data/src/rb_cairo_constants.c +24 -1
- data/src/rb_cairo_context.c +147 -6
- data/src/rb_cairo_exception.c +143 -3
- data/src/rb_cairo_font_extents.c +81 -6
- data/src/rb_cairo_font_face.c +646 -4
- data/src/rb_cairo_font_options.c +24 -2
- data/src/rb_cairo_glyph.c +5 -3
- data/src/rb_cairo_matrix.c +17 -1
- data/src/rb_cairo_private.c +169 -5
- data/src/rb_cairo_private.h +36 -2
- data/src/rb_cairo_scaled_font.c +61 -3
- data/src/rb_cairo_surface.c +77 -52
- data/src/rb_cairo_text_cluster.c +151 -0
- data/src/rb_cairo_text_extents.c +85 -2
- data/test-unit/Rakefile +30 -0
- data/test-unit/bin/testrb +5 -0
- data/test-unit/lib/test/unit.rb +280 -0
- data/test-unit/lib/test/unit/assertionfailederror.rb +14 -0
- data/test-unit/lib/test/unit/assertions.rb +722 -0
- data/test-unit/lib/test/unit/attribute.rb +125 -0
- data/test-unit/lib/test/unit/autorunner.rb +254 -0
- data/test-unit/lib/test/unit/collector.rb +43 -0
- data/test-unit/lib/test/unit/collector/descendant.rb +23 -0
- data/test-unit/lib/test/unit/collector/dir.rb +108 -0
- data/test-unit/lib/test/unit/collector/load.rb +135 -0
- data/test-unit/lib/test/unit/collector/objectspace.rb +34 -0
- data/test-unit/lib/test/unit/color.rb +61 -0
- data/test-unit/lib/test/unit/diff.rb +524 -0
- data/test-unit/lib/test/unit/error.rb +124 -0
- data/test-unit/lib/test/unit/exceptionhandler.rb +39 -0
- data/test-unit/lib/test/unit/failure.rb +110 -0
- data/test-unit/lib/test/unit/fixture.rb +185 -0
- data/test-unit/lib/test/unit/notification.rb +125 -0
- data/test-unit/lib/test/unit/omission.rb +143 -0
- data/test-unit/lib/test/unit/pending.rb +146 -0
- data/test-unit/lib/test/unit/priority.rb +146 -0
- data/test-unit/lib/test/unit/runner/console.rb +46 -0
- data/test-unit/lib/test/unit/runner/emacs.rb +8 -0
- data/test-unit/lib/test/unit/testcase.rb +281 -0
- data/test-unit/lib/test/unit/testresult.rb +89 -0
- data/test-unit/lib/test/unit/testsuite.rb +110 -0
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +14 -0
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +195 -0
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +49 -0
- data/test-unit/lib/test/unit/ui/testrunner.rb +20 -0
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +77 -0
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/test-unit/lib/test/unit/util/backtracefilter.rb +41 -0
- data/test-unit/lib/test/unit/util/observable.rb +90 -0
- data/test-unit/lib/test/unit/util/procwrapper.rb +48 -0
- data/test-unit/lib/test/unit/version.rb +7 -0
- data/test-unit/sample/adder.rb +13 -0
- data/test-unit/sample/subtracter.rb +12 -0
- data/test-unit/sample/tc_adder.rb +18 -0
- data/test-unit/sample/tc_subtracter.rb +18 -0
- data/test-unit/sample/ts_examples.rb +7 -0
- data/test-unit/test/collector/test_descendant.rb +135 -0
- data/test-unit/test/collector/test_dir.rb +406 -0
- data/test-unit/test/collector/test_load.rb +333 -0
- data/test-unit/test/collector/test_objectspace.rb +98 -0
- data/test-unit/test/run-test.rb +13 -0
- data/test-unit/test/test_assertions.rb +693 -0
- data/test-unit/test/test_attribute.rb +86 -0
- data/test-unit/test/test_color.rb +37 -0
- data/test-unit/test/test_diff.rb +477 -0
- data/test-unit/test/test_emacs_runner.rb +60 -0
- data/test-unit/test/test_error.rb +26 -0
- data/test-unit/test/test_failure.rb +33 -0
- data/test-unit/test/test_fixture.rb +252 -0
- data/test-unit/test/test_notification.rb +33 -0
- data/test-unit/test/test_omission.rb +81 -0
- data/test-unit/test/test_pending.rb +70 -0
- data/test-unit/test/test_priority.rb +89 -0
- data/test-unit/test/test_testcase.rb +430 -0
- data/test-unit/test/test_testresult.rb +113 -0
- data/test-unit/test/test_testsuite.rb +129 -0
- data/test-unit/test/testunit_test_util.rb +14 -0
- data/test-unit/test/ui/test_testrunmediator.rb +20 -0
- data/test-unit/test/util/test_backtracefilter.rb +41 -0
- data/test-unit/test/util/test_observable.rb +102 -0
- data/test-unit/test/util/test_procwrapper.rb +36 -0
- data/test/cairo-test-utils.rb +18 -0
- data/test/run-test.rb +14 -1
- data/test/test_constants.rb +19 -0
- data/test/test_context.rb +117 -0
- data/test/test_exception.rb +27 -0
- data/test/test_font_extents.rb +36 -0
- data/test/test_font_face.rb +244 -0
- data/test/test_font_options.rb +32 -0
- data/test/test_pkg_config.rb +3 -2
- data/test/test_scaled_font.rb +34 -0
- data/test/test_surface.rb +13 -0
- data/test/test_text_cluster.rb +32 -0
- data/test/test_text_extents.rb +40 -0
- data/test/test_text_to_glyphs_data.rb +47 -0
- metadata +156 -175
- data/doc/en/cairo-antialias.rbl +0 -8
- data/doc/en/cairo-antialias.rd +0 -16
- data/doc/en/cairo-antialias.rdc +0 -16
- data/doc/en/cairo-clip-not-representable-error.rbl +0 -4
- data/doc/en/cairo-clip-not-representable-error.rd +0 -17
- data/doc/en/cairo-clip-not-representable-error.rdc +0 -17
- data/doc/en/cairo-color-base.rbl +0 -11
- data/doc/en/cairo-color-base.rd +0 -38
- data/doc/en/cairo-color-base.rdc +0 -38
- data/doc/en/cairo-color-cmyk.rbl +0 -28
- data/doc/en/cairo-color-cmyk.rd +0 -107
- data/doc/en/cairo-color-cmyk.rdc +0 -107
- data/doc/en/cairo-color-hsv.rd +0 -91
- data/doc/en/cairo-color-rgb.rd +0 -95
- data/doc/en/cairo-color-x11.rd +0 -151
- data/doc/en/cairo-color.rd +0 -213
- data/doc/en/cairo-content.rd +0 -15
- data/doc/en/cairo-context-blur.rd +0 -15
- data/doc/en/cairo-context-circle.rd +0 -15
- data/doc/en/cairo-context-color.rd +0 -15
- data/doc/en/cairo-context-path.rd +0 -19
- data/doc/en/cairo-context-rectangle.rbl +0 -5
- data/doc/en/cairo-context-rectangle.rd +0 -15
- data/doc/en/cairo-context-rectangle.rdc +0 -15
- data/doc/en/cairo-context-triangle.rd +0 -15
- data/doc/en/cairo-context.rbl +0 -123
- data/doc/en/cairo-context.rd +0 -491
- data/doc/en/cairo-context.rdc +0 -491
- data/doc/en/cairo-error.rd +0 -16
- data/doc/en/cairo-extend.rd +0 -16
- data/doc/en/cairo-file-not-found.rbl +0 -4
- data/doc/en/cairo-file-not-found.rd +0 -17
- data/doc/en/cairo-file-not-found.rdc +0 -17
- data/doc/en/cairo-fill-rule.rd +0 -14
- data/doc/en/cairo-filter.rbl +0 -10
- data/doc/en/cairo-filter.rd +0 -18
- data/doc/en/cairo-filter.rdc +0 -18
- data/doc/en/cairo-font-extents.rd +0 -40
- data/doc/en/cairo-font-face.rd +0 -14
- data/doc/en/cairo-font-options.rd +0 -94
- data/doc/en/cairo-font-slant.rbl +0 -7
- data/doc/en/cairo-font-slant.rd +0 -15
- data/doc/en/cairo-font-slant.rdc +0 -15
- data/doc/en/cairo-font-weight.rbl +0 -6
- data/doc/en/cairo-font-weight.rd +0 -14
- data/doc/en/cairo-font-weight.rdc +0 -14
- data/doc/en/cairo-format.rbl +0 -10
- data/doc/en/cairo-format.rd +0 -22
- data/doc/en/cairo-format.rdc +0 -22
- data/doc/en/cairo-glyph.rd +0 -62
- data/doc/en/cairo-gradient-pattern.rd +0 -41
- data/doc/en/cairo-hint-metrics.rd +0 -15
- data/doc/en/cairo-hint-style.rbl +0 -9
- data/doc/en/cairo-hint-style.rd +0 -17
- data/doc/en/cairo-hint-style.rdc +0 -17
- data/doc/en/cairo-image-surface.rd +0 -47
- data/doc/en/cairo-invalid-content-error.rd +0 -17
- data/doc/en/cairo-invalid-dash-error.rbl +0 -4
- data/doc/en/cairo-invalid-dash-error.rd +0 -17
- data/doc/en/cairo-invalid-dash-error.rdc +0 -17
- data/doc/en/cairo-invalid-dsc-comment-error.rd +0 -17
- data/doc/en/cairo-invalid-format-error.rd +0 -17
- data/doc/en/cairo-invalid-index-error.rd +0 -17
- data/doc/en/cairo-invalid-matrix-error.rbl +0 -4
- data/doc/en/cairo-invalid-matrix-error.rd +0 -17
- data/doc/en/cairo-invalid-matrix-error.rdc +0 -17
- data/doc/en/cairo-invalid-path-data-error.rd +0 -17
- data/doc/en/cairo-invalid-pop-group-error.rbl +0 -4
- data/doc/en/cairo-invalid-pop-group-error.rd +0 -17
- data/doc/en/cairo-invalid-pop-group-error.rdc +0 -17
- data/doc/en/cairo-invalid-restore-error.rd +0 -17
- data/doc/en/cairo-invalid-status-error.rd +0 -17
- data/doc/en/cairo-invalid-stride-error.rbl +0 -4
- data/doc/en/cairo-invalid-stride-error.rd +0 -17
- data/doc/en/cairo-invalid-stride-error.rdc +0 -17
- data/doc/en/cairo-invalid-string-error.rd +0 -17
- data/doc/en/cairo-invalid-visual-error.rd +0 -17
- data/doc/en/cairo-line-cap.rd +0 -15
- data/doc/en/cairo-line-join.rd +0 -15
- data/doc/en/cairo-linear-pattern.rd +0 -28
- data/doc/en/cairo-matrix.rd +0 -186
- data/doc/en/cairo-no-current-point-error.rd +0 -17
- data/doc/en/cairo-null-pointer-error.rbl +0 -4
- data/doc/en/cairo-null-pointer-error.rd +0 -17
- data/doc/en/cairo-null-pointer-error.rdc +0 -17
- data/doc/en/cairo-operator.rbl +0 -18
- data/doc/en/cairo-operator.rd +0 -26
- data/doc/en/cairo-operator.rdc +0 -26
- data/doc/en/cairo-paper-parse-error.rbl +0 -4
- data/doc/en/cairo-paper-parse-error.rd +0 -17
- data/doc/en/cairo-paper-parse-error.rdc +0 -17
- data/doc/en/cairo-paper-unknown-paper-name.rd +0 -30
- data/doc/en/cairo-paper-unknown-unit.rd +0 -30
- data/doc/en/cairo-paper-unrecognized-paper-description.rbl +0 -8
- data/doc/en/cairo-paper-unrecognized-paper-description.rd +0 -30
- data/doc/en/cairo-paper-unrecognized-paper-description.rdc +0 -30
- data/doc/en/cairo-paper.rbl +0 -76
- data/doc/en/cairo-paper.rd +0 -141
- data/doc/en/cairo-paper.rdc +0 -141
- data/doc/en/cairo-path-close-path.rd +0 -21
- data/doc/en/cairo-path-curve-to.rbl +0 -6
- data/doc/en/cairo-path-curve-to.rd +0 -21
- data/doc/en/cairo-path-curve-to.rdc +0 -21
- data/doc/en/cairo-path-data-type.rbl +0 -8
- data/doc/en/cairo-path-data-type.rd +0 -16
- data/doc/en/cairo-path-data-type.rdc +0 -16
- data/doc/en/cairo-path-data.rbl +0 -17
- data/doc/en/cairo-path-data.rd +0 -62
- data/doc/en/cairo-path-data.rdc +0 -62
- data/doc/en/cairo-path-line-to.rbl +0 -6
- data/doc/en/cairo-path-line-to.rd +0 -21
- data/doc/en/cairo-path-line-to.rdc +0 -21
- data/doc/en/cairo-path-move-to.rbl +0 -6
- data/doc/en/cairo-path-move-to.rd +0 -21
- data/doc/en/cairo-path-move-to.rdc +0 -21
- data/doc/en/cairo-path.rbl +0 -32
- data/doc/en/cairo-path.rd +0 -109
- data/doc/en/cairo-path.rdc +0 -109
- data/doc/en/cairo-pattern-type-mismatch-error.rd +0 -17
- data/doc/en/cairo-pattern.rbl +0 -17
- data/doc/en/cairo-pattern.rd +0 -62
- data/doc/en/cairo-pattern.rdc +0 -62
- data/doc/en/cairo-pdf-surface.rbl +0 -8
- data/doc/en/cairo-pdf-surface.rd +0 -27
- data/doc/en/cairo-pdf-surface.rdc +0 -27
- data/doc/en/cairo-point.rbl +0 -12
- data/doc/en/cairo-point.rd +0 -42
- data/doc/en/cairo-point.rdc +0 -42
- data/doc/en/cairo-ps-level.rd +0 -24
- data/doc/en/cairo-ps-surface.rbl +0 -15
- data/doc/en/cairo-ps-surface.rd +0 -55
- data/doc/en/cairo-ps-surface.rdc +0 -55
- data/doc/en/cairo-quartz-image-surface.rd +0 -27
- data/doc/en/cairo-quartz-surface.rbl +0 -8
- data/doc/en/cairo-quartz-surface.rd +0 -27
- data/doc/en/cairo-quartz-surface.rdc +0 -27
- data/doc/en/cairo-radial-pattern.rd +0 -28
- data/doc/en/cairo-read-error.rd +0 -17
- data/doc/en/cairo-rectangle.rbl +0 -15
- data/doc/en/cairo-rectangle.rd +0 -54
- data/doc/en/cairo-rectangle.rdc +0 -54
- data/doc/en/cairo-scaled-font.rd +0 -50
- data/doc/en/cairo-solid-pattern.rd +0 -31
- data/doc/en/cairo-subpixel-order.rbl +0 -9
- data/doc/en/cairo-subpixel-order.rd +0 -17
- data/doc/en/cairo-subpixel-order.rdc +0 -17
- data/doc/en/cairo-surface-finished-error.rbl +0 -4
- data/doc/en/cairo-surface-finished-error.rd +0 -17
- data/doc/en/cairo-surface-finished-error.rdc +0 -17
- data/doc/en/cairo-surface-pattern.rbl +0 -8
- data/doc/en/cairo-surface-pattern.rd +0 -27
- data/doc/en/cairo-surface-pattern.rdc +0 -27
- data/doc/en/cairo-surface-type-mismatch-error.rd +0 -17
- data/doc/en/cairo-surface.rbl +0 -19
- data/doc/en/cairo-surface.rd +0 -72
- data/doc/en/cairo-surface.rdc +0 -72
- data/doc/en/cairo-svg-surface.rd +0 -44
- data/doc/en/cairo-svg-version.rbl +0 -9
- data/doc/en/cairo-svg-version.rd +0 -24
- data/doc/en/cairo-svg-version.rdc +0 -24
- data/doc/en/cairo-temp-file-error.rd +0 -17
- data/doc/en/cairo-text-extents.rd +0 -44
- data/doc/en/cairo-win32-printing-surface.rd +0 -27
- data/doc/en/cairo-win32-surface.rd +0 -31
- data/doc/en/cairo-write-error.rd +0 -17
- data/doc/en/cairo.rbl +0 -80
- data/doc/en/cairo.rd +0 -95
- data/doc/en/cairo.rdc +0 -95
- data/doc/en/index.rbl +0 -1
- data/doc/en/index.rd +0 -1051
- data/doc/en/index.rdc +0 -1051
- data/samples/agg/aa_demo.rb +0 -47
- data/src/lib/cairo/table.rb +0 -29
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
require 'cairo'
|
|
2
|
+
|
|
3
|
+
class FontOptionsTest < Test::Unit::TestCase
|
|
4
|
+
include CairoTestUtils
|
|
5
|
+
|
|
6
|
+
def setup
|
|
7
|
+
@options = Cairo::FontOptions.new
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
def test_lcd_filter
|
|
11
|
+
only_cairo_version(1, 7, 2)
|
|
12
|
+
|
|
13
|
+
assert_equal(Cairo::LCDFilter::DEFAULT, @options.lcd_filter)
|
|
14
|
+
@options.lcd_filter = :fir3
|
|
15
|
+
assert_equal(Cairo::LCDFilter::FIR3, @options.lcd_filter)
|
|
16
|
+
|
|
17
|
+
assert_invalid_lcd_filter(Cairo::LCDFilter::DEFAULT - 1)
|
|
18
|
+
assert_invalid_lcd_filter(Cairo::LCDFilter::FIR5 + 1)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def assert_invalid_lcd_filter(value)
|
|
22
|
+
options = Cairo::FontOptions.new
|
|
23
|
+
exception = assert_raise(ArgumentError) do
|
|
24
|
+
options.lcd_filter = value
|
|
25
|
+
end
|
|
26
|
+
min = Cairo::LCDFilter::DEFAULT
|
|
27
|
+
max = Cairo::LCDFilter::FIR5
|
|
28
|
+
assert_equal("invalid lcd_filter: #{value} " +
|
|
29
|
+
"(expect #{min} <= lcd_filter <= #{max})",
|
|
30
|
+
exception.message)
|
|
31
|
+
end
|
|
32
|
+
end
|
data/test/test_pkg_config.rb
CHANGED
|
@@ -51,8 +51,9 @@ class PkgConfigTest < Test::Unit::TestCase
|
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
def test_requires_private
|
|
54
|
-
assert_equal(["freetype2", "fontconfig", "libpng12",
|
|
55
|
-
"
|
|
54
|
+
assert_equal(["freetype2", "fontconfig", "libpng12",
|
|
55
|
+
"xcb", "xcb-render", "xcb-renderutil",
|
|
56
|
+
"xrender", "x11", "pixman-1"],
|
|
56
57
|
@cairo.requires_private)
|
|
57
58
|
end
|
|
58
59
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
require 'cairo'
|
|
2
|
+
require 'stringio'
|
|
3
|
+
|
|
4
|
+
class ScaledFontTest < Test::Unit::TestCase
|
|
5
|
+
include CairoTestUtils
|
|
6
|
+
|
|
7
|
+
def test_scale_matrix
|
|
8
|
+
only_cairo_version(1, 7, 2)
|
|
9
|
+
|
|
10
|
+
surface = Cairo::ImageSurface.new(100, 100)
|
|
11
|
+
context = Cairo::Context.new(surface)
|
|
12
|
+
scaled_font = context.scaled_font
|
|
13
|
+
|
|
14
|
+
assert_equal(Cairo::Matrix.new(10.0, 0.0, 0.0,
|
|
15
|
+
10.0, 0.0, 0.0),
|
|
16
|
+
scaled_font.scale_matrix)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def test_text_to_glyphs
|
|
20
|
+
only_cairo_version(1, 7, 2)
|
|
21
|
+
|
|
22
|
+
surface = Cairo::PDFSurface.new(StringIO.new, 10, 10)
|
|
23
|
+
context = Cairo::Context.new(surface)
|
|
24
|
+
scaled_font = Cairo::ScaledFont.new(context.font_face,
|
|
25
|
+
Cairo::Matrix.identity,
|
|
26
|
+
Cairo::Matrix.identity,
|
|
27
|
+
Cairo::FontOptions.new)
|
|
28
|
+
expected_glyphs = []
|
|
29
|
+
expected_clusters = []
|
|
30
|
+
expected_backward = false
|
|
31
|
+
assert_equal([expected_glyphs, expected_clusters, expected_backward],
|
|
32
|
+
scaled_font.text_to_glyphs(0, 0, "text"))
|
|
33
|
+
end
|
|
34
|
+
end
|
data/test/test_surface.rb
CHANGED
|
@@ -2,6 +2,8 @@ require 'cairo'
|
|
|
2
2
|
require 'stringio'
|
|
3
3
|
|
|
4
4
|
class SurfaceTest < Test::Unit::TestCase
|
|
5
|
+
include CairoTestUtils
|
|
6
|
+
|
|
5
7
|
def test_new
|
|
6
8
|
output = StringIO.new
|
|
7
9
|
surface = Cairo::PDFSurface.new(output, 10, 10)
|
|
@@ -25,4 +27,15 @@ class SurfaceTest < Test::Unit::TestCase
|
|
|
25
27
|
end
|
|
26
28
|
end
|
|
27
29
|
end
|
|
30
|
+
|
|
31
|
+
def test_fallback_resolution
|
|
32
|
+
only_cairo_version(1, 7, 2)
|
|
33
|
+
|
|
34
|
+
surface = Cairo::ImageSurface.new(100, 100)
|
|
35
|
+
|
|
36
|
+
assert_equal([300.0, 300.0], surface.fallback_resolution)
|
|
37
|
+
|
|
38
|
+
surface.set_fallback_resolution(95, 95)
|
|
39
|
+
assert_equal([95.0, 95.0], surface.fallback_resolution)
|
|
40
|
+
end
|
|
28
41
|
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
require 'cairo'
|
|
2
|
+
|
|
3
|
+
class TextClusterTest < Test::Unit::TestCase
|
|
4
|
+
include CairoTestUtils
|
|
5
|
+
|
|
6
|
+
def test_new
|
|
7
|
+
only_cairo_version(1, 7, 2)
|
|
8
|
+
|
|
9
|
+
cluster = Cairo::TextCluster.new(2, 3)
|
|
10
|
+
assert_equal([2, 3], [cluster.num_bytes, cluster.num_glyphs])
|
|
11
|
+
assert_equal("#<Cairo::TextCluster: num_bytes=2, num_glyphs=3>",
|
|
12
|
+
cluster.to_s)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def test_accessor
|
|
16
|
+
only_cairo_version(1, 7, 2)
|
|
17
|
+
|
|
18
|
+
cluster = Cairo::TextCluster.new(5, 7)
|
|
19
|
+
assert_equal([5, 7], [cluster.num_bytes, cluster.num_glyphs])
|
|
20
|
+
cluster.num_bytes = 1
|
|
21
|
+
cluster.num_glyphs = 2
|
|
22
|
+
assert_equal([1, 2], [cluster.num_bytes, cluster.num_glyphs])
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def test_to_s
|
|
26
|
+
only_cairo_version(1, 7, 2)
|
|
27
|
+
|
|
28
|
+
cluster = Cairo::TextCluster.new(9, 1)
|
|
29
|
+
assert_equal("#<Cairo::TextCluster: num_bytes=9, num_glyphs=1>",
|
|
30
|
+
cluster.to_s)
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
require 'cairo'
|
|
2
|
+
|
|
3
|
+
class TextExtentsTest < Test::Unit::TestCase
|
|
4
|
+
include CairoTestUtils
|
|
5
|
+
|
|
6
|
+
def test_new
|
|
7
|
+
extents = Cairo::TextExtents.new
|
|
8
|
+
assert_equal([0.0, -1.0, 0.0, 1.0, 1.0, 0.0],
|
|
9
|
+
[extents.x_bearing, extents.y_bearing,
|
|
10
|
+
extents.width, extents.height,
|
|
11
|
+
extents.x_advance, extents.y_advance])
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def test_accessor
|
|
15
|
+
extents = Cairo::TextExtents.new
|
|
16
|
+
extents.x_bearing = 0.1
|
|
17
|
+
extents.y_bearing = 0.2
|
|
18
|
+
extents.width = 0.3
|
|
19
|
+
extents.height = 0.4
|
|
20
|
+
extents.x_advance = 0.5
|
|
21
|
+
extents.y_advance = 0.6
|
|
22
|
+
assert_equal([0.1, 0.2, 0.3, 0.4, 0.5, 0.6],
|
|
23
|
+
[extents.x_bearing, extents.y_bearing,
|
|
24
|
+
extents.width, extents.height,
|
|
25
|
+
extents.x_advance, extents.y_advance])
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def test_to_s
|
|
29
|
+
extents = Cairo::TextExtents.new
|
|
30
|
+
extents.x_bearing = 0.1
|
|
31
|
+
extents.y_bearing = 0.2
|
|
32
|
+
extents.width = 0.3
|
|
33
|
+
extents.height = 0.4
|
|
34
|
+
extents.x_advance = 0.5
|
|
35
|
+
extents.y_advance = 0.6
|
|
36
|
+
assert_equal("#<Cairo::TextExtents: x_bearing=0.1, y_bearing=0.2, " +
|
|
37
|
+
"width=0.3, height=0.4, x_advance=0.5, y_advance=0.6>",
|
|
38
|
+
extents.to_s)
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
require 'cairo'
|
|
2
|
+
|
|
3
|
+
class TextToGlyphsDataTest < Test::Unit::TestCase
|
|
4
|
+
include CairoTestUtils
|
|
5
|
+
|
|
6
|
+
def test_new
|
|
7
|
+
only_cairo_version(1, 7, 2)
|
|
8
|
+
|
|
9
|
+
data = Cairo::UserFontFace::TextToGlyphsData.new(false, false, false)
|
|
10
|
+
assert_equal([false, false, false],
|
|
11
|
+
[data.need_glyphs?, data.need_clusters?, data.need_backward?])
|
|
12
|
+
|
|
13
|
+
data = Cairo::UserFontFace::TextToGlyphsData.new(true, false, false)
|
|
14
|
+
assert_equal([true, false, false],
|
|
15
|
+
[data.need_glyphs?, data.need_clusters?, data.need_backward?])
|
|
16
|
+
|
|
17
|
+
data = Cairo::UserFontFace::TextToGlyphsData.new(false, true, false)
|
|
18
|
+
assert_equal([false, true, false],
|
|
19
|
+
[data.need_glyphs?, data.need_clusters?, data.need_backward?])
|
|
20
|
+
|
|
21
|
+
data = Cairo::UserFontFace::TextToGlyphsData.new(false, false, true)
|
|
22
|
+
assert_equal([false, false, true],
|
|
23
|
+
[data.need_glyphs?, data.need_clusters?, data.need_backward?])
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def test_accessor
|
|
27
|
+
only_cairo_version(1, 7, 2)
|
|
28
|
+
|
|
29
|
+
data = Cairo::UserFontFace::TextToGlyphsData.new(true, true, true)
|
|
30
|
+
assert_equal([nil, nil, false],
|
|
31
|
+
[data.glyphs, data.clusters, data.backward?])
|
|
32
|
+
|
|
33
|
+
glyph = Cairo::Glyph.new(0, 5, 10)
|
|
34
|
+
data.glyphs = [glyph]
|
|
35
|
+
assert_equal([[glyph], nil, false],
|
|
36
|
+
[data.glyphs, data.clusters, data.backward?])
|
|
37
|
+
|
|
38
|
+
cluster = Cairo::TextCluster.new(0, 1)
|
|
39
|
+
data.clusters = [cluster]
|
|
40
|
+
assert_equal([[glyph], [cluster], false],
|
|
41
|
+
[data.glyphs, data.clusters, data.backward?])
|
|
42
|
+
|
|
43
|
+
data.backward = true
|
|
44
|
+
assert_equal([[glyph], [cluster], true],
|
|
45
|
+
[data.glyphs, data.clusters, data.backward?])
|
|
46
|
+
end
|
|
47
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cairo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Evan Marin
|
|
@@ -12,7 +12,7 @@ autorequire:
|
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
14
|
|
|
15
|
-
date: 2008-
|
|
15
|
+
date: 2008-08-17 00:00:00 +09:00
|
|
16
16
|
default_executable:
|
|
17
17
|
dependencies: []
|
|
18
18
|
|
|
@@ -35,216 +35,108 @@ files:
|
|
|
35
35
|
- Rakefile
|
|
36
36
|
- doc/doc.css
|
|
37
37
|
- doc/en/cairo-antialias.html
|
|
38
|
-
- doc/en/cairo-antialias.rbl
|
|
39
|
-
- doc/en/cairo-antialias.rd
|
|
40
|
-
- doc/en/cairo-antialias.rdc
|
|
41
38
|
- doc/en/cairo-clip-not-representable-error.html
|
|
42
|
-
- doc/en/cairo-clip-not-representable-error.rbl
|
|
43
|
-
- doc/en/cairo-clip-not-representable-error.rd
|
|
44
|
-
- doc/en/cairo-clip-not-representable-error.rdc
|
|
45
39
|
- doc/en/cairo-color-base.html
|
|
46
|
-
- doc/en/cairo-color-base.rbl
|
|
47
|
-
- doc/en/cairo-color-base.rd
|
|
48
|
-
- doc/en/cairo-color-base.rdc
|
|
49
40
|
- doc/en/cairo-color-cmyk.html
|
|
50
|
-
- doc/en/cairo-color-
|
|
51
|
-
- doc/en/cairo-color-
|
|
52
|
-
- doc/en/cairo-color-
|
|
53
|
-
- doc/en/cairo-color
|
|
54
|
-
- doc/en/cairo-
|
|
55
|
-
- doc/en/cairo-
|
|
56
|
-
- doc/en/cairo-
|
|
57
|
-
- doc/en/cairo-
|
|
58
|
-
- doc/en/cairo-context-
|
|
59
|
-
- doc/en/cairo-context-circle.rd
|
|
60
|
-
- doc/en/cairo-context-color.rd
|
|
61
|
-
- doc/en/cairo-context-path.rd
|
|
41
|
+
- doc/en/cairo-color-hsv.html
|
|
42
|
+
- doc/en/cairo-color-rgb.html
|
|
43
|
+
- doc/en/cairo-color-x11.html
|
|
44
|
+
- doc/en/cairo-color.html
|
|
45
|
+
- doc/en/cairo-content.html
|
|
46
|
+
- doc/en/cairo-context-blur.html
|
|
47
|
+
- doc/en/cairo-context-circle.html
|
|
48
|
+
- doc/en/cairo-context-color.html
|
|
49
|
+
- doc/en/cairo-context-path.html
|
|
62
50
|
- doc/en/cairo-context-rectangle.html
|
|
63
|
-
- doc/en/cairo-context-
|
|
64
|
-
- doc/en/cairo-context-rectangle.rd
|
|
65
|
-
- doc/en/cairo-context-rectangle.rdc
|
|
66
|
-
- doc/en/cairo-context-triangle.rd
|
|
51
|
+
- doc/en/cairo-context-triangle.html
|
|
67
52
|
- doc/en/cairo-context.html
|
|
68
|
-
- doc/en/cairo-
|
|
69
|
-
- doc/en/cairo-
|
|
70
|
-
- doc/en/cairo-context.rdc
|
|
71
|
-
- doc/en/cairo-error.rd
|
|
72
|
-
- doc/en/cairo-extend.rd
|
|
53
|
+
- doc/en/cairo-error.html
|
|
54
|
+
- doc/en/cairo-extend.html
|
|
73
55
|
- doc/en/cairo-file-not-found.html
|
|
74
|
-
- doc/en/cairo-
|
|
75
|
-
- doc/en/cairo-file-not-found.rd
|
|
76
|
-
- doc/en/cairo-file-not-found.rdc
|
|
77
|
-
- doc/en/cairo-fill-rule.rd
|
|
56
|
+
- doc/en/cairo-fill-rule.html
|
|
78
57
|
- doc/en/cairo-filter.html
|
|
79
|
-
- doc/en/cairo-
|
|
80
|
-
- doc/en/cairo-
|
|
81
|
-
- doc/en/cairo-
|
|
82
|
-
- doc/en/cairo-font-extents.rd
|
|
83
|
-
- doc/en/cairo-font-face.rd
|
|
84
|
-
- doc/en/cairo-font-options.rd
|
|
58
|
+
- doc/en/cairo-font-extents.html
|
|
59
|
+
- doc/en/cairo-font-face.html
|
|
60
|
+
- doc/en/cairo-font-options.html
|
|
85
61
|
- doc/en/cairo-font-slant.html
|
|
86
|
-
- doc/en/cairo-font-
|
|
87
|
-
- doc/en/cairo-font-slant.rd
|
|
88
|
-
- doc/en/cairo-font-slant.rdc
|
|
62
|
+
- doc/en/cairo-font-type-mismatch.html
|
|
89
63
|
- doc/en/cairo-font-weight.html
|
|
90
|
-
- doc/en/cairo-font-weight.rbl
|
|
91
|
-
- doc/en/cairo-font-weight.rd
|
|
92
|
-
- doc/en/cairo-font-weight.rdc
|
|
93
64
|
- doc/en/cairo-format.html
|
|
94
|
-
- doc/en/cairo-
|
|
95
|
-
- doc/en/cairo-
|
|
96
|
-
- doc/en/cairo-
|
|
97
|
-
- doc/en/cairo-glyph.rd
|
|
98
|
-
- doc/en/cairo-gradient-pattern.rd
|
|
99
|
-
- doc/en/cairo-hint-metrics.rd
|
|
65
|
+
- doc/en/cairo-glyph.html
|
|
66
|
+
- doc/en/cairo-gradient-pattern.html
|
|
67
|
+
- doc/en/cairo-hint-metrics.html
|
|
100
68
|
- doc/en/cairo-hint-style.html
|
|
101
|
-
- doc/en/cairo-
|
|
102
|
-
- doc/en/cairo-
|
|
103
|
-
- doc/en/cairo-
|
|
104
|
-
- doc/en/cairo-image-surface.rd
|
|
105
|
-
- doc/en/cairo-invalid-content-error.rd
|
|
69
|
+
- doc/en/cairo-image-surface.html
|
|
70
|
+
- doc/en/cairo-invalid-clusters.html
|
|
71
|
+
- doc/en/cairo-invalid-content-error.html
|
|
106
72
|
- doc/en/cairo-invalid-dash-error.html
|
|
107
|
-
- doc/en/cairo-invalid-
|
|
108
|
-
- doc/en/cairo-invalid-
|
|
109
|
-
- doc/en/cairo-invalid-
|
|
110
|
-
- doc/en/cairo-invalid-dsc-comment-error.rd
|
|
111
|
-
- doc/en/cairo-invalid-format-error.rd
|
|
112
|
-
- doc/en/cairo-invalid-index-error.rd
|
|
73
|
+
- doc/en/cairo-invalid-dsc-comment-error.html
|
|
74
|
+
- doc/en/cairo-invalid-format-error.html
|
|
75
|
+
- doc/en/cairo-invalid-index-error.html
|
|
113
76
|
- doc/en/cairo-invalid-matrix-error.html
|
|
114
|
-
- doc/en/cairo-invalid-
|
|
115
|
-
- doc/en/cairo-invalid-matrix-error.rd
|
|
116
|
-
- doc/en/cairo-invalid-matrix-error.rdc
|
|
117
|
-
- doc/en/cairo-invalid-path-data-error.rd
|
|
77
|
+
- doc/en/cairo-invalid-path-data-error.html
|
|
118
78
|
- doc/en/cairo-invalid-pop-group-error.html
|
|
119
|
-
- doc/en/cairo-invalid-
|
|
120
|
-
- doc/en/cairo-invalid-
|
|
121
|
-
- doc/en/cairo-invalid-
|
|
122
|
-
- doc/en/cairo-invalid-restore-error.rd
|
|
123
|
-
- doc/en/cairo-invalid-status-error.rd
|
|
79
|
+
- doc/en/cairo-invalid-restore-error.html
|
|
80
|
+
- doc/en/cairo-invalid-slant.html
|
|
81
|
+
- doc/en/cairo-invalid-status-error.html
|
|
124
82
|
- doc/en/cairo-invalid-stride-error.html
|
|
125
|
-
- doc/en/cairo-invalid-
|
|
126
|
-
- doc/en/cairo-invalid-
|
|
127
|
-
- doc/en/cairo-invalid-
|
|
128
|
-
- doc/en/cairo-
|
|
129
|
-
- doc/en/cairo-
|
|
130
|
-
- doc/en/cairo-line-
|
|
131
|
-
- doc/en/cairo-
|
|
132
|
-
- doc/en/cairo-
|
|
133
|
-
- doc/en/cairo-
|
|
134
|
-
- doc/en/cairo-no-current-point-error.
|
|
83
|
+
- doc/en/cairo-invalid-string-error.html
|
|
84
|
+
- doc/en/cairo-invalid-visual-error.html
|
|
85
|
+
- doc/en/cairo-invalid-weight.html
|
|
86
|
+
- doc/en/cairo-lcd-filter.html
|
|
87
|
+
- doc/en/cairo-line-cap.html
|
|
88
|
+
- doc/en/cairo-line-join.html
|
|
89
|
+
- doc/en/cairo-linear-pattern.html
|
|
90
|
+
- doc/en/cairo-matrix.html
|
|
91
|
+
- doc/en/cairo-negative-count.html
|
|
92
|
+
- doc/en/cairo-no-current-point-error.html
|
|
135
93
|
- doc/en/cairo-null-pointer-error.html
|
|
136
|
-
- doc/en/cairo-null-pointer-error.rbl
|
|
137
|
-
- doc/en/cairo-null-pointer-error.rd
|
|
138
|
-
- doc/en/cairo-null-pointer-error.rdc
|
|
139
94
|
- doc/en/cairo-operator.html
|
|
140
|
-
- doc/en/cairo-operator.rbl
|
|
141
|
-
- doc/en/cairo-operator.rd
|
|
142
|
-
- doc/en/cairo-operator.rdc
|
|
143
95
|
- doc/en/cairo-paper-parse-error.html
|
|
144
|
-
- doc/en/cairo-paper-
|
|
145
|
-
- doc/en/cairo-paper-
|
|
146
|
-
- doc/en/cairo-paper-parse-error.rdc
|
|
147
|
-
- doc/en/cairo-paper-unknown-paper-name.rd
|
|
148
|
-
- doc/en/cairo-paper-unknown-unit.rd
|
|
96
|
+
- doc/en/cairo-paper-unknown-paper-name.html
|
|
97
|
+
- doc/en/cairo-paper-unknown-unit.html
|
|
149
98
|
- doc/en/cairo-paper-unrecognized-paper-description.html
|
|
150
|
-
- doc/en/cairo-paper-unrecognized-paper-description.rbl
|
|
151
|
-
- doc/en/cairo-paper-unrecognized-paper-description.rd
|
|
152
|
-
- doc/en/cairo-paper-unrecognized-paper-description.rdc
|
|
153
99
|
- doc/en/cairo-paper.html
|
|
154
|
-
- doc/en/cairo-
|
|
155
|
-
- doc/en/cairo-paper.rd
|
|
156
|
-
- doc/en/cairo-paper.rdc
|
|
157
|
-
- doc/en/cairo-path-close-path.rd
|
|
100
|
+
- doc/en/cairo-path-close-path.html
|
|
158
101
|
- doc/en/cairo-path-curve-to.html
|
|
159
|
-
- doc/en/cairo-path-curve-to.rbl
|
|
160
|
-
- doc/en/cairo-path-curve-to.rd
|
|
161
|
-
- doc/en/cairo-path-curve-to.rdc
|
|
162
102
|
- doc/en/cairo-path-data-type.html
|
|
163
|
-
- doc/en/cairo-path-data-type.rbl
|
|
164
|
-
- doc/en/cairo-path-data-type.rd
|
|
165
|
-
- doc/en/cairo-path-data-type.rdc
|
|
166
103
|
- doc/en/cairo-path-data.html
|
|
167
|
-
- doc/en/cairo-path-data.rbl
|
|
168
|
-
- doc/en/cairo-path-data.rd
|
|
169
|
-
- doc/en/cairo-path-data.rdc
|
|
170
104
|
- doc/en/cairo-path-line-to.html
|
|
171
|
-
- doc/en/cairo-path-line-to.rbl
|
|
172
|
-
- doc/en/cairo-path-line-to.rd
|
|
173
|
-
- doc/en/cairo-path-line-to.rdc
|
|
174
105
|
- doc/en/cairo-path-move-to.html
|
|
175
|
-
- doc/en/cairo-path-move-to.rbl
|
|
176
|
-
- doc/en/cairo-path-move-to.rd
|
|
177
|
-
- doc/en/cairo-path-move-to.rdc
|
|
178
106
|
- doc/en/cairo-path.html
|
|
179
|
-
- doc/en/cairo-
|
|
180
|
-
- doc/en/cairo-path.rd
|
|
181
|
-
- doc/en/cairo-path.rdc
|
|
182
|
-
- doc/en/cairo-pattern-type-mismatch-error.rd
|
|
107
|
+
- doc/en/cairo-pattern-type-mismatch-error.html
|
|
183
108
|
- doc/en/cairo-pattern.html
|
|
184
|
-
- doc/en/cairo-pattern.rbl
|
|
185
|
-
- doc/en/cairo-pattern.rd
|
|
186
|
-
- doc/en/cairo-pattern.rdc
|
|
187
109
|
- doc/en/cairo-pdf-surface.html
|
|
188
|
-
- doc/en/cairo-pdf-surface.rbl
|
|
189
|
-
- doc/en/cairo-pdf-surface.rd
|
|
190
|
-
- doc/en/cairo-pdf-surface.rdc
|
|
191
110
|
- doc/en/cairo-point.html
|
|
192
|
-
- doc/en/cairo-
|
|
193
|
-
- doc/en/cairo-point.rd
|
|
194
|
-
- doc/en/cairo-point.rdc
|
|
195
|
-
- doc/en/cairo-ps-level.rd
|
|
111
|
+
- doc/en/cairo-ps-level.html
|
|
196
112
|
- doc/en/cairo-ps-surface.html
|
|
197
|
-
- doc/en/cairo-
|
|
198
|
-
- doc/en/cairo-ps-surface.rd
|
|
199
|
-
- doc/en/cairo-ps-surface.rdc
|
|
200
|
-
- doc/en/cairo-quartz-image-surface.rd
|
|
113
|
+
- doc/en/cairo-quartz-image-surface.html
|
|
201
114
|
- doc/en/cairo-quartz-surface.html
|
|
202
|
-
- doc/en/cairo-
|
|
203
|
-
- doc/en/cairo-
|
|
204
|
-
- doc/en/cairo-quartz-surface.rdc
|
|
205
|
-
- doc/en/cairo-radial-pattern.rd
|
|
206
|
-
- doc/en/cairo-read-error.rd
|
|
115
|
+
- doc/en/cairo-radial-pattern.html
|
|
116
|
+
- doc/en/cairo-read-error.html
|
|
207
117
|
- doc/en/cairo-rectangle.html
|
|
208
|
-
- doc/en/cairo-
|
|
209
|
-
- doc/en/cairo-
|
|
210
|
-
- doc/en/cairo-rectangle.rdc
|
|
211
|
-
- doc/en/cairo-scaled-font.rd
|
|
212
|
-
- doc/en/cairo-solid-pattern.rd
|
|
118
|
+
- doc/en/cairo-scaled-font.html
|
|
119
|
+
- doc/en/cairo-solid-pattern.html
|
|
213
120
|
- doc/en/cairo-subpixel-order.html
|
|
214
|
-
- doc/en/cairo-subpixel-order.rbl
|
|
215
|
-
- doc/en/cairo-subpixel-order.rd
|
|
216
|
-
- doc/en/cairo-subpixel-order.rdc
|
|
217
121
|
- doc/en/cairo-surface-finished-error.html
|
|
218
|
-
- doc/en/cairo-surface-finished-error.rbl
|
|
219
|
-
- doc/en/cairo-surface-finished-error.rd
|
|
220
|
-
- doc/en/cairo-surface-finished-error.rdc
|
|
221
122
|
- doc/en/cairo-surface-pattern.html
|
|
222
|
-
- doc/en/cairo-surface-
|
|
223
|
-
- doc/en/cairo-surface-pattern.rd
|
|
224
|
-
- doc/en/cairo-surface-pattern.rdc
|
|
225
|
-
- doc/en/cairo-surface-type-mismatch-error.rd
|
|
123
|
+
- doc/en/cairo-surface-type-mismatch-error.html
|
|
226
124
|
- doc/en/cairo-surface.html
|
|
227
|
-
- doc/en/cairo-surface.
|
|
228
|
-
- doc/en/cairo-surface.rd
|
|
229
|
-
- doc/en/cairo-surface.rdc
|
|
230
|
-
- doc/en/cairo-svg-surface.rd
|
|
125
|
+
- doc/en/cairo-svg-surface.html
|
|
231
126
|
- doc/en/cairo-svg-version.html
|
|
232
|
-
- doc/en/cairo-
|
|
233
|
-
- doc/en/cairo-
|
|
234
|
-
- doc/en/cairo-
|
|
235
|
-
- doc/en/cairo-
|
|
236
|
-
- doc/en/cairo-
|
|
237
|
-
- doc/en/cairo-
|
|
238
|
-
- doc/en/cairo-
|
|
239
|
-
- doc/en/cairo-
|
|
127
|
+
- doc/en/cairo-temp-file-error.html
|
|
128
|
+
- doc/en/cairo-text-cluster.html
|
|
129
|
+
- doc/en/cairo-text-extents.html
|
|
130
|
+
- doc/en/cairo-toy-font-face.html
|
|
131
|
+
- doc/en/cairo-user-font-error.html
|
|
132
|
+
- doc/en/cairo-user-font-face-text-to-glyphs-data.html
|
|
133
|
+
- doc/en/cairo-user-font-face.html
|
|
134
|
+
- doc/en/cairo-user-font-immutable.html
|
|
135
|
+
- doc/en/cairo-win32-printing-surface.html
|
|
136
|
+
- doc/en/cairo-win32-surface.html
|
|
137
|
+
- doc/en/cairo-write-error.html
|
|
240
138
|
- doc/en/cairo.html
|
|
241
|
-
- doc/en/cairo.rbl
|
|
242
|
-
- doc/en/cairo.rd
|
|
243
|
-
- doc/en/cairo.rdc
|
|
244
139
|
- doc/en/index.html
|
|
245
|
-
- doc/en/index.rbl
|
|
246
|
-
- doc/en/index.rd
|
|
247
|
-
- doc/en/index.rdc
|
|
248
140
|
- doc/index.html
|
|
249
141
|
- doc/ja/cairo-antialias.html
|
|
250
142
|
- doc/ja/cairo-clip-not-representable-error.html
|
|
@@ -271,6 +163,7 @@ files:
|
|
|
271
163
|
- doc/ja/cairo-font-face.html
|
|
272
164
|
- doc/ja/cairo-font-options.html
|
|
273
165
|
- doc/ja/cairo-font-slant.html
|
|
166
|
+
- doc/ja/cairo-font-type-mismatch.html
|
|
274
167
|
- doc/ja/cairo-font-weight.html
|
|
275
168
|
- doc/ja/cairo-format.html
|
|
276
169
|
- doc/ja/cairo-glyph.html
|
|
@@ -278,6 +171,7 @@ files:
|
|
|
278
171
|
- doc/ja/cairo-hint-metrics.html
|
|
279
172
|
- doc/ja/cairo-hint-style.html
|
|
280
173
|
- doc/ja/cairo-image-surface.html
|
|
174
|
+
- doc/ja/cairo-invalid-clusters.html
|
|
281
175
|
- doc/ja/cairo-invalid-content-error.html
|
|
282
176
|
- doc/ja/cairo-invalid-dash-error.html
|
|
283
177
|
- doc/ja/cairo-invalid-dsc-comment-error.html
|
|
@@ -287,14 +181,18 @@ files:
|
|
|
287
181
|
- doc/ja/cairo-invalid-path-data-error.html
|
|
288
182
|
- doc/ja/cairo-invalid-pop-group-error.html
|
|
289
183
|
- doc/ja/cairo-invalid-restore-error.html
|
|
184
|
+
- doc/ja/cairo-invalid-slant.html
|
|
290
185
|
- doc/ja/cairo-invalid-status-error.html
|
|
291
186
|
- doc/ja/cairo-invalid-stride-error.html
|
|
292
187
|
- doc/ja/cairo-invalid-string-error.html
|
|
293
188
|
- doc/ja/cairo-invalid-visual-error.html
|
|
189
|
+
- doc/ja/cairo-invalid-weight.html
|
|
190
|
+
- doc/ja/cairo-lcd-filter.html
|
|
294
191
|
- doc/ja/cairo-line-cap.html
|
|
295
192
|
- doc/ja/cairo-line-join.html
|
|
296
193
|
- doc/ja/cairo-linear-pattern.html
|
|
297
194
|
- doc/ja/cairo-matrix.html
|
|
195
|
+
- doc/ja/cairo-negative-count.html
|
|
298
196
|
- doc/ja/cairo-no-current-point-error.html
|
|
299
197
|
- doc/ja/cairo-null-pointer-error.html
|
|
300
198
|
- doc/ja/cairo-operator.html
|
|
@@ -331,7 +229,13 @@ files:
|
|
|
331
229
|
- doc/ja/cairo-svg-surface.html
|
|
332
230
|
- doc/ja/cairo-svg-version.html
|
|
333
231
|
- doc/ja/cairo-temp-file-error.html
|
|
232
|
+
- doc/ja/cairo-text-cluster.html
|
|
334
233
|
- doc/ja/cairo-text-extents.html
|
|
234
|
+
- doc/ja/cairo-toy-font-face.html
|
|
235
|
+
- doc/ja/cairo-user-font-error.html
|
|
236
|
+
- doc/ja/cairo-user-font-face-text-to-glyphs-data.html
|
|
237
|
+
- doc/ja/cairo-user-font-face.html
|
|
238
|
+
- doc/ja/cairo-user-font-immutable.html
|
|
335
239
|
- doc/ja/cairo-win32-printing-surface.html
|
|
336
240
|
- doc/ja/cairo-win32-surface.html
|
|
337
241
|
- doc/ja/cairo-write-error.html
|
|
@@ -341,7 +245,6 @@ files:
|
|
|
341
245
|
- misc/update-colors.rb
|
|
342
246
|
- pkg-config.rb
|
|
343
247
|
- samples/agg/README
|
|
344
|
-
- samples/agg/aa_demo.rb
|
|
345
248
|
- samples/agg/aa_test.rb
|
|
346
249
|
- samples/blur.rb
|
|
347
250
|
- samples/pac.rb
|
|
@@ -366,7 +269,6 @@ files:
|
|
|
366
269
|
- src/lib/cairo/papers.rb
|
|
367
270
|
- src/lib/cairo/path.rb
|
|
368
271
|
- src/lib/cairo/point.rb
|
|
369
|
-
- src/lib/cairo/table.rb
|
|
370
272
|
- src/rb_cairo.c
|
|
371
273
|
- src/rb_cairo.h
|
|
372
274
|
- src/rb_cairo_constants.c
|
|
@@ -383,11 +285,90 @@ files:
|
|
|
383
285
|
- src/rb_cairo_private.h
|
|
384
286
|
- src/rb_cairo_scaled_font.c
|
|
385
287
|
- src/rb_cairo_surface.c
|
|
288
|
+
- src/rb_cairo_text_cluster.c
|
|
386
289
|
- src/rb_cairo_text_extents.c
|
|
290
|
+
- test-unit/Rakefile
|
|
291
|
+
- test-unit/bin/testrb
|
|
292
|
+
- test-unit/lib/test/unit.rb
|
|
293
|
+
- test-unit/lib/test/unit/assertionfailederror.rb
|
|
294
|
+
- test-unit/lib/test/unit/assertions.rb
|
|
295
|
+
- test-unit/lib/test/unit/attribute.rb
|
|
296
|
+
- test-unit/lib/test/unit/autorunner.rb
|
|
297
|
+
- test-unit/lib/test/unit/collector.rb
|
|
298
|
+
- test-unit/lib/test/unit/collector/descendant.rb
|
|
299
|
+
- test-unit/lib/test/unit/collector/dir.rb
|
|
300
|
+
- test-unit/lib/test/unit/collector/load.rb
|
|
301
|
+
- test-unit/lib/test/unit/collector/objectspace.rb
|
|
302
|
+
- test-unit/lib/test/unit/color.rb
|
|
303
|
+
- test-unit/lib/test/unit/diff.rb
|
|
304
|
+
- test-unit/lib/test/unit/error.rb
|
|
305
|
+
- test-unit/lib/test/unit/exceptionhandler.rb
|
|
306
|
+
- test-unit/lib/test/unit/failure.rb
|
|
307
|
+
- test-unit/lib/test/unit/fixture.rb
|
|
308
|
+
- test-unit/lib/test/unit/notification.rb
|
|
309
|
+
- test-unit/lib/test/unit/omission.rb
|
|
310
|
+
- test-unit/lib/test/unit/pending.rb
|
|
311
|
+
- test-unit/lib/test/unit/priority.rb
|
|
312
|
+
- test-unit/lib/test/unit/runner/console.rb
|
|
313
|
+
- test-unit/lib/test/unit/runner/emacs.rb
|
|
314
|
+
- test-unit/lib/test/unit/testcase.rb
|
|
315
|
+
- test-unit/lib/test/unit/testresult.rb
|
|
316
|
+
- test-unit/lib/test/unit/testsuite.rb
|
|
317
|
+
- test-unit/lib/test/unit/ui/console/outputlevel.rb
|
|
318
|
+
- test-unit/lib/test/unit/ui/console/testrunner.rb
|
|
319
|
+
- test-unit/lib/test/unit/ui/emacs/testrunner.rb
|
|
320
|
+
- test-unit/lib/test/unit/ui/testrunner.rb
|
|
321
|
+
- test-unit/lib/test/unit/ui/testrunnermediator.rb
|
|
322
|
+
- test-unit/lib/test/unit/ui/testrunnerutilities.rb
|
|
323
|
+
- test-unit/lib/test/unit/util/backtracefilter.rb
|
|
324
|
+
- test-unit/lib/test/unit/util/observable.rb
|
|
325
|
+
- test-unit/lib/test/unit/util/procwrapper.rb
|
|
326
|
+
- test-unit/lib/test/unit/version.rb
|
|
327
|
+
- test-unit/sample/adder.rb
|
|
328
|
+
- test-unit/sample/subtracter.rb
|
|
329
|
+
- test-unit/sample/tc_adder.rb
|
|
330
|
+
- test-unit/sample/tc_subtracter.rb
|
|
331
|
+
- test-unit/sample/ts_examples.rb
|
|
332
|
+
- test-unit/test/collector/test_descendant.rb
|
|
333
|
+
- test-unit/test/collector/test_dir.rb
|
|
334
|
+
- test-unit/test/collector/test_load.rb
|
|
335
|
+
- test-unit/test/collector/test_objectspace.rb
|
|
336
|
+
- test-unit/test/run-test.rb
|
|
337
|
+
- test-unit/test/test_assertions.rb
|
|
338
|
+
- test-unit/test/test_attribute.rb
|
|
339
|
+
- test-unit/test/test_color.rb
|
|
340
|
+
- test-unit/test/test_diff.rb
|
|
341
|
+
- test-unit/test/test_emacs_runner.rb
|
|
342
|
+
- test-unit/test/test_error.rb
|
|
343
|
+
- test-unit/test/test_failure.rb
|
|
344
|
+
- test-unit/test/test_fixture.rb
|
|
345
|
+
- test-unit/test/test_notification.rb
|
|
346
|
+
- test-unit/test/test_omission.rb
|
|
347
|
+
- test-unit/test/test_pending.rb
|
|
348
|
+
- test-unit/test/test_priority.rb
|
|
349
|
+
- test-unit/test/test_testcase.rb
|
|
350
|
+
- test-unit/test/test_testresult.rb
|
|
351
|
+
- test-unit/test/test_testsuite.rb
|
|
352
|
+
- test-unit/test/testunit_test_util.rb
|
|
353
|
+
- test-unit/test/ui/test_testrunmediator.rb
|
|
354
|
+
- test-unit/test/util/test_backtracefilter.rb
|
|
355
|
+
- test-unit/test/util/test_observable.rb
|
|
356
|
+
- test-unit/test/util/test_procwrapper.rb
|
|
357
|
+
- test/cairo-test-utils.rb
|
|
387
358
|
- test/run-test.rb
|
|
359
|
+
- test/test_constants.rb
|
|
360
|
+
- test/test_context.rb
|
|
361
|
+
- test/test_exception.rb
|
|
362
|
+
- test/test_font_extents.rb
|
|
363
|
+
- test/test_font_face.rb
|
|
364
|
+
- test/test_font_options.rb
|
|
388
365
|
- test/test_paper.rb
|
|
389
366
|
- test/test_pkg_config.rb
|
|
367
|
+
- test/test_scaled_font.rb
|
|
390
368
|
- test/test_surface.rb
|
|
369
|
+
- test/test_text_cluster.rb
|
|
370
|
+
- test/test_text_extents.rb
|
|
371
|
+
- test/test_text_to_glyphs_data.rb
|
|
391
372
|
has_rdoc: false
|
|
392
373
|
homepage: http://cairographics.org/rcairo
|
|
393
374
|
post_install_message:
|