Subdivides the cubic curve specified by the coordinates
stored in the
src
array at indices
srcoff
through (
srcoff
+ 7) and stores the
resulting two subdivided curves into the two result arrays at the
corresponding indices.
Subdivides the cubic curve specified by the coordinates
stored in the
src
array at indices
srcoff
through (
srcoff
+ 7) and stores the
resulting two subdivided curves into the two result arrays at the
corresponding indices.
Either or both of the
left
and
right
arrays may be
null
or a reference to the same array
as the
src
array.
Note that the last point in the first subdivided curve is the
same as the first point in the second subdivided curve. Thus,
it is possible to pass the same array for
left
and
right
and to use offsets, such as
rightoff
equals (
leftoff
+ 6), in order
to avoid allocating extra storage for this common point.
Parameters:
-
src - the array holding the coordinates for the source curve
-
srcoff - the offset into the array of the beginning of the
the 6 source coordinates
-
left - the array for storing the coordinates for the first
half of the subdivided curve
-
leftoff - the offset into the array of the beginning of the
the 6 left coordinates
-
right - the array for storing the coordinates for the second
half of the subdivided curve
-
rightoff - the offset into the array of the beginning of the
the 6 right coordinates
Since:
1.2