Lines Matching defs:ContentEntry
218 // ContentEntry. This is the one currently in effect, or NULL if none.
600 struct ContentEntry {
603 SkAutoTDelete<ContentEntry> fNext;
607 ~ContentEntry() {
608 ContentEntry* val = fNext.detach();
610 ContentEntry* valNext = val->fNext.detach();
618 // A helper class to automatically finish a ContentEntry at the end of a
651 ContentEntry* entry() { return fContentEntry; }
689 ContentEntry* fContentEntry;
841 ContentEntry* contentEntry) {
842 if (!contentEntry) {
848 if (!contentEntry->fState.fMatrix.invert(&inverse)) {
853 SkPDFUtils::AppendRectangle(bbox, &contentEntry->fContent);
855 &contentEntry->fContent);
1399 ContentEntry* SkPDFDevice::getLastContentEntry() {
1407 SkAutoTDelete<ContentEntry>* SkPDFDevice::getContentEntries() {
1415 void SkPDFDevice::setLastContentEntry(ContentEntry* contentEntry) {
1417 fLastContentEntry = contentEntry;
1419 fLastMarginContentEntry = contentEntry;
1492 void SkPDFDevice::copyContentEntriesToData(ContentEntry* entry,
1782 ContentEntry* SkPDFDevice::setUpContentEntry(const SkClipStack* clipStack,
1845 ContentEntry* entry;
1846 SkAutoTDelete<ContentEntry> newEntry;
1848 ContentEntry* lastContentEntry = getLastContentEntry();
1852 newEntry.reset(new ContentEntry);
1863 SkAutoTDelete<ContentEntry>* contentEntries = getContentEntries();
1896 ContentEntry* firstContentEntry = getContentEntries()->get();
1901 SkAutoTDelete<ContentEntry>* contentEntries = getContentEntries();
1912 ContentEntry* contentEntries = getContentEntries()->get();
2035 ContentEntry* contentEntries = getContentEntries()->get();
2156 ContentEntry* contentEntry) {
2158 if (contentEntry->fState.fFont == NULL ||
2159 contentEntry->fState.fTextSize != paint.getTextSize() ||
2160 !contentEntry->fState.fFont->hasGlyph(glyphID)) {
2162 contentEntry->fContent.writeText("/");
2163 contentEntry->fContent.writeText(SkPDFResourceDict::getResourceName(
2166 contentEntry->fContent.writeText(" ");
2167 SkPDFScalar::Append(paint.getTextSize(), &contentEntry->fContent);
2168 contentEntry->fContent.writeText(" Tf\n");
2169 contentEntry->fState.fFont = fFontResources[fontIndex];