コード例 #1
0
unsigned SVGPathElement::getPathSegAtLength(float length)
{
    unsigned pathSeg = 0;
    getSVGPathSegAtLengthFromSVGPathByteStream(pathByteStream(), length, pathSeg);
    return pathSeg;
}
コード例 #2
0
PassRefPtr<SVGPointTearOff> SVGPathElement::getPointAtLength(float length)
{
    FloatPoint point;
    getPointAtLengthOfSVGPathByteStream(pathByteStream(), length, point);
    return SVGPointTearOff::create(SVGPoint::create(point), 0, PropertyIsNotAnimVal);
}
コード例 #3
0
PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGPathElement::getPointAtLength(float length)
{
    document().updateLayoutIgnorePendingStylesheets();
    FloatPoint point = SVGPathQuery(pathByteStream()).getPointAtLength(length);
    return SVGPointTearOff::create(SVGPoint::create(point), 0, PropertyIsNotAnimVal);
}
コード例 #4
0
FloatPoint SVGPathElement::getPointAtLength(float length)
{
    FloatPoint point;
    getPointAtLengthOfSVGPathByteStream(pathByteStream(), length, point);
    return point;
}
コード例 #5
0
unsigned SVGPathElement::getPathSegAtLength(float length)
{
    document().updateLayoutIgnorePendingStylesheets();
    return SVGPathQuery(pathByteStream()).getPathSegIndexAtLength(length);
}