{"id":16301479,"url":"https://github.com/timo/cairo-p6","last_synced_at":"2025-03-20T21:31:04.471Z","repository":{"id":17368033,"uuid":"20139867","full_name":"timo/cairo-p6","owner":"timo","description":"A NativeCall binding to the Cairo 2d graphics library for Perl 6","archived":false,"fork":false,"pushed_at":"2024-06-11T19:43:05.000Z","size":629,"stargazers_count":10,"open_issues_count":3,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-11T20:55:11.419Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Raku","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-24T21:18:13.000Z","updated_at":"2024-09-12T02:58:39.000Z","dependencies_parsed_at":"2024-06-11T23:44:47.555Z","dependency_job_id":null,"html_url":"https://github.com/timo/cairo-p6","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timo%2Fcairo-p6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timo%2Fcairo-p6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timo%2Fcairo-p6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timo%2Fcairo-p6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timo","download_url":"https://codeload.github.com/timo/cairo-p6/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244084260,"owners_count":20395516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T20:54:54.194Z","updated_at":"2025-03-20T21:31:03.967Z","avatar_url":"https://github.com/timo.png","language":"Raku","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cairo 2D Graphics library binding for Raku\n==========================================\n\nSynopsis\n--------\n\n```raku\nuse Cairo;\ngiven Cairo::Image.create(Cairo::FORMAT_ARGB32, 128, 128) {\n    given Cairo::Context.new($_) {\n        .rgb(0, 0.7, 0.9);\n        .rectangle(10, 10, 50, 50);\n        .fill :preserve; .rgb(1, 1, 1);\n        .stroke\n    };\n    .write_png(\"foobar.png\")\n}\n```\n\n\nNative Cairo library\n--------------\n\nIn order to use this module, native `Cairo` library is needed. See instructions at https://cairographics.org/download/.\n\n### Examples\n\ndoc/screenshot/arc-negative.png\n![arc-negative.png](doc/screenshot/arc-negative.png)\n\ndoc/screenshot/arc.png\n![arc.png](doc/screenshot/arc.png)\n\ndoc/screenshot/clip-image.png\n![clip-image.png](doc/screenshot/clip-image.png)\n\ndoc/screenshot/clip.png\n![clip.png](doc/screenshot/clip.png)\n\ndoc/screenshot/curve-rectangle.png\n![curve-rectangle.png](doc/screenshot/curve-rectangle.png)\n\n\n\ndoc/screenshot/curve_to.png\n![curve_to.png](doc/screenshot/curve_to.png)\n\ndoc/screenshot/dash.png\n![dash.png](doc/screenshot/dash.png)\n\ndoc/screenshot/fill-and-stroke.png\n![fill-and-stroke.png](doc/screenshot/fill-and-stroke.png)\n\ndoc/screenshot/fill-style.png\n![fill-style.png](doc/screenshot/fill-style.png)\n\ndoc/screenshot/gradient.png\n![gradient.png](doc/screenshot/gradient.png)\n\ndoc/screenshot/image-pattern.png\n![image-pattern.png](doc/screenshot/image-pattern.png)\n\ndoc/screenshot/image.png\n![image.png](doc/screenshot/image.png)\n\ndoc/screenshot/multi-page-pdf.pdf\n![multi-page-pdf.pdf](doc/screenshot/multi-page-pdf.pdf)\n\ndoc/screenshot/multi-segment-caps.png\n![multi-segment-caps.png](doc/screenshot/multi-segment-caps.png)\n\ndoc/screenshot/rounded-rectangle.png\n![rounded-rectangle.png](doc/screenshot/rounded-rectangle.png)\n\ndoc/screenshot/set-line-cap.png\n![set-line-cap.png](doc/screenshot/set-line-cap.png)\n\ndoc/screenshot/set-line-join.png\n![set-line-join.png](doc/screenshot/set-line-join.png)\n\ndoc/screenshot/svg-surface.svg\n![svg-surface.svg](doc/screenshot/svg-surface.svg)\n\ndoc/screenshot/text-align-center.png\n![text-align-center.png](doc/screenshot/text-align-center.png)\n\ndoc/screenshot/text-extents.png\n![text-extents.png](doc/screenshot/text-extents.png)\n\ndoc/screenshot/text.png\n![text.png](doc/screenshot/text.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimo%2Fcairo-p6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimo%2Fcairo-p6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimo%2Fcairo-p6/lists"}