RealBezier-> Divide works incorrectly
What I'm tryin to do is to divide a path into 2 equal parts using RealBezier methods.
That's a sample code:
AIRealBezier b0, b1, b2;
error = sAIPath-> GetPathBezier (path, 0, &b0);
sAIRealBezierSuite-> Divide (&b0, 0.5, &b1,&b2); // t=0.5, gonna divide in half
Then I assign bezier control points to segments like this:
segment.p.h = b1.p0.h;
segment.p.v = b1.p0.v;
//and so on
OK, looks good. Works fine with straight lines and symmetrical segments.
BUT! If there's difference in length of handles (I mean 1st handle is huge, 2nd - tiny), result turns out to be incorrrect (parts are obviously not equal).
Though it produces smooth result which means that "assigning bezier control points to segments" is done in a right way.

Is it normal behaviour of RealBezier Divide?