diff options
author | 2010-11-11 21:37:00 +0000 | |
---|---|---|
committer | 2010-11-11 21:37:00 +0000 | |
commit | 28be72b63e457c680c192a34fb9f58e1c693363f (patch) | |
tree | 4c092ef6116c3cf8a9b08d05d02762b7969f9288 /include/core/SkPaint.h | |
parent | 8c1d88dcfb978835779b6b5c5e7d1cbb78b6ca4d (diff) |
PDF: Add text support with a font framework (font embedding to come).
Supports fakeBold, underline, strikethrough, mode (fill, stroke, both), size, skew, alignment (left, center, right).
Missing is drawFontOnPath and font lookup and embedding.
Changed SkPDFString to support how it is used from drawText methods.
Moved compile assert into SkTypes.
Moved constants and utility function used to support fakeBold, underline, and strikethrough into higher level locations.
Review URL: http://codereview.appspot.com/2946041
git-svn-id: http://skia.googlecode.com/svn/trunk@624 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkPaint.h')
-rw-r--r-- | include/core/SkPaint.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index 722bc5d851..16411d5886 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h @@ -863,9 +863,10 @@ private: enum { kCanonicalTextSizeForPaths = 64 }; + friend class SkAutoGlyphCache; friend class SkCanvas; friend class SkDraw; - friend class SkAutoGlyphCache; + friend class SkPDFDevice; friend class SkTextToPathIter; }; |