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

Create enums relevant for ExportConfiguration #263

Closed
IndrajeetPatil opened this issue May 11, 2022 · 0 comments
Closed

Create enums relevant for ExportConfiguration #263

IndrajeetPatil opened this issue May 11, 2022 · 0 comments

Comments

@IndrajeetPatil
Copy link
Member

In the following class:

ExportConfiguration$new(
  name = NULL,
  format = NULL,
  width = NULL,
  height = NULL,
  units = NULL,
  dpi = NULL
)

I am assuming the supported file formats are the same ones supported by ggplot2?

one of "eps", "ps", "tex" (pictex), "pdf", "jpeg", "tiff", "png", "bmp", "svg" or "wmf" (windows only)

If yes, I think we can create enum for the same.

Similarly, we can also create an enum for units specifying plot dimensions:

Plot size in units ("in", "cm", "mm", or "px")

pchelle added a commit to pchelle/TLF-Library that referenced this issue May 12, 2022
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