OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:textBox
(Results
1 - 13
of
13
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextChunk.cpp
41
SVGInlineTextBox*
textBox
= m_boxes.at(boxPosition);
42
Vector<SVGTextFragment>& fragments =
textBox
->textFragments();
SVGTextQuery.cpp
40
,
textBox
(0)
47
const SVGInlineTextBox*
textBox
;
114
queryData->
textBox
= m_textBoxes.at(textBoxPosition);
115
queryData->textRenderer = toRenderSVGInlineText(queryData->
textBox
->textRenderer());
121
const Vector<SVGTextFragment>& fragments = queryData->
textBox
->textFragments();
149
if (!queryData->
textBox
->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition))
160
unsigned boxStart = queryData->
textBox
->start();
161
unsigned boxLength = queryData->
textBox
->len();
SVGInlineFlowBox.cpp
108
SVGInlineTextBox*
textBox
= toSVGInlineTextBox(box);
110
int markerStartPosition = max<int>(marker->startOffset() -
textBox
->start(), 0);
111
int markerEndPosition = min<int>(marker->endOffset() -
textBox
->start(),
textBox
->len());
119
const Vector<SVGTextFragment>& fragments =
textBox
->textFragments();
126
if (!
textBox
->mapStartEndPositionsIntoFragmentCoordinates(fragment, fragmentStartPosition, fragmentEndPosition))
129
FloatRect fragmentRect =
textBox
->selectionRectForTextFragment(fragment, fragmentStartPosition, fragmentEndPosition, style);
RenderSVGInlineText.cpp
112
InlineTextBox*
textBox
= toInlineTextBox(box);
113
if (static_cast<unsigned>(caretOffset) <
textBox
->start() || static_cast<unsigned>(caretOffset) >
textBox
->start() +
textBox
->len())
117
if (static_cast<unsigned>(caretOffset) <
textBox
->start() +
textBox
->len()) {
118
LayoutRect rect =
textBox
->localSelectionRect(caretOffset, caretOffset + 1);
123
LayoutRect rect =
textBox
->localSelectionRect(caretOffset - 1, caretOffset);
181
SVGInlineTextBox*
textBox
= toSVGInlineTextBox(box);
182
Vector<SVGTextFragment>& fragments =
textBox
->textFragments()
[
all
...]
SVGTextChunkBuilder.cpp
34
void SVGTextChunkBuilder::transformationForTextBox(SVGInlineTextBox*
textBox
, AffineTransform& transform) const
37
if (!m_textBoxTransformations.contains(
textBox
)) {
42
transform = m_textBoxTransformations.get(
textBox
);
55
SVGInlineTextBox*
textBox
= lineLayoutBoxes[boxPosition];
56
if (!
textBox
->startsNewTextChunk())
91
SVGInlineTextBox*
textBox
= lineLayoutBoxes[boxStart];
92
ASSERT(
textBox
);
94
RenderSVGInlineText* textRenderer = toRenderSVGInlineText(
textBox
->textRenderer());
188
SVGInlineTextBox*
textBox
= boxes[boxPosition];
189
Vector<SVGTextFragment>& fragments =
textBox
->textFragments()
[
all
...]
SVGRootInlineBox.cpp
142
SVGInlineTextBox*
textBox
= toSVGInlineTextBox(child);
143
boxRect =
textBox
->calculateBoundaries();
144
textBox
->setX(boxRect.x());
145
textBox
->setY(boxRect.y());
146
textBox
->setLogicalWidth(boxRect.width());
147
textBox
->setLogicalHeight(boxRect.height());
SVGTextLayoutEngine.cpp
114
void SVGTextLayoutEngine::recordTextFragment(SVGInlineTextBox*
textBox
, Vector<SVGTextMetrics>& textMetricsValues)
141
textBox
->textFragments().append(m_currentTextFragment);
233
void SVGTextLayoutEngine::layoutInlineTextBox(SVGInlineTextBox*
textBox
)
235
ASSERT(
textBox
);
237
RenderSVGInlineText* text = toRenderSVGInlineText(
textBox
->textRenderer());
246
textBox
->clearTextFragments();
248
layoutTextOnLineOrPath(
textBox
, text, style);
251
m_pathLayoutBoxes.append(
textBox
);
255
m_lineLayoutBoxes.append(
textBox
);
265
SVGInlineTextBox*
textBox
= boxes.at(boxPosition)
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderLineBoxList.cpp
309
InlineTextBox*
textBox
= toRenderText(curr)->lastTextBox();
310
if (
textBox
)
311
box =
textBox
->root();
RenderText.cpp
310
for (InlineTextBox*
textBox
= firstTextBox();
textBox
;
textBox
=
textBox
->nextTextBox()) {
311
String text = m_text.substring(
textBox
->start(),
textBox
->len()).simplifyWhiteSpace(WTF::DoNotStripWhiteSpace);
313
if (
textBox
->nextTextBox() &&
textBox
->nextTextBox()->start() >
textBox
->end() && text.length() && !text.right(1).containsOnlyWhitespace())
[
all
...]
RenderBlockLineLayout.cpp
141
InlineTextBox*
textBox
= toRenderText(obj)->createInlineTextBox();
145
textBox
->setIsText(isOnlyRun || obj->document().inNoQuirksMode());
146
return
textBox
;
555
InlineTextBox*
textBox
= toInlineTextBox(r->m_box);
557
textBox
->setExpansion(expansion);
[
all
...]
/external/jmonkeyengine/engine/src/core/com/jme3/font/
BitmapText.java
172
Rectangle
textBox
= block.getTextBox();
173
if (
textBox
!= null) {
174
return Math.max(height,
textBox
.height);
186
Rectangle
textBox
= block.getTextBox();
187
if (
textBox
!= null) {
188
return Math.max(letters.getTotalWidth(),
textBox
.width);
StringBlock.java
48
private Rectangle
textBox
;
63
* @param
textBox
the rectangle that constrains the text
69
StringBlock(String text, Rectangle
textBox
, BitmapFont.Align alignment, float size, ColorRGBA color,
72
this.
textBox
=
textBox
;
81
this.
textBox
= null;
93
if (
textBox
!= null)
94
clone.
textBox
=
textBox
.clone();
110
return
textBox
;
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/editing/
VisibleUnits.cpp
205
static const InlineTextBox* logicallyPreviousBox(const VisiblePosition& visiblePosition, const InlineTextBox*
textBox
,
208
const InlineBox* startBox =
textBox
;
210
const InlineTextBox* previousBox = leafBoxes.previousTextBox(startBox->root(),
textBox
);
246
static const InlineTextBox* logicallyNextBox(const VisiblePosition& visiblePosition, const InlineTextBox*
textBox
,
249
const InlineBox* startBox =
textBox
;
251
const InlineTextBox* nextBox = leafBoxes.nextTextBox(startBox->root(),
textBox
);
286
static TextBreakIterator* wordBreakIteratorForMinOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox*
textBox
,
292
const InlineTextBox* previousBox = logicallyPreviousBox(visiblePosition,
textBox
, previousBoxInDifferentBlock, leafBoxes);
301
textBox
->textRenderer()->text().appendTo(string,
textBox
->start(), textBox->len())
[
all
...]
Completed in 228 milliseconds