/third_party/skia/src/ports/ |
H A D | SkTypeface_mac_ct.h | 60 SkUniqueCFRef<CTFontRef> SkCTFontCreateExactCopy(CTFontRef baseFont, CGFloat textSize,
|
H A D | SkScalerContext_mac_ct.cpp | 143 CGFloat textSize = SkScalarToCGFloat(scale.y()); in SkScalerContext_Mac() local 144 fCTFont = SkCTFontCreateExactCopy(ctFont, textSize, in SkScalerContext_Mac()
|
H A D | SkTypeface_mac_ct.cpp | 178 SkUniqueCFRef<CTFontRef> SkCTFontCreateExactCopy(CTFontRef baseFont, CGFloat textSize, in SkCTFontCreateExactCopy() argument 215 CTFontCreateCopyWithAttributes(baseFont, textSize, nullptr, desc.get())); in SkCTFontCreateExactCopy()
|
/third_party/skia/tests/ |
H A D | SkRemoteGlyphCacheTest.cpp | 767 sk_sp<SkTextBlob> MakeEmojiBlob(sk_sp<SkTypeface> serverTf, SkScalar textSize, in MakeEmojiBlob() argument 771 font.setSize(textSize); in MakeEmojiBlob() 805 for (SkScalar textSize : { 70, 180, 270, 340}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 806 auto serverBlob = MakeEmojiBlob(serverTf, textSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 818 auto clientBlob = MakeEmojiBlob(serverTf, textSize, clientTf); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
H A D | TextBlobTest.cpp | 336 REPORTER_ASSERT(reporter, it.textSize() > 0); in DEF_TEST() 341 REPORTER_ASSERT(reporter, 0 == strncmp(text2, it.text(), it.textSize())); in DEF_TEST()
|
/third_party/skia/src/core/ |
H A D | SkFont.cpp | 134 SkScalar textSize = fSize; in setupForAsPaths() local 136 return textSize / SkFontPriv::kCanonicalTextSizeForPaths; in setupForAsPaths()
|
H A D | SkGlyphRun.cpp | 261 SkSpan<const char>(it.text(), it.textSize()), in blobToGlyphRunList()
|
/third_party/skia/gm/ |
H A D | typeface.cpp | 232 for (const SkScalar& textSize : textSizes) { in draw_typeface_rendering_gm() 234 font.setSize(textSize); in draw_typeface_rendering_gm()
|
H A D | strokefill.cpp | 255 const SkPaint& paint, float textSize) { in path_bold() 259 SkScalar fakeBoldScale = SkScalarInterpFunc(textSize, in path_bold() 262 SkScalar extra = textSize * fakeBoldScale; in path_bold() 254 path_bold(SkCanvas* canvas, const SkPath& path, const SkPaint& paint, float textSize) path_bold() argument
|
/third_party/skia/include/core/ |
H A D | SkFont.h | 251 Has no effect if textSize is not greater than or equal to zero. 253 @param textSize typographic height of text 255 void setSize(SkScalar textSize);
|
/third_party/skia/experimental/docs/ |
H A D | canvasBackend.js | 136 if ('textSize' in paint) { 137 font += " " + paint.textSize;
|
H A D | svgBackend.js | 200 if ('textSize' in paint) { 201 svgElement.setAttribute("font-size", paint.textSize);
|
/third_party/skia/tools/viewer/ |
H A D | Viewer.cpp | 1324 it.textSize()) in filterTextBlob() 1327 it.textSize()) in filterTextBlob() 1329 ? builder.allocRunTextPos(font, it.glyphCount(), it.textSize()) in filterTextBlob() 1331 ? builder.allocRunTextRSXform(font, it.glyphCount(), it.textSize()) in filterTextBlob() 1344 size_t textSize = sizeof(decltype(*it.text())); in filterTextBlob() local 1345 uint32_t textCount = it.textSize(); in filterTextBlob() 1346 memcpy(runBuffer.utf8text, it.text(), textCount * textSize); in filterTextBlob() 2310 float textSize = fFont.getSize(); in drawImGui() local 2311 if (ImGui::DragFloat("TextSize", &textSize, 0.001f, in drawImGui() 2316 fFont.setSize(textSize); in drawImGui() [all...] |
/third_party/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 849 SkScalar textSize = glyphRunFont.getSize(); in internalDrawGlyphRun() local 850 SkScalar advanceScale = textSize * glyphRunFont.getScaleX() / emSize; in internalDrawGlyphRun() 853 SkScalar textScaleY = textSize / emSize; in internalDrawGlyphRun() 947 SkPDFUtils::AppendScalar(textSize, out); in internalDrawGlyphRun()
|