Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
poppler
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 613
    • Issues 613
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 38
    • Merge Requests 38
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • poppler
  • poppler
  • Merge Requests
  • !551

Open
Opened May 12, 2020 by Enrico Lumetti@doppioandante
  • Report abuse
Report abuse

Expose PopplerAnnot in the glib interface

  • Overview 22
  • Commits 1
  • Pipelines 16
  • Changes 9

Don't review yet, it's very primitive at the moment. I'm opening it in case someone wants to have a look early.

Right now I can ink annotations made of single paths in the glib demo. The result is not pretty, because the path is drawn using the raw points from the ink list. One should use the appearance of the annotation to have a better result (including supporting different stroke widths). The updating approach in the demo is quite naive: every time a new point is registered, the whole ink list is recreated in the underlying annotation. It's a bit laggy, but actually not so bad.

EDIT 13 May: an option was added to enable drawing more than one path on the same ink annotation. I changed the logic of the demo so that one can input more than one annotation (even of non ink type). When finished, the user should press the "Done" button to return to MODE_NORMAL.

Edited Aug 21, 2020 by Albert Astals Cid
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: poppler/poppler!551
Source branch: ink_annotations