Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C cairo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 333
    • Issues 333
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 41
    • Merge requests 41
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cairo
  • cairo
  • Merge requests
  • !21

Added hairline support to cairo

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rick Yorgason requested to merge Skrapion/cairo:HairlineStroke into master Apr 03, 2019
  • Overview 47
  • Commits 8
  • Pipelines 20
  • Changes 66

Added cairo_set_hairline function to represent zero-width lines which draw at the minimum device resolution.

Any device which accepts 0 as a hairline width (eg ps and pdf) and any device which relies on _cairo_compositor_stroke should work fine. Tested surfaces: ps, pdf, image, recording, script, xcb, xlib, win32, and win32-printing.

Edited Jul 25, 2019 by Rick Yorgason
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: HairlineStroke