OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fontMetrics
(Results
1 - 25
of
57
) sorted by null
1
2
3
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextLayoutEngineBaseline.cpp
53
return -m_font.
fontMetrics
().floatHeight() / 2;
55
return m_font.
fontMetrics
().floatHeight() / 2;
126
const
FontMetrics
&
fontMetrics
= m_font.
fontMetrics
();
134
return
fontMetrics
.floatAscent();
136
return
fontMetrics
.xHeight() / 2;
138
return (
fontMetrics
.floatAscent() -
fontMetrics
.floatDescent()) / 2;
142
return
fontMetrics
.floatDescent()
[
all
...]
SVGTextMetrics.cpp
55
m_height = scaledFont.
fontMetrics
().floatHeight() / scalingFactor;
113
m_height = text->scaledFont().
fontMetrics
().floatHeight() / scalingFactor;
SVGTextLayoutEngineSpacing.cpp
75
kerning *= m_font.size() / m_font.
fontMetrics
().unitsPerEm();
/external/chromium_org/third_party/WebKit/Source/web/
WebFontImpl.cpp
67
return m_font.
fontMetrics
().ascent();
72
return m_font.
fontMetrics
().descent();
77
return m_font.
fontMetrics
().height();
82
return m_font.
fontMetrics
().lineSpacing();
87
return m_font.
fontMetrics
().xHeight();
ExternalPopupMenu.cpp
187
info->itemHeight = m_popupMenuClient->menuStyle().font().
fontMetrics
().height();
/external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFontData.cpp
91
FontMetrics
&
fontMetrics
= fontData->
fontMetrics
();
92
fontMetrics
.setUnitsPerEm(unitsPerEm);
93
fontMetrics
.setAscent(ascent);
94
fontMetrics
.setDescent(descent);
95
fontMetrics
.setLineGap(lineGap);
96
fontMetrics
.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap));
97
fontMetrics
.setXHeight(xHeight);
SVGLengthContext.cpp
35
#include "platform/fonts/
FontMetrics
.h"
258
float xHeight = ceilf(style->
fontMetrics
().xHeight());
277
return value * ceilf(style->
fontMetrics
().xHeight());
/external/chromium_org/third_party/WebKit/Source/core/platform/
DragImage.cpp
32
#include "platform/fonts/
FontMetrics
.h"
141
IntSize labelSize(labelFont.width(labelRun), labelFont.
fontMetrics
().ascent() + labelFont.
fontMetrics
().descent());
153
urlStringSize.setHeight(urlFont.
fontMetrics
().ascent() + urlFont.
fontMetrics
().descent());
181
IntPoint textPos(kDragLabelBorderX, imageSize.height() - (kLabelBorderYOffset + urlFont.
fontMetrics
().descent()));
/external/chromium_org/third_party/WebKit/Source/core/rendering/
EllipsisBox.cpp
51
FloatPoint textOrigin = FloatPoint(boxOrigin.x(), boxOrigin.y() + font.
fontMetrics
().ascent());
126
y() + style->
fontMetrics
().ascent() - (markupBox->y() + markupBox->renderer()->style(isFirstLineStyle())->
fontMetrics
().ascent()));
171
LayoutUnit mty = adjustedLocation.y() + style->
fontMetrics
().ascent() - (markupBox->y() + markupBox->renderer()->style(isFirstLineStyle())->
fontMetrics
().ascent());
RenderEmbeddedObject.cpp
154
const
FontMetrics
&
fontMetrics
= font.
fontMetrics
();
156
float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() -
fontMetrics
.height()) / 2 +
fontMetrics
.ascent());
RootInlineBox.cpp
362
LayoutUnit lineGridFontAscent = lineGrid->style()->
fontMetrics
().ascent(baselineType());
369
LayoutUnit currentFontAscent = block()->style()->
fontMetrics
().ascent(baselineType());
[
all
...]
InlineBox.cpp
28
#include "platform/fonts/
FontMetrics
.h"
125
return m_bitfields.isText() ? renderer()->style(isFirstLineStyle())->
fontMetrics
().height() : 0;
131
const
FontMetrics
&
fontMetrics
= renderer()->style(isFirstLineStyle())->
fontMetrics
();
132
float result =
fontMetrics
.height();
RenderImage.cpp
133
IntSize paddedTextSize(paddingWidth + min(ceilf(font.width(RenderBlockFlow::constructTextRun(this, font, m_altText, style()))), maxAltTextWidth), paddingHeight + min(font.
fontMetrics
().height(), maxAltTextHeight));
355
const
FontMetrics
&
fontMetrics
= font.
fontMetrics
();
356
LayoutUnit ascent =
fontMetrics
.ascent();
366
textRunPaintInfo.bounds = FloatRect(textRectOrigin, FloatSize(textWidth,
fontMetrics
.height()));
369
if (usableWidth >= textWidth &&
fontMetrics
.height() <= imageOffset.height())
371
} else if (usableWidth >= textWidth && usableHeight >=
fontMetrics
.height())
RenderInline.cpp
218
|| (checkFonts && (!parentStyle->font().
fontMetrics
().hasIdenticalAscentDescentAndLineGap(style()->font().
fontMetrics
())
226
alwaysCreateLineBoxes = !parentStyle->font().
fontMetrics
().hasIdenticalAscentDescentAndLineGap(childStyle->font().
fontMetrics
())
564
int logicalTop = rootBox->logicalTop() + (rootBox->renderer()->style(rootBox->isFirstLineStyle())->font().
fontMetrics
().ascent() - container->style(rootBox->isFirstLineStyle())->font().
fontMetrics
().ascent());
565
int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().
fontMetrics
().height();
579
int logicalTop = rootBox->logicalTop() + (rootBox->renderer()->style(rootBox->isFirstLineStyle())->font().
fontMetrics
().ascent() - container->style(rootBox->isFirstLineStyle())->font().
fontMetrics
().ascent());
580
int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().
fontMetrics
().height()
[
all
...]
RenderFileUploadControl.cpp
135
textY - style()->
fontMetrics
().ascent(),
137
style()->
fontMetrics
().height());
RenderListMarker.cpp
[
all
...]
InlineTextBox.cpp
631
FloatPoint textOrigin = FloatPoint(boxOrigin.x(), boxOrigin.y() + font.
fontMetrics
().ascent());
687
emphasisMarkOffset = emphasisMarkPosition == TextEmphasisPositionOver ? -font.
fontMetrics
().ascent() - font.emphasisMarkDescent(emphasisMark) : font.
fontMetrics
().descent() + font.emphasisMarkAscent(emphasisMark);
707
FloatPoint emphasisMarkTextOrigin = combinedText ? FloatPoint(boxOrigin.x() + boxRect.width() / 2, boxOrigin.y() + font.
fontMetrics
().ascent()) : textOrigin;
[
all
...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
UniscribeHelperTextRun.cpp
62
setAscent(font.
fontMetrics
().ascent());
134
m_ascents.append(simpleFontData->
fontMetrics
().ascent());
FontWin.cpp
90
const
FontMetrics
& metrics = font->
fontMetrics
();
191
state.draw(graphicsContext, primaryFont()->platformData(), hdc, lroundf(point.x()), lroundf(point.y() -
fontMetrics
().ascent()), runInfo.bounds, runInfo.from, runInfo.to);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
SimpleFontData.h
31
#include "platform/fonts/
FontMetrics
.h"
107
FontMetrics
&
fontMetrics
() { return m_fontMetrics; }
108
const
FontMetrics
&
fontMetrics
() const { return m_fontMetrics; }
109
float sizePerUnit() const { return platformData().size() / (
fontMetrics
().unitsPerEm() ?
fontMetrics
().unitsPerEm() : 1); }
194
FontMetrics
m_fontMetrics;
Font.h
50
class
FontMetrics
;
135
const
FontMetrics
&
fontMetrics
() const { return primaryFont()->
fontMetrics
(); }
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontMac.cpp
123
y += SkFloatToScalar(font->
fontMetrics
().floatAscent(IdeographicBaseline) - font->
fontMetrics
().floatAscent());
FontComplexTextMac.cpp
139
glyphOverflow->top = max<int>(glyphOverflow->top, ceilf(-controller.minGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 :
fontMetrics
().ascent()));
140
glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 :
fontMetrics
().descent()));
/external/chromium_org/third_party/skia/src/pdf/
SkPDFFont.cpp
802
SkAutoTUnref<SkAdvancedTypefaceMetrics>
fontMetrics
;
806
fontMetrics
.reset(relatedFont->fontInfo());
807
SkSafeRef(
fontMetrics
.get());
814
fontMetrics
.get() ?
fontMetrics
.get()->fType :
831
fontMetrics
.reset(
834
if (
fontMetrics
.get() &&
835
fontMetrics
->fType != SkAdvancedTypefaceMetrics::kTrueType_Font) {
839
fontMetrics
.reset(
845
SkPDFFont* font = Create(
fontMetrics
.get(), typeface, glyphID
[
all
...]
/external/skia/src/pdf/
SkPDFFont.cpp
802
SkAutoTUnref<SkAdvancedTypefaceMetrics>
fontMetrics
;
806
fontMetrics
.reset(relatedFont->fontInfo());
807
SkSafeRef(
fontMetrics
.get());
814
fontMetrics
.get() ?
fontMetrics
.get()->fType :
831
fontMetrics
.reset(
834
if (
fontMetrics
.get() &&
835
fontMetrics
->fType != SkAdvancedTypefaceMetrics::kTrueType_Font) {
839
fontMetrics
.reset(
845
SkPDFFont* font = Create(
fontMetrics
.get(), typeface, glyphID
[
all
...]
Completed in 2570 milliseconds
1
2
3