Home
last modified time | relevance | path

Searched refs:fPositions (Results 1 - 25 of 34) sorted by relevance

12

/third_party/skia/src/utils/
H A DSkShadowTessellator.cpp37 fPositions.begin(), nullptr, fColors.begin(), in releaseVertices()
46 int vertexCount() const { return fPositions.count(); } in vertexCount()
95 SkTDArray<SkPoint> fPositions; member in SkBaseShadowTessellator
297 fPositions.push_back(fCentroid); in computeConvexShadow()
312 fFirstVertexIndex = fPositions.count(); in computeConvexShadow()
321 bool isOutside = this->clipUmbraPoint(fPositions[fFirstVertexIndex], in computeConvexShadow()
324 fPositions.push_back(clipPoint); in computeConvexShadow()
332 fPositions.push_back(newPoint); in computeConvexShadow()
349 SkASSERT(fPositions.count() >= 3); in computeConvexShadow()
352 this->appendTriangle(fFirstVertexIndex, fPositions in computeConvexShadow()
[all...]
H A DSkShaperJSONWriter.cpp30 fPositions.resize(info.glyphCount); in runBuffer()
32 return {fGlyphs.data(), fPositions.data(), nullptr, fClusters.data(), {0, 0}}; in runBuffer()
113 for (auto position : fPositions) { in commitRunBuffer()
121 fJSONWriter->appendFloat(fPositions[i].fX - fPositions[i-1].fX); in commitRunBuffer()
123 SkPoint lastAdvance = info.fAdvance - (fPositions.back() - fPositions.front()); in commitRunBuffer()
H A DSkShaperJSONWriter.h62 std::vector<SkPoint> fPositions; member in final
/third_party/skia/src/core/
H A DSkGlyphBuffer.cpp20 fPositions.reset(size); in ensureSize()
33 memcpy(fPositions, positions.data(), positions.size() * sizeof(SkPoint)); in startSource()
56 matrix.mapPoints(fPositions, positions.data(), positions.size()); in startBitmapDevice()
63 SkMakeZip(source.get<0>(), fPositions.get()); in startBitmapDevice()
85 device.mapPoints(fPositions, positions.data(), positions.size()); in startGPUDevice()
92 : SkMakeZip(fMultiBuffer.get(), source.get<0>(), fPositions.get())) { in startGPUDevice()
106 : SkZip<SkGlyphVariant, SkPoint>{fInputSize, fMultiBuffer.get(), fPositions.get()}) { in dumpInput()
116 fPositions.reset(); in reset()
H A DSkGlyphBuffer.h181 return SkZip<SkGlyphVariant, SkPoint>{fInputSize, fMultiBuffer.get(), fPositions}; in input()
189 fPositions[fDrawableSize] = fPositions[from]; in push_back()
199 fPositions[fDrawableSize] = fPositions[from]; in push_back()
208 return SkZip<SkGlyphVariant, SkPoint>{fDrawableSize, fMultiBuffer.get(), fPositions}; in drawable()
230 SkAutoTMalloc<SkPoint> fPositions; member in SkSourceGlyphBuffer::SkDrawableGlyphBuffer
H A DSkVertices.cpp133 fVertices->fPositions = (SkPoint*) advance(sizes.fVSize); in init()
147 fVertices->fBounds.setBounds(fVertices->fPositions, fVertices->fVertexCount); in detach()
176 return fVertices ? const_cast<SkPoint*>(fVertices->fPositions) : nullptr; in positions()
233 if (fPositions != nullptr) { in dump()
234 fPositions->dump(desc, depth + 1); in dump()
236 desc += split + "\t fPositions: nullptr\n"; in dump()
292 buffer.writeByteArray(fVertices->fPositions, sizes.fVSize); in encode()
H A DSkGlyphRun.cpp197 SkSpan<const SkPoint> positions = draw_text_positions(font, glyphIDs, {0, 0}, fPositions); in textToGlyphRunList()
215 SkPoint* positionCursor = fPositions; in blobToGlyphRunList()
273 auto positions = SkMakeSpan(fPositions.get(), count); in convertRSXForm()
301 fPositions.reset(fMaxTotalRunSize); in prepareBuffers()
H A DSkVerticesPriv.h32 const SkPoint* positions() const { return fVertices->fPositions; } in positions()
/third_party/skia/gm/
H A Ddrawglyphs.cpp33 fPositions.append(fGlyphCount);
34 fFont.getPos(fGlyphs.begin(), fGlyphCount, fPositions.begin());
35 auto positions = SkMakeSpan(fPositions.begin(), fGlyphCount);
59 canvas->drawGlyphs(fGlyphCount, fGlyphs.begin(), fPositions.begin(), {50, 100}, fFont,
62 canvas->drawGlyphs(fGlyphCount, fGlyphs.begin(), fPositions.begin(), {50, 120}, fFont,
66 for (auto& pos : fPositions) {
69 canvas->drawGlyphs(fGlyphCount, fGlyphs.begin(), fPositions.begin(), {50, 640}, fFont,
82 SkTDArray<SkPoint> fPositions; member in DrawGlyphsGM
/third_party/skia/experimental/sktext/src/
H A DLogicalRun.h16 return {fGlyphs.data(), fPositions.data(), fOffsets.data(), fClusters.data(), {0.0f, 0.0f} }; in newRunBuffer()
20 fPositions[fGlyphs.size()] = fAdvance; in commit()
27 SkASSERT(glyphRange.fStart <= glyphRange.fEnd && glyphRange.fEnd < fPositions.size()); in calculateWidth()
28 return fPositions[glyphRange.fEnd].fX - fPositions[glyphRange.fStart].fX; in calculateWidth()
34 SkScalar firstGlyphPosition() const { return fPositions[0].fX; } in firstGlyphPosition()
78 SkSTArray<128, SkPoint, true> fPositions; member in skia::text::LogicalRun
H A DVisualRun.h27 fPositions.reserve_back(positions.size()); in VisualRun()
30 fPositions.emplace_back(pos + runOffset); in VisualRun()
44 SkASSERT(glyphRange.fStart <= glyphRange.fEnd && glyphRange.fEnd < fPositions.size()); in calculateWidth()
45 return fPositions[glyphRange.fEnd].fX - fPositions[glyphRange.fStart].fX; in calculateWidth()
52 SkScalar firstGlyphPosition() const { return fPositions[0].fX; } in firstGlyphPosition()
93 SkSTArray<128, SkPoint, true> fPositions; member in skia::text::VisualRun
H A DLogicalRun.cpp20 fPositions.push_back_n(info.glyphCount + 1); in LogicalRun()
/third_party/skia/modules/skparagraph/src/
H A DRun.cpp208 , fPositions(fGlyphData->positions) in scaleFontWithCompressionConfig()
222 fPositions.push_back_n(info.glyphCount + 1); in scaleFontWithCompressionConfig()
244 fPositions[info.glyphCount] = fOffset + fAdvance; in scaleFontWithCompressionConfig()
279 return {fGlyphs.data(), fPositions.data(), fOffsets.data(), fClusterIndexes.data(), fOffset}; in scaleFontWithCompressionConfig()
289 auto point = fPositions[i + pos]; in scaleFontWithCompressionConfig()
308 auto point = fPositions[i + pos]; in scaleFontWithCompressionConfig()
427 fPositions[i].fX += shift; in scaleFontWithCompressionConfig()
434 fPositions[this->size()].fX += shift; in scaleFontWithCompressionConfig()
444 fPositions[i].fX += shift; in scaleFontWithCompressionConfig()
450 fPositions[cluste in scaleFontWithCompressionConfig()
[all...]
H A DRun.h101 void addX(size_t index, SkScalar shift) { fPositions[index].fX += shift; } in addX()
103 SkScalar posY(size_t index) const { return fPositions[index].fY; } in posY()
197 return SkSpan<const SkPoint>(fPositions.begin(), fPositions.size()); in positions()
266 SkSTArray<64, SkPoint, true>& fPositions; member in skia::textlayout::Run
/third_party/skia/modules/skparagraph/tests/
H A DSkShaperJSONWriter.cpp37 fPositions.resize(info.glyphCount); in runBuffer()
39 return {fGlyphs.data(), fPositions.data(), nullptr, fClusters.data(), {0, 0}}; in runBuffer()
120 for (auto position : fPositions) { in commitRunBuffer()
128 fJSONWriter->appendFloat(fPositions[i].fX - fPositions[i-1].fX); in commitRunBuffer()
130 SkPoint lastAdvance = info.fAdvance - (fPositions.back() - fPositions.front()); in commitRunBuffer()
H A DSkShaperJSONWriter.h63 std::vector<SkPoint> fPositions; member in final
/third_party/icu/icu4c/source/layoutex/layout/
H A DParagraphLayout.h338 const float *fPositions; member in ParagraphLayout::VisualRun
702 return fPositions; in getPositions()
726 : UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), fGlyphToCharMap(NULL) in VisualRun()
732 : UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), fGlyphToCharMap(NULL) in VisualRun()
740 fGlyphs(glyphs), fPositions(positions), fGlyphToCharMap(glyphToCharMap) in VisualRun()
/third_party/icu/icu4c/source/common/
H A Drbbitblb.cpp580 failState->fPositions = new UVector(*fStatus); in buildStateTable()
581 if (failState->fPositions == NULL) { in buildStateTable()
584 if (failState->fPositions == NULL || U_FAILURE(*fStatus)) { in buildStateTable()
601 initialState->fPositions = new UVector(*fStatus); in buildStateTable()
602 if (initialState->fPositions == NULL) { in buildStateTable()
608 setAdd(initialState->fPositions, fTree->fFirstPosSet); in buildStateTable()
642 for (px=0; px<T->fPositions->size(); px++) { in buildStateTable()
643 p = (RBBINode *)T->fPositions->elementAt(px); in buildStateTable()
665 if (setEquals(U, temp2->fPositions)) { in buildStateTable()
667 U = temp2->fPositions; in buildStateTable()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Drbbitblb.cpp565 failState->fPositions = new UVector(*fStatus); in buildStateTable()
566 if (failState->fPositions == nullptr) { in buildStateTable()
569 if (failState->fPositions == nullptr || U_FAILURE(*fStatus)) { in buildStateTable()
586 initialState->fPositions = new UVector(*fStatus); in buildStateTable()
587 if (initialState->fPositions == nullptr) { in buildStateTable()
593 setAdd(initialState->fPositions, fTree->fFirstPosSet); in buildStateTable()
627 for (px=0; px<T->fPositions->size(); px++) { in buildStateTable()
628 p = (RBBINode *)T->fPositions->elementAt(px); in buildStateTable()
650 if (setEquals(U, temp2->fPositions)) { in buildStateTable()
652 U = temp2->fPositions; in buildStateTable()
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Drbbitblb.cpp579 failState->fPositions = new UVector(*fStatus); in buildStateTable()
580 if (failState->fPositions == NULL) { in buildStateTable()
583 if (failState->fPositions == NULL || U_FAILURE(*fStatus)) { in buildStateTable()
600 initialState->fPositions = new UVector(*fStatus); in buildStateTable()
601 if (initialState->fPositions == NULL) { in buildStateTable()
607 setAdd(initialState->fPositions, fTree->fFirstPosSet); in buildStateTable()
641 for (px=0; px<T->fPositions->size(); px++) { in buildStateTable()
642 p = (RBBINode *)T->fPositions->elementAt(px); in buildStateTable()
664 if (setEquals(U, temp2->fPositions)) { in buildStateTable()
666 U = temp2->fPositions; in buildStateTable()
[all...]
/third_party/skia/tests/
H A DShaperTest.cpp26 std::unique_ptr<SkPoint[]> fPositions; member
41 fPositions = std::make_unique<SkPoint[]>(info.glyphCount);
44 fPositions.get(),
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DRBBITableBuilder.java46 Set<RBBINode> fPositions; // Set of parse tree positions associated field in RBBITableBuilder.RBBIStateDescriptor
57 fPositions = new HashSet<>(); in RBBIStateDescriptor()
549 initialState.fPositions.addAll(fRB.fTreeRoots[fRootIx].fFirstPosSet); in buildStateTable()
577 for (RBBINode p : T.fPositions) { in buildStateTable()
595 if (U.equals(temp2.fPositions)) { in buildStateTable()
596 U = temp2.fPositions; in buildStateTable()
607 newState.fPositions = U; in buildStateTable()
636 for (RBBINode node: sd.fPositions) { in mapLookAheadRules()
666 for (RBBINode node: sd.fPositions) { in mapLookAheadRules()
700 if (sd.fPositions in flagAcceptingStates()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DRBBITableBuilder.java47 Set<RBBINode> fPositions; // Set of parse tree positions associated field in RBBITableBuilder.RBBIStateDescriptor
58 fPositions = new HashSet<>(); in RBBIStateDescriptor()
542 initialState.fPositions.addAll(fRB.fTreeRoots[fRootIx].fFirstPosSet); in buildStateTable()
570 for (RBBINode p : T.fPositions) { in buildStateTable()
588 if (U.equals(temp2.fPositions)) { in buildStateTable()
589 U = temp2.fPositions; in buildStateTable()
600 newState.fPositions = U; in buildStateTable()
630 for (RBBINode node: sd.fPositions) { in mapLookAheadRules()
660 for (RBBINode node: sd.fPositions) { in mapLookAheadRules()
694 //if (sd.fPositions in flagAcceptingStates()
[all...]
/third_party/skia/modules/skshaper/tests/
H A DShaperTest.cpp32 std::unique_ptr<SkPoint[]> fPositions; member
51 fPositions = std::make_unique<SkPoint[]>(info.glyphCount);
54 fPositions.get(),
/third_party/skia/include/core/
H A DSkVertices.h126 SkPoint* fPositions; // [vertexCount] member in SkVertices
131 SkRect fBounds; // computed to be the union of the fPositions[]

Completed in 18 milliseconds

12