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

%Ops table should be authoritative - No need for graphics traits or track-graphics multi method #1

Closed
dwarring opened this issue Oct 22, 2016 · 2 comments

Comments

@dwarring
Copy link
Contributor

I.e. refactor PDF::Content::Ops to be more like HTML::Canvas, which has everything in the one Op table.

dwarring added a commit that referenced this issue Oct 22, 2016
@dwarring
Copy link
Contributor Author

Attempted on branch op-refactor. But attempted conversion of Tm gives:
P6opaque: no such attribute '@!TextMatrix' in type PDF::Content::Ops when trying to get a value
in method at /home/david/git/perl6-PDF-Content/lib/PDF/Content/Ops.pm (PDF::Content::Ops) line 497
in method opn at /home/david/git/perl6-PDF-Content/lib/PDF/Content/Ops.pm (PDF::Content::Ops) line 569
in method op at /home/david/git/perl6-PDF-Content/lib/PDF/Content/Ops.pm (PDF::Content::Ops) line 577
in method at /home/david/git/perl6-PDF-Content/lib/PDF/Content/Ops.pm (PDF::Content::Ops) line 810
in method FALLBACK at /home/david/git/perl6-PDF-Content/lib/PDF/Content/Ops.pm (PDF::Content::Ops) line 822
in any at gen/moar/m-Metamodel.nqp line 3096
in sub at /home/david/git/perl6-PDF-Content/lib/PDF/Content/Ops.pm (PDF::Content::Ops) line 207
in block at t/ops.t line 100

@dwarring
Copy link
Contributor Author

Abandoning refactor at the moment.

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