Lines Matching refs:ContentEntry
210 // ContentEntry. This is the one currently in effect, or nullptr if none.
591 struct ContentEntry {
594 SkAutoTDelete<ContentEntry> fNext;
598 ~ContentEntry() {
599 ContentEntry* val = fNext.detach();
601 ContentEntry* valNext = val->fNext.detach();
609 // A helper class to automatically finish a ContentEntry at the end of a
642 ContentEntry* entry() { return fContentEntry; }
680 ContentEntry* fContentEntry;
770 ContentEntry* contentEntry) {
771 if (!contentEntry) {
777 if (!contentEntry->fState.fMatrix.invert(&inverse)) {
782 SkPDFUtils::AppendRectangle(bbox, &contentEntry->fContent);
784 &contentEntry->fContent);
1509 ContentEntry* SkPDFDevice::getLastContentEntry() {
1517 SkAutoTDelete<ContentEntry>* SkPDFDevice::getContentEntries() {
1525 void SkPDFDevice::setLastContentEntry(ContentEntry* contentEntry) {
1527 fLastContentEntry = contentEntry;
1529 fLastMarginContentEntry = contentEntry;
1576 void SkPDFDevice::copyContentEntriesToData(ContentEntry* entry,
1804 ContentEntry* SkPDFDevice::setUpContentEntry(const SkClipStack* clipStack,
1867 ContentEntry* entry;
1868 SkAutoTDelete<ContentEntry> newEntry;
1870 ContentEntry* lastContentEntry = getLastContentEntry();
1874 newEntry.reset(new ContentEntry);
1885 SkAutoTDelete<ContentEntry>* contentEntries = getContentEntries();
1918 ContentEntry* firstContentEntry = getContentEntries()->get();
1923 SkAutoTDelete<ContentEntry>* contentEntries = getContentEntries();
1934 ContentEntry* contentEntries = getContentEntries()->get();
2057 ContentEntry* contentEntries = getContentEntries()->get();
2180 ContentEntry* contentEntry) {
2182 if (contentEntry->fState.fFont == nullptr ||
2183 contentEntry->fState.fTextSize != paint.getTextSize() ||
2184 !contentEntry->fState.fFont->hasGlyph(glyphID)) {
2186 contentEntry->fContent.writeText("/");
2187 contentEntry->fContent.writeText(SkPDFResourceDict::getResourceName(
2190 contentEntry->fContent.writeText(" ");
2191 SkPDFUtils::AppendScalar(paint.getTextSize(), &contentEntry->fContent);
2192 contentEntry
2193 contentEntry->fState.fFont = fFontResources[fontIndex];