/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/ |
H A D | GlyphMetricsMap.h | 52 void setMetricsForGlyph(Glyph glyph, const T& metrics) argument 54 locatePage(glyph / GlyphMetricsPage::size)->setMetricsForGlyph(glyph, metrics); 63 void setMetricsForGlyph(Glyph glyph, const T& metrics) argument 65 setMetricsForIndex(glyph % size, metrics); 67 void setMetricsForIndex(unsigned index, const T& metrics) argument 69 m_metrics[index] = metrics;
|
/macosx-10.9.5/WebCore-7537.78.1/rendering/svg/ |
H A D | SVGTextLayoutEngineBaseline.cpp | 187 float SVGTextLayoutEngineBaseline::calculateGlyphAdvanceAndOrientation(bool isVerticalText, SVGTextMetrics& metrics, float angle, float& xOrientationShift, float& yOrientationShift) const argument 194 // of 180 degrees, then the current text position is incremented according to the vertical metrics of the glyph. 197 // 180 degrees, then the current text position is incremented according to the horizontal metrics of the glyph. 205 xOrientationShift = (ascentMinusDescent - metrics.width()) / 2; 208 xOrientationShift = (ascentMinusDescent + metrics.width()) / 2; 210 yOrientationShift = metrics.width(); 216 return metrics.width(); 218 return metrics.height(); 223 yOrientationShift = -metrics.width(); 225 xOrientationShift = metrics [all...] |
H A D | SVGTextQuery.cpp | 177 SVGTextMetrics& metrics = textMetricsValues[textMetricsOffset]; 181 positionOffset += metrics.length(); 189 // If the start position maps to a character in the metrics list, we don't need to modify it. 193 // If the start position maps to a character in the metrics list, we don't need to modify it. 214 positionOffset += metrics.length(); 301 SVGTextMetrics metrics = SVGTextMetrics::measureCharacterRange(queryData->textRenderer, fragment.characterOffset + startPosition, endPosition - startPosition); 302 data->subStringLength += queryData->isVerticalText ? metrics.height() : metrics.width(); 339 SVGTextMetrics metrics = SVGTextMetrics::measureCharacterRange(queryData->textRenderer, fragment.characterOffset, startPosition); 341 data->startPosition.move(0, metrics [all...] |
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/win/ |
H A D | FontPlatformDataWin.cpp | 64 OUTLINETEXTMETRICW* metrics = (OUTLINETEXTMETRICW*)malloc(bufferSize); local 66 GetOutlineTextMetricsW(hdc, bufferSize, metrics); 67 WCHAR* faceName = (WCHAR*)((uintptr_t)metrics + (uintptr_t)metrics->otmpFaceName); 71 free(metrics);
|
H A D | SimpleFontDataWin.cpp | 61 // This code comes from FontDataMac.mm. We only ever do this when running regression tests so that our metrics will match Mac. 64 // vertical metrics of their Microsoft counterparts that are the de facto 85 OUTLINETEXTMETRIC metrics; local 86 GetOutlineTextMetrics(hdc, sizeof(metrics), &metrics); 87 TEXTMETRIC& textMetrics = metrics.otmTextMetrics; 106 m_fontMetrics.setUnitsPerEm(metrics.otmEMSquare);
|
/macosx-10.9.5/tcl-102/tk/tk/macosx/ |
H A D | tkMacOSXScrlbr.c | 42 static ScrollbarMetrics metrics[2] = { variable 158 * This function retrieves the current system metrics for a scrollbar. 186 ChkErr(GetThemeMetric, kThemeMetricScrollBarWidth, &metrics[0].width); 188 &metrics[0].minThumbHeight); 191 metrics[0].topArrowHeight = bounds.origin.y; 192 metrics[0].bottomArrowHeight = height - (bounds.origin.y + 194 metrics[0].minHeight = metrics[0].minThumbHeight + 195 metrics[0].topArrowHeight + metrics[ [all...] |
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/ |
H A D | OverridesView.js | 125 // When present, the third element lists device metrics separated by 'x': 238 var metrics = this._selectElement.options[this._selectElement.selectedIndex]._metrics; 239 this._setDeviceMetricsOverride(WebInspector.UserAgentSupport.DeviceMetrics.parseSetting(metrics), false, true); 271 var metrics = WebInspector.UserAgentSupport.DeviceMetrics.parseSetting(metricsSetting); 276 checkboxElement.id = "metrics-override-checkbox"; 281 labelElement.appendChild(document.createTextNode(WebInspector.UIString("Device metrics"))); 283 const metricsSectionElement = this._createDeviceMetricsElement(metrics); 301 var metrics = WebInspector.UserAgentSupport.DeviceMetrics.parseUserInput(this._widthOverrideElement.value, this._heightOverrideElement.value, this._fontScaleFactorOverrideElement.value); 302 if (metrics && metrics [all...] |
H A D | elementsPanel.css | 78 .metrics { 85 .metrics .label { 94 .metrics .position { 103 .metrics .margin { 113 .metrics .border { 123 .metrics .padding { 133 .metrics .content { 147 .metrics .content span { 151 .metrics .editing { 156 .metrics [all...] |
H A D | UserAgentSupport.js | 351 var metrics = WebInspector.UserAgentSupport.DeviceMetrics.parseSetting(this._deviceMetricsOverrideEnabled ? WebInspector.settings.deviceMetrics.get() : ""); 352 if (metrics.isValid()) 353 PageAgent.setDeviceMetricsOverride(metrics.width, metrics.height, metrics.fontScaleFactor, WebInspector.settings.deviceFitWindow.get());
|
H A D | CodeMirrorTextEditor.js | 106 var metrics = this._codeMirror.cursorCoords(CodeMirror.Pos(lineNumber, column)); 109 x: metrics.left, 110 y: metrics.top, 111 height: metrics.bottom - metrics.top
|
H A D | ElementsPanel.js | 84 this.sidebarPanes.metrics = new WebInspector.MetricsSidebarPane(); 90 this.sidebarPanes.metrics.addEventListener(WebInspector.SidebarPane.EventTypes.wasShown, this.updateMetrics.bind(this)); 96 this.sidebarPanes.metrics.addEventListener("metrics edited", this._metricsPaneEdited, this); 567 this.sidebarPanes.metrics.needsUpdate = true; 573 // Once metrics are edited, the Styles pane should be updated. 984 var metricsSidebarPane = this.sidebarPanes.metrics; 1143 this.sidebarPanes.metrics.show(splitView.secondElement()); 1144 this.sidebarPanes.metrics.setExpandCallback(expandComposite); 1147 splitView.secondElement().addStyleClass("metrics [all...] |
/macosx-10.9.5/tcl-102/tk84/tk/macosx/ |
H A D | tkMacOSXScrlbr.c | 67 static ScrollbarMetrics metrics[2] = { variable 107 * This function initializes the current system metrics for a 128 ChkErr(GetThemeMetric, kThemeMetricScrollBarWidth, &metrics[0].width); 130 &metrics[0].minThumbHeight); 133 metrics[0].topArrowHeight = bounds.top; 134 metrics[0].bottomArrowHeight = height - bounds.bottom; 135 metrics[0].minHeight = metrics[0].minThumbHeight + 136 metrics[0].topArrowHeight + metrics[ [all...] |
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/blackberry/ |
H A D | SimpleFontDataBlackBerry.cpp | 55 FONT_METRICS metrics; local 56 result = FS_font_metrics(m_platformData.font(), &metrics); 60 m_fontMetrics.setUnitsPerEm(metrics.unitsPerEm); 62 FS_USHORT xRange = metrics.font_bbox.xMax - metrics.font_bbox.xMin; 63 m_maxCharWidth = roundf((xRange * roundf(m_platformData.size())) / metrics.unitsPerEm); 68 m_fontMetrics.setXHeight(static_cast<float>(os2.sxHeight) * yppem / metrics.unitsPerEm); 69 m_avgCharWidth = static_cast<float>(os2.xAvgCharWidth) * yppem / metrics.unitsPerEm;
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/wince/ |
H A D | SimpleFontDataWinCE.cpp | 49 const TEXTMETRIC& tm = m_platformData.metrics(); 120 const TEXTMETRIC& tm = m_platformData.metrics(); 154 const TEXTMETRIC& tm = m_platformData.metrics();
|
H A D | FontPlatformData.h | 61 const TEXTMETRIC& metrics() const;
|
/macosx-10.9.5/WebCore-7537.78.1/platform/win/ |
H A D | DragImageWin.cpp | 107 NONCLIENTMETRICS metrics; local 108 metrics.cbSize = sizeof(metrics); 109 SystemParametersInfo(SPI_GETNONCLIENTMETRICS, metrics.cbSize, &metrics, 0); 113 description.setOneFamily(metrics.lfSmCaptionFont.lfFaceName);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/ca/win/ |
H A D | PlatformCALayerWinInternal.cpp | 124 NONCLIENTMETRICS metrics; local 125 metrics.cbSize = sizeof(metrics); 126 SystemParametersInfo(SPI_GETNONCLIENTMETRICS, metrics.cbSize, &metrics, 0); 127 desc.setOneFamily(metrics.lfSmCaptionFont.lfFaceName);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/opentype/ |
H A D | OpenTypeVerticalData.cpp | 453 const OpenType::VORGTable::VertOriginYMetrics& metrics = vorg->vertOriginYMetrics[i]; local 454 m_vertOriginY.set(metrics.glyphIndex, metrics.vertOriginY); 517 const FontMetrics& metrics = font->fontMetrics(); local 519 float ascent = metrics.ascent();
|
/macosx-10.9.5/ICU-511.35/icuSources/samples/layout/ |
H A D | GDIFontInstance.cpp | 367 GLYPHMETRICS metrics; local 374 result = GetGlyphOutline(hdc, glyph, GGO_GLYPH_INDEX | GGO_METRICS, &metrics, 0, NULL, &identity); 380 advance.fX = metrics.gmCellIncX;
|
H A D | GnomeFontInstance.cpp | 154 advance.fX = fFace->glyph->metrics.horiAdvance >> 6;
|
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/tkextlib/treectrl/ |
H A D | outlook-folders.rb | 7 height = t.font.metrics(:linespace) + 2
|
H A D | www-options.rb | 4 height = t.font.metrics(:linespace) + 2 147 height = t.font.metrics(:linespace) + 2
|
/macosx-10.9.5/tcl-102/tk/tk/unix/ |
H A D | tkUnixRFont.c | 731 XGlyphInfo metrics; 781 &metrics); 782 x += metrics.xOff; 783 y += metrics.yOff; 716 XGlyphInfo metrics; local
|
/macosx-10.9.5/tcpdump-56/tcpdump/ |
H A D | ospf.h | 161 struct tos_metric metrics; member in union:un_tos
|
/macosx-10.9.5/WebKit-7537.78.2/win/ |
H A D | FullscreenVideoController.cpp | 520 NONCLIENTMETRICS metrics; local 521 metrics.cbSize = sizeof(metrics); 522 SystemParametersInfo(SPI_GETNONCLIENTMETRICS, metrics.cbSize, &metrics, 0); 523 desc.setOneFamily(metrics.lfSmCaptionFont.lfFaceName);
|