Home
last modified time | relevance | path

Searched refs:CreateFromFile (Results 1 – 8 of 8) sorted by relevance

/external/skia/samplecode/
DSamplePdfFileViewer.cpp40 SkAutoTDelete<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(path)); in LoadPdf()
DSampleAnimatedText.cpp76 SkSafeUnref(paint.setTypeface(SkTypeface::CreateFromFile("/skimages/samplefont.ttf"))); in onDrawContent()
DSampleText.cpp127 SkSafeUnref(paint.setTypeface(SkTypeface::CreateFromFile("/skimages/samplefont.ttf"))); in onDrawContent()
DClockFaceView.cpp178 fFace = SkTypeface::CreateFromFile("/Users/reed/Downloads/p052024l.pfb"); in ClockFaceView()
/external/skia/include/core/
DSkTypeface.h128 static SkTypeface* CreateFromFile(const char path[], int index = 0);
/external/skia/src/core/
DSkTypeface.cpp156 SkTypeface* SkTypeface::CreateFromFile(const char path[], int index) { in CreateFromFile() function in SkTypeface
/external/skia/tools/
Dcreate_test_font.cpp346 SkTypeface* resourceTypeface = SkTypeface::CreateFromFile(filepath.c_str()); in generate_fonts()
/external/skia/tests/
DSerializationTest.cpp358 SkAutoTUnref<SkTypeface> typeface(SkTypeface::CreateFromFile(filename.c_str(), 1)); in TestPictureTypefaceSerialization()