Skip to content

Architecture Q-GUI Specific Implementations Commonality #2043

Answered by VisualMelon
tephyrnex asked this question in Q&A
Discussion options

You must be logged in to vote

I suspect these sorts of discussions just haven't happened, because the history of the platform specific code-bases is so fragmented. Probably not very useful, but here's a rambly discussion anyway:

Re. PndExporter specifically, I don't think you're missing anything; I suspect this just hasn't really been considered. As I see it, there isn't all that much duplication of logic, because the types involved (i.e. bitmaps and render contexts) are all different

  • Putting Width, Height, Resolution etc. into a super type would make sense
  • The existing static methods (including bizarre extension methods) could be shared if we expand the API, unless they are removed altogether (breaking change) I don…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tephyrnex
Comment options

@VisualMelon
Comment options

Answer selected by tephyrnex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants