Home
last modified time | relevance | path

Searched refs:getFontMetrics (Results 1 – 25 of 53) sorted by relevance

123

/external/skia/gm/
Ddftext.cpp84 y += paint.getFontMetrics(nullptr)*scales[i]; in onDraw()
98 rotY += paint.getFontMetrics(nullptr); in onDraw()
114 y += paint.getFontMetrics(nullptr)*scaleFactor; in onDraw()
159 y += paint.getFontMetrics(nullptr); in onDraw()
173 y += paint.getFontMetrics(nullptr); in onDraw()
Dcolortype.cpp62 canvas->translate(0, paint.getFontMetrics(nullptr)); in onDraw()
Dfontscaler.cpp76 y += paint.getFontMetrics(nullptr); in onDraw()
Dfontscalerdistortable.cpp81 y += paint.getFontMetrics(nullptr); in onDraw()
/external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/
DGroupBorder.java26 int titleW = gg.getFontMetrics().stringWidth(title) + 20; in paintBorder()
27 int titleDescent = gg.getFontMetrics().getDescent(); in paintBorder()
/external/skia/samplecode/
DSampleFontCache.cpp30 paint.getFontMetrics(&m); in call_measure()
54 paint.getFontMetrics(&m); in call_draw()
DSampleTextAlpha.cpp68 y += paint.getFontMetrics(nullptr); in onDrawContent()
DSampleMeasure.cpp38 SkScalar dy = paint.getFontMetrics(nullptr); in doMeasure()
DSampleFontScalerTest.cpp124 y += paint.getFontMetrics(nullptr); in onDrawContent()
DOverView.cpp148 fNameH = fNamePaint.getFontMetrics(&fNameMetrics); in OverView()
DSamplePolyToPoly.cpp107 paint->getFontMetrics(&fm); in doDraw()
DSampleUnpremul.cpp91 SkScalar height = paint.getFontMetrics(nullptr); in onDrawContent()
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java479 public FontMetrics getFontMetrics() in getFontMetrics() method in OverrideGraphics2D
481 return graphics.getFontMetrics(); in getFontMetrics()
484 public FontMetrics getFontMetrics(Font f) in getFontMetrics() method in OverrideGraphics2D
486 return graphics.getFontMetrics(f); in getFontMetrics()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DFontUtils.java30 Paint.FontMetrics metrics = paint.getFontMetrics(); in getFontHeight()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DPixelConverter.java36 fFontMetrics = gc.getFontMetrics(); in PixelConverter()
DDrawUtils.java52 int textStartY = y + (height - gc.getFontMetrics().getHeight()) / 2; in drawStringCV()
63 int textStartY = y + (height - gc.getFontMetrics().getHeight()) / 2; in drawStringCHCV()
139 int count = Math.min(width / gc.getFontMetrics().getAverageCharWidth(), text.length()); in clipString()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDemoTextBox.java24 this.metrics = g.getFontMetrics(); in DemoTextBox()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayBorderPanel.java177 int height = getGraphics().getFontMetrics(font).getHeight(); in getInsets()
416 FontMetrics fm = g.getFontMetrics(); in paint()
/external/skia/src/fonts/
DSkTestScalerContext.cpp127 void SkTestTypeface::getFontMetrics(SkPaint::FontMetrics* metrics) { in getFontMetrics() function in SkTestTypeface
264 fFace->getFontMetrics(metrics); in generateFontMetrics()
DSkTestScalerContext.h65 void getFontMetrics(SkPaint::FontMetrics* metrics);
/external/skia/resources/
Dslides.lua65 local fm = paint:getFontMetrics()
81 local fm = paint:getFontMetrics()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarPanel.java207 FontMetrics fm = g.getFontMetrics(); in paint()
294 fm = g.getFontMetrics(); in paint()
DCalendarFrame.java376 FontMetrics fm = g.getFontMetrics(font); in paint()
392 FontMetrics fm = getFontMetrics(font); in getMinimumSize()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
DTextLabelWidget.java110 float vOffset = labelPaint.getFontMetrics().descent; in doOnDraw()
/external/skia/include/core/
DSkPaint.h789 SkScalar getFontMetrics(FontMetrics* metrics, SkScalar scale = 0) const;
794 SkScalar getFontSpacing() const { return this->getFontMetrics(NULL, 0); } in getFontSpacing()

123