Home
last modified time | relevance | path

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

/external/skia/gm/
Dbitmapcopy.cpp95 SkScalar textWidth = paint.measureText(name, strlen(name)); in onDraw() local
96 if (textWidth > width) { in onDraw()
97 width = textWidth; in onDraw()
108 SkScalar textWidth = paint.measureText(name, strlen(name)); in onDraw() local
109 SkScalar x = (width - textWidth) / SkScalar(2); in onDraw()
/external/skqp/gm/
Dbitmapcopy.cpp95 SkScalar textWidth = paint.measureText(name, strlen(name)); in onDraw() local
96 if (textWidth > width) { in onDraw()
97 width = textWidth; in onDraw()
108 SkScalar textWidth = paint.measureText(name, strlen(name)); in onDraw() local
109 SkScalar x = (width - textWidth) / SkScalar(2); in onDraw()
/external/skqp/bench/
DPicturePlaybackBench.cpp82 const SkScalar textWidth = paint.measureText(text, len); in recordCanvas() local
84 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) { in recordCanvas()
107 const SkScalar textWidth = paint.measureText(text, len); in recordCanvas() local
112 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) { in recordCanvas()
/external/skia/bench/
DPicturePlaybackBench.cpp82 const SkScalar textWidth = paint.measureText(text, len); in recordCanvas() local
84 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) { in recordCanvas()
107 const SkScalar textWidth = paint.measureText(text, len); in recordCanvas() local
112 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) { in recordCanvas()
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.h70 bool Loader(float textWidth, float& fLinePos, bool bSavePieces);
72 float textWidth,
76 float textWidth,
Dcxfa_textlayout.cpp628 bool CXFA_TextLayout::Loader(float textWidth, in Loader() argument
642 LoadRichText(pXMLContainer, textWidth, fLinePos, pRootStyle, bSavePieces, in Loader()
646 LoadText(m_pTextDataNode, textWidth, fLinePos, bSavePieces); in Loader()
652 float textWidth, in LoadText() argument
655 InitBreak(textWidth); in LoadText()
688 float textWidth, in LoadRichText() argument
735 textWidth, pXMLNode, pParentStyle.Get()); in LoadRichText()
834 if (!LoadRichText(pChildNode, textWidth, fLinePos, in LoadRichText()
/external/ImageMagick/Magick++/lib/Magick++/
DTypeMetric.h46 double textWidth(void) const;
/external/ImageMagick/Magick++/lib/
DTypeMetric.cpp44 double Magick::TypeMetric::textWidth(void) const in textWidth() function in Magick::TypeMetric