Home
last modified time | relevance | path

Searched refs:SVGTextFragment (Results 1 – 20 of 20) sorted by relevance

/external/webkit/Source/WebCore/rendering/svg/
DSVGTextQuery.h51 typedef bool (SVGTextQuery::*ProcessTextFragmentCallback)(Data*, const SVGTextFragment&) const;
55 …bool mapStartEndPositionsIntoFragmentCoordinates(Data*, const SVGTextFragment&, int& startPosition…
59 bool numberOfCharactersCallback(Data*, const SVGTextFragment&) const;
60 bool textLengthCallback(Data*, const SVGTextFragment&) const;
61 bool subStringLengthCallback(Data*, const SVGTextFragment&) const;
62 bool startPositionOfCharacterCallback(Data*, const SVGTextFragment&) const;
63 bool endPositionOfCharacterCallback(Data*, const SVGTextFragment&) const;
64 bool rotationOfCharacterCallback(Data*, const SVGTextFragment&) const;
65 bool extentOfCharacterCallback(Data*, const SVGTextFragment&) const;
66 bool characterNumberAtPositionCallback(Data*, const SVGTextFragment&) const;
DSVGInlineTextBox.h52 …bool mapStartEndPositionsIntoFragmentCoordinates(const SVGTextFragment&, int& startPosition, int& …
57 Vector<SVGTextFragment>& textFragments() { return m_textFragments; } in textFragments()
58 const Vector<SVGTextFragment>& textFragments() const { return m_textFragments; } in textFragments()
63 …int offsetForPositionInFragment(const SVGTextFragment&, float position, bool includePartialGlyphs)…
64 …FloatRect selectionRectForTextFragment(const SVGTextFragment&, int fragmentStartPosition, int frag…
67 TextRun constructTextRun(RenderStyle*, const SVGTextFragment&) const;
75 void paintDecoration(GraphicsContext*, ETextDecoration, const SVGTextFragment&);
76 …void paintDecorationWithStyle(GraphicsContext*, ETextDecoration, const SVGTextFragment&, RenderObj…
77 …void paintTextWithShadows(GraphicsContext*, RenderStyle*, TextRun&, const SVGTextFragment&, int st…
78 …t(GraphicsContext*, RenderStyle*, RenderStyle* selectionStyle, const SVGTextFragment&, bool hasSel…
[all …]
DSVGTextQuery.cpp124 const Vector<SVGTextFragment>& fragments = queryData->textBox->textFragments(); in executeQuery()
129 const SVGTextFragment& fragment = fragments.at(i); in executeQuery()
142 …::mapStartEndPositionsIntoFragmentCoordinates(Data* queryData, const SVGTextFragment& fragment, in… in mapStartEndPositionsIntoFragmentCoordinates()
236 bool SVGTextQuery::numberOfCharactersCallback(Data*, const SVGTextFragment&) const in numberOfCharactersCallback()
262 bool SVGTextQuery::textLengthCallback(Data* queryData, const SVGTextFragment& fragment) const in textLengthCallback()
294 bool SVGTextQuery::subStringLengthCallback(Data* queryData, const SVGTextFragment& fragment) const in subStringLengthCallback()
329 bool SVGTextQuery::startPositionOfCharacterCallback(Data* queryData, const SVGTextFragment& fragmen… in startPositionOfCharacterCallback()
349 … fragment.buildFragmentTransform(fragmentTransform, SVGTextFragment::TransformIgnoringTextLength); in startPositionOfCharacterCallback()
378 bool SVGTextQuery::endPositionOfCharacterCallback(Data* queryData, const SVGTextFragment& fragment)… in endPositionOfCharacterCallback()
396 … fragment.buildFragmentTransform(fragmentTransform, SVGTextFragment::TransformIgnoringTextLength); in endPositionOfCharacterCallback()
[all …]
DSVGTextChunkBuilder.h30 struct SVGTextFragment;
53 …SpacingCorrection(bool isVerticalText, float textLengthShift, Vector<SVGTextFragment>&, unsigned& …
54 … processTextAnchorCorrection(bool isVerticalText, float textAnchorShift, Vector<SVGTextFragment>&);
55 …void buildSpacingAndGlyphsTransform(bool isVerticalText, float scale, const SVGTextFragment&, Affi…
DSVGTextChunkBuilder.cpp176 Vector<SVGTextFragment>& fragments = boxes[boxPosition]->textFragments(); in processTextChunk()
189 Vector<SVGTextFragment>& fragments = textBox->textFragments(); in processTextChunk()
215 Vector<SVGTextFragment>& fragments = boxes[boxPosition]->textFragments(); in processTextChunk()
222 …SpacingCorrection(bool isVerticalText, float textLengthShift, Vector<SVGTextFragment>& fragments, … in processTextLengthSpacingCorrection()
226 SVGTextFragment& fragment = fragments[i]; in processTextLengthSpacingCorrection()
237 …extAnchorCorrection(bool isVerticalText, float textAnchorShift, Vector<SVGTextFragment>& fragments) in processTextAnchorCorrection()
241 SVGTextFragment& fragment = fragments[i]; in processTextAnchorCorrection()
250 …ildSpacingAndGlyphsTransform(bool isVerticalText, float scale, const SVGTextFragment& fragment, Af… in buildSpacingAndGlyphsTransform()
DSVGTextChunk.cpp38 SVGTextFragment* lastFragment = 0; in calculateLength()
43 Vector<SVGTextFragment>& fragments = textBox->textFragments(); in calculateLength()
50 SVGTextFragment& fragment = fragments.at(i); in calculateLength()
DSVGInlineTextBox.cpp58 int SVGInlineTextBox::offsetForPositionInFragment(const SVGTextFragment& fragment, float position, … in offsetForPositionInFragment()
88 FloatRect SVGInlineTextBox::selectionRectForTextFragment(const SVGTextFragment& fragment, int start… in selectionRectForTextFragment()
136 const SVGTextFragment& fragment = m_textFragments.at(i); in selectionRect()
221 SVGTextFragment& fragment = m_textFragments.at(i); in paintSelectionBackground()
296 SVGTextFragment& fragment = m_textFragments.at(i); in paint()
403 TextRun SVGInlineTextBox::constructTextRun(RenderStyle* style, const SVGTextFragment& fragment) con… in constructTextRun()
429 bool SVGInlineTextBox::mapStartEndPositionsIntoFragmentCoordinates(const SVGTextFragment& fragment,… in mapStartEndPositionsIntoFragmentCoordinates()
495 …ntDecoration(GraphicsContext* context, ETextDecoration decoration, const SVGTextFragment& fragment) in paintDecoration()
548 …ithStyle(GraphicsContext* context, ETextDecoration decoration, const SVGTextFragment& fragment, Re… in paintDecorationWithStyle()
601 …raphicsContext* context, RenderStyle* style, TextRun& textRun, const SVGTextFragment& fragment, in… in paintTextWithShadows()
[all …]
DSVGTextFragment.h29 struct SVGTextFragment { struct
30 SVGTextFragment() in SVGTextFragment() function
DRenderSVGInlineText.cpp187 const SVGTextFragment* closestDistanceFragment = 0; in positionForPoint()
196 Vector<SVGTextFragment>& fragments = textBox->textFragments(); in positionForPoint()
200 const SVGTextFragment& fragment = fragments.at(i); in positionForPoint()
DSVGInlineFlowBox.cpp122 const Vector<SVGTextFragment>& fragments = textBox->textFragments(); in computeTextMatchMarkerRectForRenderer()
125 const SVGTextFragment& fragment = fragments.at(i); in computeTextMatchMarkerRectForRenderer()
DSVGTextLayoutEngine.cpp150 m_currentTextFragment = SVGTextFragment(); in recordTextFragment()
272 Vector<SVGTextFragment>& fragments = textBox->textFragments(); in dumpTextBoxes()
281 SVGTextFragment& fragment = fragments.at(i); in dumpTextBoxes()
299 Vector<SVGTextFragment>& fragments = textBox->textFragments(); in finalizeTransformMatrices()
DSVGTextLayoutEngine.h84 SVGTextFragment m_currentTextFragment;
DSVGRenderTreeAsText.cpp452 Vector<SVGTextFragment>& fragments = textBox->textFragments(); in writeSVGInlineTextBox()
464 SVGTextFragment& fragment = fragments.at(i); in writeSVGInlineTextBox()
/external/webkit/Source/WebCore/
DWebCore.pro2248 rendering/svg/SVGTextFragment.h \
DGNUmakefile.list.am3065 Source/WebCore/rendering/svg/SVGTextFragment.h \
DChangeLog22694 * rendering/svg/SVGTextFragment.h:
22695 (WebCore::SVGTextFragment::SVGTextFragment):
22696 (WebCore::SVGTextFragment::buildFragmentTransform):
22697 (WebCore::SVGTextFragment::transformAroundOrigin):
22698 (WebCore::SVGTextFragment::buildTransformForTextOnPath):
22699 (WebCore::SVGTextFragment::buildTransformForTextOnLine):
44724 * rendering/svg/SVGTextFragment.h: Add metricsListOffset, needed only while laying out text.
44725 …(WebCore::SVGTextFragment::SVGTextFragment): Rename positionListOffset to characterOffset, as it d…
44737 …The width of a SVGTextFragment is always equal to the sum of each glyph advance. (This was not the…
DGNUmakefile.am3056 Source/WebCore/rendering/svg/SVGTextFragment.h \
DChangeLog-2010-12-0641032 …As result it generates a set of SVGTextFragment objects which are stored in each SVGInlineTextBox.…
41037 - SVGTextFragment, start 0 length 4, "ABCD" (x=20)
41041 - SVGTextFragment, start 0 length 1, "A" (x=20)
41043 - SVGTextFragment, start 0 length 1, "B" (x=100)
41044 - SVGTextFragment, start 1 length 2, "CD" (x=100 + advance_of_last)
41048 - SVGTextFragment, start 0 length 1, "A" (rotated!)
41049 - SVGTextFragment, start 1 length 1, "B" (rotated!)
41050 - SVGTextFragment, start 2 length 1, "C" (rotated!)
41051 - SVGTextFragment, start 3 length 1, "D" (rotated!)
41055 - SVGTextFragment, start 0 length 1, "A" (x=0)
[all …]
DWebCore.gypi5439 'rendering/svg/SVGTextFragment.h',
/external/webkit/Source/WebCore/WebCore.xcodeproj/
Dproject.pbxproj219 …C41255C53C00075185 /* SVGTextFragment.h in Headers */ = {isa = PBXBuildFile; fileRef = 08F0BFBF125…
6639 …3C00075185 /* SVGTextFragment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
12841 08F0BFBF1255C53C00075185 /* SVGTextFragment.h */,
22721 08F0BFC41255C53C00075185 /* SVGTextFragment.h in Headers */,