OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scalingFactor
(Results
1 - 9
of
9
) sorted by null
/external/webkit/Source/WebCore/rendering/svg/
SVGTextMetrics.cpp
41
float
scalingFactor
= textRenderer->
scalingFactor
();
42
ASSERT(
scalingFactor
);
49
// Calculate width/height using the scaled font, divide this result by the
scalingFactor
afterwards.
50
m_width = scaledFont.width(run, extraCharsAvailable, length, m_glyph.name) /
scalingFactor
;
51
m_height = scaledFont.fontMetrics().floatHeight() /
scalingFactor
;
SVGInlineTextBox.cpp
63
float
scalingFactor
= textRenderer->
scalingFactor
();
64
ASSERT(
scalingFactor
);
78
return fragment.characterOffset - start() + textRenderer->scaledFont().offsetForPosition(textRun, position *
scalingFactor
, includePartialGlyphs);
96
float
scalingFactor
= textRenderer->
scalingFactor
();
97
ASSERT(
scalingFactor
);
102
if (
scalingFactor
!= 1)
103
textOrigin.scale(
scalingFactor
,
scalingFactor
);
[
all
...]
RenderSVGInlineText.h
43
float
scalingFactor
() const { return m_scalingFactor; }
46
static void computeNewScaledFontForStyle(RenderObject*, const RenderStyle*, float&
scalingFactor
, Font& scaledFont);
SVGInlineTextBox.h
69
bool acquirePaintingResource(GraphicsContext*&, float
scalingFactor
, RenderObject*, RenderStyle*);
72
bool prepareGraphicsContextForTextPainting(GraphicsContext*&, float
scalingFactor
, TextRun&, RenderStyle*);
RenderSVGInlineText.cpp
230
void RenderSVGInlineText::computeNewScaledFontForStyle(RenderObject* renderer, const RenderStyle* style, float&
scalingFactor
, Font& scaledFont)
244
scalingFactor
= narrowPrecisionToFloat(sqrt((pow(ctm.xScale(), 2) + pow(ctm.yScale(), 2)) / 2));
245
if (
scalingFactor
== 1 || !
scalingFactor
) {
246
scalingFactor
= 1;
252
fontDescription.setComputedSize(fontDescription.computedSize() *
scalingFactor
);
SVGTextQuery.cpp
470
float
scalingFactor
= queryData->textRenderer->
scalingFactor
();
471
ASSERT(
scalingFactor
);
473
extent.setLocation(FloatPoint(fragment.x, fragment.y - queryData->textRenderer->scaledFont().fontMetrics().floatAscent() /
scalingFactor
));
/external/webkit/Source/WebKit2/UIProcess/API/mac/
WKPrintingView.mm
131
CGFloat scale = [info
scalingFactor
];
529
CGFloat scale = [printInfo
scalingFactor
];
/external/webkit/Source/WebCore/svg/
SVGFont.cpp
552
context->setStrokeThickness(context->strokeThickness() * textRenderer->
scalingFactor
());
/prebuilt/darwin-x86_64/swt/
swt.jar
Completed in 4682 milliseconds