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

As a developer I want the coordinates of merged metadata sections #26

Open
mjy opened this issue Jan 8, 2020 · 0 comments
Open

As a developer I want the coordinates of merged metadata sections #26

mjy opened this issue Jan 8, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@mjy
Copy link
Member

mjy commented Jan 8, 2020

Aquiring these metadata should be possible via some click-event. Provide coordinates (same format as per slide sections) for each "largest" section in an array something like:

{
  'a' => [ [first rect coords], [second rect coords] ],
  'b' => [ [third rect coords] ]
}

As a developer I need the coordinates of each metadata section according to the following:

  • If sections of the same type are adjacent and they form a rectangle, then they should be merged into a single rectangle.:

Screen Shot 2020-01-08 at 11 01 25 AM

  • If sections of the same type touch, but collectively form non-rectangular shapes, then they should be decomposed into rectangles by column:

Screen Shot 2020-01-08 at 11 01 19 AM

@mjy mjy added the enhancement New feature or request label Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant