Searched refs:charnum (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGTextContentElement.cpp97 float SVGTextContentElement::getSubStringLength(unsigned charnum, unsigned nchars, ExceptionState& exceptionState) argument
102 if (charnum >= numberOfChars) {
103 exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::indexExceedsMaximumBound("charnum", charnum, getNumberOfChars()));
107 if (nchars > numberOfChars - charnum)
108 nchars = numberOfChars - charnum;
110 return SVGTextQuery(renderer()).subStringLength(charnum, nchars);
113 PassRefPtr<SVGPointTearOff> SVGTextContentElement::getStartPositionOfChar(unsigned charnum, ExceptionState& exceptionState) argument
117 if (charnum > getNumberOfChars()) {
118 exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::indexExceedsMaximumBound("charnum", charnu
126 getEndPositionOfChar(unsigned charnum, ExceptionState& exceptionState) argument
139 getExtentOfChar(unsigned charnum, ExceptionState& exceptionState) argument
152 getRotationOfChar(unsigned charnum, ExceptionState& exceptionState) argument
170 selectSubString(unsigned charnum, unsigned nchars, ExceptionState& exceptionState) argument
[all...]
H A DSVGTextContentElement.h52 float getSubStringLength(unsigned charnum, unsigned nchars, ExceptionState&);
53 PassRefPtr<SVGPointTearOff> getStartPositionOfChar(unsigned charnum, ExceptionState&);
54 PassRefPtr<SVGPointTearOff> getEndPositionOfChar(unsigned charnum, ExceptionState&);
55 PassRefPtr<SVGRectTearOff> getExtentOfChar(unsigned charnum, ExceptionState&);
56 float getRotationOfChar(unsigned charnum, ExceptionState&);
58 void selectSubString(unsigned charnum, unsigned nchars, ExceptionState&);
/external/fonttools/Lib/fontTools/
H A DafmLib.py16 "(-?\d+)" # charnum
141 charnum, width, l, b, r, t = (int(thing) for thing in things)
142 self._chars[charname] = charnum, width, (l, b, r, t)
222 items = [(charnum, (charname, width, box)) for charname, (charnum, width, box) in self._chars.items()]
232 for charnum, (charname, width, (l, b, r, t)) in items:
234 (charnum, width, charname, l, b, r, t))
365 print(afm[char]) # print charnum, width and boundingbox
/external/fonttools/Tools/fontTools/
H A DafmLib.py16 "(-?\d+)" # charnum
141 charnum, width, l, b, r, t = (int(thing) for thing in things)
142 self._chars[charname] = charnum, width, (l, b, r, t)
222 items = [(charnum, (charname, width, box)) for charname, (charnum, width, box) in self._chars.items()]
232 for charnum, (charname, width, (l, b, r, t)) in items:
234 (charnum, width, charname, l, b, r, t))
365 print(afm[char]) # print charnum, width and boundingbox

Completed in 86 milliseconds