/third_party/skia/src/utils/ |
D | SkShadowTessellator.cpp | 37 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 …]
|
D | SkShaperJSONWriter.cpp | 30 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()
|
D | SkShaperJSONWriter.h | 62 std::vector<SkPoint> fPositions; variable
|
/third_party/skia/gm/ |
D | drawglyphs.cpp | 33 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/ |
D | SkGlyphBuffer.cpp | 20 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()
|
D | SkGlyphBuffer.h | 181 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
|
D | SkVertices.cpp | 133 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() 292 buffer.writeByteArray(fVertices->fPositions, sizes.fVSize); in encode()
|
D | SkGlyphRun.cpp | 197 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()
|
D | SkVerticesPriv.h | 32 const SkPoint* positions() const { return fVertices->fPositions; } in positions()
|
/third_party/skia/experimental/sktext/src/ |
D | LogicalRun.h | 16 … 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
|
D | VisualRun.h | 27 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
|
D | LogicalRun.cpp | 20 fPositions.push_back_n(info.glyphCount + 1); in LogicalRun()
|
/third_party/skia/modules/skparagraph/src/ |
D | Run.cpp | 32 , fPositions(fGlyphData->positions) in Run() 46 fPositions.push_back_n(info.glyphCount + 1); in Run() 54 fPositions[info.glyphCount] = fOffset + fAdvance; in Run() 85 return {fGlyphs.data(), fPositions.data(), fOffsets.data(), fClusterIndexes.data(), fOffset}; in newRunBuffer() 94 auto point = fPositions[i + pos]; in copyTo() 174 fPositions[i].fX += shift; in addSpacesEvenly() 177 fPositions[this->size()].fX += shift; in addSpacesEvenly() 186 fPositions[i].fX += shift; in addSpacesEvenly() 188 fPositions[i].fX += space / 2; // offset by space / 2 in addSpacesEvenly() 194 fPositions[cluster->endPos()].fX += shift; in addSpacesEvenly() [all …]
|
D | Run.h | 82 SkScalar posX(size_t index) const { return fPositions[index].fX; } in posX() 83 void addX(size_t index, SkScalar shift) { fPositions[index].fX += shift; } in addX() 84 SkScalar posY(size_t index) const { return fPositions[index].fY; } in posY() 160 return SkSpan<const SkPoint>(fPositions.begin(), fPositions.size()); in positions() 221 SkSTArray<64, SkPoint, true>& fPositions; variable
|
/third_party/skia/modules/skparagraph/tests/ |
D | SkShaperJSONWriter.cpp | 37 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()
|
D | SkShaperJSONWriter.h | 63 std::vector<SkPoint> fPositions; variable
|
/third_party/node/deps/icu-small/source/common/ |
D | rbbitblb.cpp | 580 failState->fPositions = new UVector(*fStatus); in buildStateTable() 581 if (failState->fPositions == nullptr) { in buildStateTable() 584 if (failState->fPositions == nullptr || U_FAILURE(*fStatus)) { in buildStateTable() 601 initialState->fPositions = new UVector(*fStatus); in buildStateTable() 602 if (initialState->fPositions == nullptr) { 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/skia/third_party/externals/icu/source/common/ |
D | rbbitblb.cpp | 579 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/icu/icu4c/source/common/ |
D | rbbitblb.cpp | 580 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/ |
D | ParagraphLayout.h | 338 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/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | RBBITableBuilder.java | 47 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 …]
|
D | RuleBasedBreakIterator.java | 725 int[] fPositions; field in RuleBasedBreakIterator.LookAheadResults 730 fPositions = new int[kMaxLookaheads]; in LookAheadResults() 737 return fPositions[i]; in getPosition() 748 fPositions[i] = position; in setPosition() 757 fPositions[i] = position; in setPosition()
|
/third_party/skia/tests/ |
D | ShaperTest.cpp | 26 std::unique_ptr<SkPoint[]> fPositions; member 41 fPositions = std::make_unique<SkPoint[]>(info.glyphCount); in runBuffer() 44 fPositions.get(), in runBuffer()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RBBITableBuilder.java | 46 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 …]
|
/third_party/skia/modules/skshaper/tests/ |
D | ShaperTest.cpp | 32 std::unique_ptr<SkPoint[]> fPositions; member 51 fPositions = std::make_unique<SkPoint[]>(info.glyphCount); in runBuffer() 54 fPositions.get(), in runBuffer()
|