Commit c31e56f5 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete unused function getHeightText

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57800 954022d7-b5bf-4e40-9824-e11837661b57
parent 9bdc73bf
...@@ -905,14 +905,6 @@ ...@@ -905,14 +905,6 @@
return this._calcTextMetrics(w * r, w2 * r, fm, r); return this._calcTextMetrics(w * r, w2 * r, fm, r);
}; };
DrawingContext.prototype.getHeightText = function() {
var fm = this.fmgrGraphics[0];
var UnitsPerEm = fm.m_lUnits_Per_Em;
var Height = fm.m_lLineHeight;
var setUpSize = this.font.FontSize;
return Height * setUpSize / UnitsPerEm;
};
DrawingContext.prototype.fillGlyph = function (pGlyph, fmgr) { DrawingContext.prototype.fillGlyph = function (pGlyph, fmgr) {
var nW = pGlyph.oBitmap.nWidth; var nW = pGlyph.oBitmap.nWidth;
var nH = pGlyph.oBitmap.nHeight; var nH = pGlyph.oBitmap.nHeight;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment