Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

BezierCurve do not always work #73

@MattiaConfalonieri

Description

@MattiaConfalonieri

Hi, maybe i have found an issue (i am not sure)

BezierCurve, not work always.

My impression is that if the array of value contain two equal data in sequence that invalidate the bezier.

Issue reply:

arrayOfValues = [[NSMutableArray alloc] initWithObjects: [NSNumber numberWithFloat:57.0],[NSNumber numberWithFloat:57.0],[NSNumber numberWithFloat:0],[NSNumber numberWithFloat:57.6],[NSNumber numberWithFloat:0],[NSNumber numberWithFloat:0],[NSNumber numberWithFloat:58.0],[NSNumber numberWithFloat:0],[NSNumber numberWithFloat:0],[NSNumber numberWithFloat:0],[NSNumber numberWithFloat:58.0], nil];

img_3539

arrayOfValues = [[NSMutableArray alloc] initWithObjects: [NSNumber numberWithFloat:58.0],[NSNumber numberWithFloat:57.0],[NSNumber numberWithFloat:0],[NSNumber numberWithFloat:57.6],[NSNumber numberWithFloat:0],[NSNumber numberWithFloat:0],[NSNumber numberWithFloat:58.0],[NSNumber numberWithFloat:0],[NSNumber numberWithFloat:5],[NSNumber numberWithFloat:0],[NSNumber numberWithFloat:58.0], nil];

img_3538

NOTE: in the second example you can see another little issue, where there are the two 0 value in sequence the bezier curve drop down under the 0 value.

I hope this help, let me know if you need other test, to resolve the issue because the library is AMAZING!!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions