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

CGM Viewer #3

Open
8rook opened this issue Aug 20, 2020 · 1 comment
Open

CGM Viewer #3

8rook opened this issue Aug 20, 2020 · 1 comment

Comments

@8rook
Copy link

8rook commented Aug 20, 2020

能实现CGM图形浏览吗?

@BhaaLseN
Copy link
Owner

Sorry, English only.

The library is mainly meant to show information from the CGM files as-is, to allow troubleshooting. It does not (yet) support drawing them nor has a standalone viewer application (but it might at some point in the distant future).

You can take a look at the draw-stuff branch which attempts to visualize the file, but it is far from complete (and rather unorganized at this point). However, all the information is there (technically in the CgmInfo folder with the MetafileReader to get your data; and specification-wise in ISO/IEC 8632-1) to know how to use those things to implement your own renderer.
You're welcome to submit a pull request if you want to look at this yourself, otherwise I'll keep this issue around until the branch reached a certain state and/or a viewer is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants