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 new 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 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));
H A DFontMgrTest.cpp13 #include "SkFont.h"
22 SkAutoTUnref<SkFont> font(SkFont::Create(nullptr, 24, SkFont::kA8_MaskType, flags));
28 REPORTER_ASSERT(reporter, SkFont::kA8_MaskType == font->getMaskType());
42 SkAutoTUnref<SkFont> newFont(font->cloneWithSize(36));
50 font.reset(SkFont::Testing_CreateFromPaint(paint));
53 REPORTER_ASSERT(reporter, SkFont::kBW_MaskType == font->getMaskType());
/external/skia/
H A DAndroid.mk160 src/core/SkFont.cpp \

Completed in 65 milliseconds