Home
last modified time | relevance | path

Searched refs:textSize (Results 26 - 39 of 39) sorted by relevance

12

/third_party/skia/src/ports/
H A DSkTypeface_mac_ct.h60 SkUniqueCFRef<CTFontRef> SkCTFontCreateExactCopy(CTFontRef baseFont, CGFloat textSize,
H A DSkScalerContext_mac_ct.cpp143 CGFloat textSize = SkScalarToCGFloat(scale.y()); in SkScalerContext_Mac() local
144 fCTFont = SkCTFontCreateExactCopy(ctFont, textSize, in SkScalerContext_Mac()
H A DSkTypeface_mac_ct.cpp178 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 DSkRemoteGlyphCacheTest.cpp767 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 DTextBlobTest.cpp336 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 DSkFont.cpp134 SkScalar textSize = fSize; in setupForAsPaths() local
136 return textSize / SkFontPriv::kCanonicalTextSizeForPaths; in setupForAsPaths()
H A DSkGlyphRun.cpp261 SkSpan<const char>(it.text(), it.textSize()), in blobToGlyphRunList()
/third_party/skia/gm/
H A Dtypeface.cpp232 for (const SkScalar& textSize : textSizes) { in draw_typeface_rendering_gm()
234 font.setSize(textSize); in draw_typeface_rendering_gm()
H A Dstrokefill.cpp255 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 DSkFont.h251 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 DcanvasBackend.js136 if ('textSize' in paint) {
137 font += " " + paint.textSize;
H A DsvgBackend.js200 if ('textSize' in paint) {
201 svgElement.setAttribute("font-size", paint.textSize);
/third_party/skia/tools/viewer/
H A DViewer.cpp1324 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 DSkPDFDevice.cpp849 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()

Completed in 16 milliseconds

12