+ // have we run off the end of the path?
+ if (pos.x + halfAdvance > length)
+ break;
Is it possible for us to go past the end of the path but then negative dx pulls us back into the path?
You're not handling 'rotate' for text on a path?
Can't GetDx/GetDy/GetRotate just return a non-addrefed pointer?
We really need some love for nsIDOMSVGLengthList/nsIDOMSVGNumberList so that we have optimized storage and a COM-less internal interface, but I guess that can wait.
Why are you checking for the presence of the attributes in GetDx/GetDy/GetRotate? An optimization? Seems like these could be animated so that even if there's no attribute, there's still an animated value?
+GetNumberOfNum berListItems( nsIDOMSVGNumber List *list) alue(nsIDOMSVGL engthList *list, PRUint32 index) alue(nsIDOMSVGN umberList *list, PRUint32 index)
+GetLengthListV
+GetNumberListV
Use a* for parameters
+ NS_IMETHOD_(void) SetGlyphPositio n(gfxPoint &position, PRBool aForceGlobalTra nsform) =0;
Prefer gfxPoint* here for the in-out parameter.
+ // have we run off the end of the path?
+ if (pos.x + halfAdvance > length)
+ break;
Is it possible for us to go past the end of the path but then negative dx pulls us back into the path?
You're not handling 'rotate' for text on a path?
Can't GetDx/GetDy/ GetRotate just return a non-addrefed pointer?
We really need some love for nsIDOMSVGLength List/nsIDOMSVGN umberList so that we have optimized storage and a COM-less internal interface, but I guess that can wait.
Why are you checking for the presence of the attributes in GetDx/GetDy/ GetRotate? An optimization? Seems like these could be animated so that even if there's no attribute, there's still an animated value?