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

Provide (possibly stub) R 4.2 device callbacks (so as to stop R freezes/crashes) #185

Open
1 of 7 tasks
trevorld opened this issue Dec 15, 2024 · 0 comments
Open
1 of 7 tasks

Comments

@trevorld
Copy link
Contributor

trevorld commented Dec 15, 2024

The new graphics engine version requires that the graphics device provides the following new device callbacks:

  • defineGroup()
  • useGroup()
  • releaseGroup()
  • stroke()
  • fill()
  • fillStroke()
  • capabilities()

In each case, it is possible to provide a stub that does nothing. The graphics engine will call the device, but there will just be no output produced.

The postscript() graphics device provides a template for this approach. A graphics device package can model its device callbacks on functions like PS_defineGroup() in devPS.c.

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