Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PDF output support #11

Open
bertyhell opened this issue Nov 23, 2024 · 0 comments
Open

Add PDF output support #11

bertyhell opened this issue Nov 23, 2024 · 0 comments

Comments

@bertyhell
Copy link
Owner

Recently i rewrote the drawing to canvas system to use a drawingController.
The specific implementation of drawing controller can now be chosen.
Currently the screenCanvasDrawingController exists.
But to support pdf, we could also add a pdfDrawingController that changes the functions of the DrawController interface to draw to a dpf file.

The required functions to implement are quite limited:

  • setLineStyles
  • clearCanvas
  • drawLine
  • drawArc
  • drawArrowHead
  • drawText
  • drawImage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant