Searched refs:scalingFactor (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | SVGTextMetrics.cpp | 49 float scalingFactor = textRenderer->scalingFactor(); in SVGTextMetrics() local 50 ASSERT(scalingFactor); in SVGTextMetrics() 56 m_width = scaledFont.width(run, length, m_glyph) / scalingFactor; in SVGTextMetrics() 57 m_height = scaledFont.fontMetrics().floatHeight() / scalingFactor; in SVGTextMetrics() 118 float scalingFactor = text->scalingFactor(); in SVGTextMetrics() local 119 ASSERT(scalingFactor); in SVGTextMetrics() 121 m_width = width / scalingFactor; in SVGTextMetrics() 122 m_height = text->scaledFont().fontMetrics().floatHeight() / scalingFactor; in SVGTextMetrics()
|
D | SVGInlineTextBox.cpp | 91 float scalingFactor = textRenderer.scalingFactor(); in offsetForPositionInFragment() local 92 ASSERT(scalingFactor); in offsetForPositionInFragment() 106 …t() + textRenderer.scaledFont().offsetForPosition(textRun, position * scalingFactor, includePartia… in offsetForPositionInFragment() 125 float scalingFactor = textRenderer.scalingFactor(); in selectionRectForTextFragment() local 126 ASSERT(scalingFactor); in selectionRectForTextFragment() 131 if (scalingFactor != 1) in selectionRectForTextFragment() 132 textOrigin.scale(scalingFactor, scalingFactor); in selectionRectForTextFragment() 136 …Text(constructTextRun(style, fragment), textOrigin, fragment.height * scalingFactor, startPosition… in selectionRectForTextFragment() 137 if (scalingFactor == 1) in selectionRectForTextFragment() 140 selectionRect.scale(1 / scalingFactor); in selectionRectForTextFragment() [all …]
|
D | RenderSVGInlineText.cpp | 216 …FontForStyle(RenderObject* renderer, const RenderStyle* style, float& scalingFactor, Font& scaledF… in computeNewScaledFontForStyle() argument 222 scalingFactor = SVGRenderingContext::calculateScreenFontSizeScalingFactor(renderer); in computeNewScaledFontForStyle() 223 if (style->effectiveZoom() == 1 && (scalingFactor == 1 || !scalingFactor)) { in computeNewScaledFontForStyle() 224 scalingFactor = 1; in computeNewScaledFontForStyle() 230 scalingFactor = 1; in computeNewScaledFontForStyle() 236 …setComputedSize(FontSize::getComputedSizeFromSpecifiedSize(&document, scalingFactor, fontDescripti… in computeNewScaledFontForStyle()
|
D | SVGTextQuery.cpp | 414 float scalingFactor = queryData->textRenderer->scalingFactor(); in calculateGlyphBoundaries() local 415 ASSERT(scalingFactor); in calculateGlyphBoundaries() 417 …, fragment.y - queryData->textRenderer->scaledFont().fontMetrics().floatAscent() / scalingFactor)); in calculateGlyphBoundaries() 438 float scalingFactor = textRenderer.scalingFactor(); in calculateFragmentBoundaries() local 439 ASSERT(scalingFactor); in calculateFragmentBoundaries() 440 float baseline = textRenderer.scaledFont().fontMetrics().floatAscent() / scalingFactor; in calculateFragmentBoundaries()
|
D | RenderSVGInlineText.h | 38 float scalingFactor() const { return m_scalingFactor; } in scalingFactor() function 41 …omputeNewScaledFontForStyle(RenderObject*, const RenderStyle*, float& scalingFactor, Font& scaledF…
|
D | RenderSVGResourceContainer.cpp | 243 float scalingFactor = SVGRenderingContext::calculateScreenFontSizeScalingFactor(object); in shouldTransformOnTextPainting() local 244 if (scalingFactor == 1) in shouldTransformOnTextPainting() 246 resourceTransform.scale(scalingFactor); in shouldTransformOnTextPainting()
|
/external/chromium_org/third_party/libjpeg_turbo/ |
D | turbojpeg.h | 496 #define TJSCALED(dimension, scalingFactor) ((dimension * scalingFactor.num \ argument 497 + scalingFactor.denom - 1) / scalingFactor.denom)
|
/external/chromium_org/third_party/WebKit/Source/core/timing/ |
D | MemoryInfo.cpp | 100 … const float scalingFactor = exp(log(largestBucketSize / sizeOfNextBucket) / numberOfBuckets); in quantizeMemorySize() local 109 sizeOfNextBucket *= scalingFactor; in quantizeMemorySize()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
D | SyncSampleIntersectFinderImpl.java | 276 final long scalingFactor = calculateTracktimesScalingFactor(m, track); in getTimes() local 280 syncSampleTimes[currentSyncSampleIndex++] = currentDuration * scalingFactor; in getTimes()
|