Searched refs:scalingFactor (Results 1 - 8 of 8) sorted by relevance

/external/webkit/Source/WebCore/rendering/svg/
H A DSVGInlineTextBox.cpp63 float scalingFactor = textRenderer->scalingFactor(); local
64 ASSERT(scalingFactor);
78 return fragment.characterOffset - start() + textRenderer->scaledFont().offsetForPosition(textRun, position * scalingFactor, includePartialGlyphs);
96 float scalingFactor = textRenderer->scalingFactor(); local
97 ASSERT(scalingFactor);
102 if (scalingFactor != 1)
103 textOrigin.scale(scalingFactor, scalingFactor);
334 acquirePaintingResource(GraphicsContext*& context, float scalingFactor, RenderObject* renderer, RenderStyle* style) argument
381 prepareGraphicsContextForTextPainting(GraphicsContext*& context, float scalingFactor, TextRun& textRun, RenderStyle* style) argument
556 float scalingFactor = 1; local
606 float scalingFactor = textRenderer->scalingFactor(); local
718 float scalingFactor = textRenderer->scalingFactor(); local
[all...]
H A DSVGTextMetrics.cpp41 float scalingFactor = textRenderer->scalingFactor(); local
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;
H A DRenderSVGInlineText.h43 float scalingFactor() const { return m_scalingFactor; } function in class:WebCore::RenderSVGInlineText
46 static void computeNewScaledFontForStyle(RenderObject*, const RenderStyle*, float& scalingFactor, Font& scaledFont);
H A DSVGInlineTextBox.h69 bool acquirePaintingResource(GraphicsContext*&, float scalingFactor, RenderObject*, RenderStyle*);
72 bool prepareGraphicsContextForTextPainting(GraphicsContext*&, float scalingFactor, TextRun&, RenderStyle*);
H A DRenderSVGInlineText.cpp230 void RenderSVGInlineText::computeNewScaledFontForStyle(RenderObject* renderer, const RenderStyle* style, float& scalingFactor, Font& scaledFont) argument
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);
H A DSVGTextQuery.cpp470 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/
H A DWKPrintingView.mm131 CGFloat scale = [info scalingFactor];
529 CGFloat scale = [printInfo scalingFactor];
/external/webkit/Source/WebCore/svg/
H A DSVGFont.cpp552 context->setStrokeThickness(context->strokeThickness() * textRenderer->scalingFactor());

Completed in 194 milliseconds