Home
last modified time | relevance | path

Searched refs:disableRoundingHacks (Results 1 – 7 of 7) sorted by relevance

/external/webkit/WebCore/platform/graphics/
DStringTruncator.cpp94 …ingWidth(const Font& renderer, const UChar* characters, unsigned length, bool disableRoundingHacks) in stringWidth() argument
97 if (disableRoundingHacks) in stringWidth()
98 run.disableRoundingHacks(); in stringWidth()
102 …, float maxWidth, const Font& font, TruncationFunction truncateToBuffer, bool disableRoundingHacks) in truncateString() argument
109 float currentEllipsisWidth = stringWidth(font, &horizontalEllipsis, 1, disableRoundingHacks); in truncateString()
125 float width = stringWidth(font, stringBuffer, truncatedLength, disableRoundingHacks); in truncateString()
161 width = stringWidth(font, stringBuffer, truncatedLength, disableRoundingHacks); in truncateString()
183 …::centerTruncate(const String& string, float maxWidth, const Font& font, bool disableRoundingHacks) in centerTruncate() argument
185 return truncateString(string, maxWidth, font, centerTruncateToBuffer, disableRoundingHacks); in centerTruncate()
188 …r::rightTruncate(const String& string, float maxWidth, const Font& font, bool disableRoundingHacks) in rightTruncate() argument
[all …]
DStringTruncator.h39 …tring centerTruncate(const String&, float maxWidth, const Font&, bool disableRoundingHacks = true);
40 …String rightTruncate(const String&, float maxWidth, const Font&, bool disableRoundingHacks = true);
41 static float width(const String&, const Font&, bool disableRoundingHacks = true);
DTextRun.h93 void disableRoundingHacks() { m_applyRunRounding = m_applyWordRounding = false; } in disableRoundingHacks() function
/external/webkit/WebKit/mac/Misc/
DWebKitNSStringExtras.mm89 run.disableRoundingHacks();
142 run.disableRoundingHacks();
/external/webkit/WebCore/
DChangeLog-2006-12-3154976 (WebCore::TextStyle::disableRoundingHacks):
DChangeLog-2007-10-1451316 (WebCore::stringWidth): Added disableRoundingHacks parameter.
DChangeLog-2008-08-1069597 (WebCore::TextRun::disableRoundingHacks):