OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:disableRoundingHacks
(Results
1 - 4
of
4
) sorted by null
/external/webkit/WebCore/platform/graphics/
StringTruncator.h
39
static String centerTruncate(const String&, float maxWidth, const Font&, bool
disableRoundingHacks
= true);
40
static String rightTruncate(const String&, float maxWidth, const Font&, bool
disableRoundingHacks
= true);
41
static float width(const String&, const Font&, bool
disableRoundingHacks
= true);
StringTruncator.cpp
94
static float stringWidth(const Font& renderer, const UChar* characters, unsigned length, bool
disableRoundingHacks
)
97
if (
disableRoundingHacks
)
98
run.
disableRoundingHacks
();
102
static String truncateString(const String& string, float maxWidth, const Font& font, TruncationFunction truncateToBuffer, bool
disableRoundingHacks
)
109
float currentEllipsisWidth = stringWidth(font, &horizontalEllipsis, 1,
disableRoundingHacks
);
125
float width = stringWidth(font, stringBuffer, truncatedLength,
disableRoundingHacks
);
161
width = stringWidth(font, stringBuffer, truncatedLength,
disableRoundingHacks
);
183
String StringTruncator::centerTruncate(const String& string, float maxWidth, const Font& font, bool
disableRoundingHacks
)
185
return truncateString(string, maxWidth, font, centerTruncateToBuffer,
disableRoundingHacks
);
188
String StringTruncator::rightTruncate(const String& string, float maxWidth, const Font& font, bool
disableRoundingHacks
)
[
all
...]
TextRun.h
93
void
disableRoundingHacks
() { m_applyRunRounding = m_applyWordRounding = false; }
/external/webkit/WebKit/mac/Misc/
WebKitNSStringExtras.mm
89
run.
disableRoundingHacks
();
142
run.
disableRoundingHacks
();
Completed in 204 milliseconds