Home
last modified time | relevance | path

Searched refs:fPositions (Results 1 – 25 of 46) sorted by relevance

12

/third_party/skia/src/utils/
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.count() - 1, in computeConvexShadow()
[all …]
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()
/third_party/flutter/skia/src/utils/
DSkShadowTessellator.cpp36 fPositions.begin(), nullptr, fColors.begin(), in releaseVertices()
45 int vertexCount() const { return fPositions.count(); } in vertexCount()
94 SkTDArray<SkPoint> fPositions; member in SkBaseShadowTessellator
300 fPositions.push_back(fCentroid); in computeConvexShadow()
315 fFirstVertexIndex = fPositions.count(); in computeConvexShadow()
324 bool isOutside = this->clipUmbraPoint(fPositions[fFirstVertexIndex], in computeConvexShadow()
327 fPositions.push_back(clipPoint); in computeConvexShadow()
335 fPositions.push_back(newPoint); in computeConvexShadow()
352 SkASSERT(fPositions.count() >= 3); in computeConvexShadow()
355 this->appendTriangle(fFirstVertexIndex, fPositions.count() - 1, in computeConvexShadow()
[all …]
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()
/third_party/skia/gm/
Ddrawglyphs.cpp33 fPositions.append(fGlyphCount); in onOnceBeforeDraw()
34 fFont.getPos(fGlyphs.begin(), fGlyphCount, fPositions.begin()); in onOnceBeforeDraw()
35 auto positions = SkMakeSpan(fPositions.begin(), fGlyphCount); in onOnceBeforeDraw()
59 canvas->drawGlyphs(fGlyphCount, fGlyphs.begin(), fPositions.begin(), {50, 100}, fFont, in onDraw()
62 canvas->drawGlyphs(fGlyphCount, fGlyphs.begin(), fPositions.begin(), {50, 120}, fFont, in onDraw()
66 for (auto& pos : fPositions) { in onDraw()
69 canvas->drawGlyphs(fGlyphCount, fGlyphs.begin(), fPositions.begin(), {50, 640}, fFont, in onDraw()
82 SkTDArray<SkPoint> fPositions; member in DrawGlyphsGM
/third_party/skia/src/core/
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()
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; variable
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()
259 buffer.writeByteArray(fVertices->fPositions, sizes.fVSize); in encode()
/third_party/skia/experimental/sktext/src/
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; variable
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; variable
/third_party/flutter/skia/gm/
Dvariedtext.cpp106 fPositions[i].fX = random.nextRangeScalar(safeRect.fLeft, safeRect.fRight); in onOnceBeforeDraw()
107 fPositions[i].fY = random.nextRangeScalar(safeRect.fTop, safeRect.fBottom); in onOnceBeforeDraw()
110 fClipRects[i].offset(fPositions[i].fX, fPositions[i].fY); in onOnceBeforeDraw()
127 canvas->translate(fPositions[i].fX, fPositions[i].fY); in onDraw()
163 SkPoint fPositions[kCnt]; member in VariedTextGM
/third_party/flutter/skia/src/core/
DSkGlyphRun.cpp28 : fPositions{positions} in SkGlyphRun()
35 : fPositions{that.fPositions} in SkGlyphRun()
43 memcpy(positions, fPositions.data(), fPositions.size_bytes()); in filloutGlyphsAndPositions()
169 this->simplifyDrawText(font, glyphIDs, origin, fPositions); in drawTextUTF8()
186 SkPoint* positions = fPositions; in drawTextBlob()
224 SkPoint* positions = fPositions; in textBlobToGlyphRunListIgnoringRSXForm()
283 fPositions.reset(fMaxTotalRunSize); in initialize()
DSkGlyphRunPainter.cpp187 fPositions, in drawForBitmapDevice()
192 fPositions, in drawForBitmapDevice()
241 fPositions, in drawForBitmapDevice()
246 fPositions, in drawForBitmapDevice()
424 fPositions, in processGlyphRunList()
429 fPositions, in processGlyphRunList()
494 fPositions, in processGlyphRunList()
499 fPositions, in processGlyphRunList()
545 fPositions, in processGlyphRunList()
551 fPositions, in processGlyphRunList()
[all …]
DSkGlyphRun.h39 SkSpan<const SkPoint> positions() const { return fPositions; } in positions()
47 const SkSpan<const SkPoint> fPositions;
165 SkAutoTMalloc<SkPoint> fPositions; variable
/third_party/flutter/skia/modules/skparagraph/src/
DRun.cpp36 fPositions.push_back_n(info.glyphCount + 1); in Run()
42 fPositions[info.glyphCount] = fOffset + fAdvance; in Run()
47 return {fGlyphs.data(), fPositions.data(), nullptr, fClusterIndexes.data(), fOffset}; in newRunBuffer()
58 return fPositions[end].fX - fPositions[start].fX + offset + correction; in calculateWidth()
68 auto point = fPositions[i + pos]; in copyTo()
77 sk_careful_memcpy(blobBuffer.points(), fPositions.data() + pos, size * sizeof(SkPoint)); in copyTo()
257 return fPositions[pos].fX + fOffsets[pos] + fMaster->posShift(fIndex, pos); in positionX()
/third_party/icu/icu4c/source/common/
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/third_party/externals/icu/source/common/
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/node/deps/icu-small/source/common/
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/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h338 const float *fPositions; variable
702 return fPositions; in getPositions()
726 …: UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), … in VisualRun()
732 …: UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), … in VisualRun()
740 fGlyphs(glyphs), fPositions(positions), fGlyphToCharMap(glyphToCharMap) in VisualRun()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Drbbitblb.cpp583 failState->fPositions = new UVector(*fStatus); in buildStateTable()
584 if (failState->fPositions == NULL) { in buildStateTable()
587 if (failState->fPositions == NULL || U_FAILURE(*fStatus)) { in buildStateTable()
604 initialState->fPositions = new UVector(*fStatus); in buildStateTable()
605 if (initialState->fPositions == NULL) { in buildStateTable()
611 setAdd(initialState->fPositions, fTree->fFirstPosSet); in buildStateTable()
645 for (px=0; px<T->fPositions->size(); px++) { in buildStateTable()
646 p = (RBBINode *)T->fPositions->elementAt(px); in buildStateTable()
668 if (setEquals(U, temp2->fPositions)) { in buildStateTable()
670 U = temp2->fPositions; in buildStateTable()
[all …]
/third_party/flutter/skia/tests/
DShaperTest.cpp26 std::unique_ptr<SkPoint[]> fPositions; member
41 fPositions.reset(new SkPoint[info.glyphCount]); in runBuffer()
44 fPositions.get(), in runBuffer()
/third_party/skia/tests/
DShaperTest.cpp26 std::unique_ptr<SkPoint[]> fPositions; member
41 fPositions = std::make_unique<SkPoint[]>(info.glyphCount); in runBuffer()
44 fPositions.get(), in runBuffer()
/third_party/skia/modules/skparagraph/src/
DRun.cpp41 fPositions.push_back_n(info.glyphCount + 1); in Run()
50 fPositions[info.glyphCount] = fOffset + fAdvance; in Run()
80 return {fGlyphs.data(), fPositions.data(), nullptr, fClusterIndexes.data(), fOffset}; in newRunBuffer()
93 sk_careful_memcpy(blobBuffer.points(), fPositions.data() + pos, size * sizeof(SkPoint)); in copyTo()
96 auto point = fPositions[i + pos]; in copyTo()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
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()
695 if (sd.fPositions.contains(endMarker)) { in flagAcceptingStates()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
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.contains(endMarker)) { in flagAcceptingStates()
[all …]

12