Searched refs:SkFont (Results 1 - 5 of 5) sorted by relevance

/external/skia/src/core/
H A DSkFont.cpp8 #include "SkFont.h"
16 SkFont::SkFont(SkTypeface* face, SkScalar size, SkScalar scaleX, SkScalar skewX, MaskType mt, function in class:SkFont
31 SkFont* SkFont::Create(SkTypeface* face, SkScalar size, SkScalar scaleX, SkScalar skewX,
43 return SkNEW_ARGS(SkFont, (face, size, scaleX, skewX, mt, flags));
46 SkFont* SkFont::Create(SkTypeface* face, SkScalar size, MaskType mt, uint32_t flags) {
47 return SkFont::Create(face, size, 1, 0, mt, flags);
50 SkFont* SkFon
[all...]
/external/skia/include/core/
H A DSkFont.h25 1. The Hinting enum in SkPaint is gone entirely, absorbed into SkFont's flags.
45 SkFont would absorb these:
66 SkFont has a mask-type: BW, AA, LCD
73 class SkFont : public SkRefCnt { class in inherits:SkRefCnt
120 static SkFont* Create(SkTypeface*, SkScalar size, MaskType, uint32_t flags);
121 static SkFont* Create(SkTypeface*, SkScalar size, SkScalar scaleX, SkScalar skewX,
128 SkFont* cloneWithSize(SkScalar size) const;
148 static SkFont* Testing_CreateFromPaint(const SkPaint&);
155 SkFont(SkTypeface*, SkScalar size, SkScalar scaleX, SkScalar skewX, MaskType, uint32_t flags);
156 virtual ~SkFont();
[all...]
/external/skia/tests/
H A DFontMgrTest.cpp13 #include "SkFont.h"
17 SkAutoTUnref<SkFont> font(SkFont::Create(NULL, 24, SkFont::kA8_MaskType, flags));
23 REPORTER_ASSERT(reporter, SkFont::kA8_MaskType == font->getMaskType());
37 SkAutoTUnref<SkFont> newFont(font->cloneWithSize(36));
45 font.reset(SkFont::Testing_CreateFromPaint(paint));
48 REPORTER_ASSERT(reporter, SkFont::kBW_MaskType == font->getMaskType());
H A DFontObjTest.cpp8 #include "SkFont.h"
26 SkAutoTUnref<SkFont> font(SkFont::Testing_CreateFromPaint(paint));
28 // Currently SkFont resolves null into the default, so only test if paint's is not null
106 SkAutoTUnref<SkFont> font(SkFont::Testing_CreateFromPaint(paint));
/external/skia/
H A DAndroid.mk146 src/core/SkFont.cpp \

Completed in 88 milliseconds