Skip to content

No lines displayed at all if the first coordinate is out of bounds #47

Description

@dedeibel

I have a sketch were nothing is display.

I have debugged the problem so far that apparently the first coordinate is "out of bounds". The correction logic of the rendering will ignore those coordinates.
But if the first coordinate is out of bounds it will see all the following coordinates as being out of bounds and therefore not draw anything.

I am currently working on a fix by looking at more than just the last and the current coordinate in order to make that decision.

Raw data

000095.000000: CLOCK          96
000096.000000: CLOCK          97
000097.000000: COORDINATE   1558.000000,      5.000000 skip
000097.006554: STROKE      START
000097.006554: COORDINATE    645.000000,  11059.000000 skip
000097.013107: PRESSURE       97.013107
000097.013107: TILT          217, 217
000097.013107: COORDINATE    646.000000,  11059.000000
000097.019661: PRESSURE       97.019661
000097.019661: TILT          217, 217
…

WPI SVG and RAW Data: nothing-displayed-14.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions