OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ComplexTextRun
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
ComplexTextController.h
74
class
ComplexTextRun
: public RefCounted<
ComplexTextRun
> {
76
static PassRefPtr<
ComplexTextRun
> create(CTRunRef ctRun, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange)
78
return adoptRef(new
ComplexTextRun
(ctRun, fontData, characters, stringLocation, stringLength, runRange));
81
static PassRefPtr<
ComplexTextRun
> create(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr)
83
return adoptRef(new
ComplexTextRun
(fontData, characters, stringLocation, stringLength, ltr));
102
ComplexTextRun
(CTRunRef, const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange);
103
ComplexTextRun
(const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr);
123
static unsigned stringBegin(const
ComplexTextRun
& run) { return run.stringLocation() + run.indexBegin(); }
124
static unsigned stringEnd(const
ComplexTextRun
& run) { return run.stringLocation() + run.indexEnd();
[
all
...]
ComplexTextControllerCoreText.mm
96
ComplexTextController::
ComplexTextRun
::
ComplexTextRun
(CTRunRef ctRun, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange)
131
ComplexTextController::
ComplexTextRun
::
ComplexTextRun
(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr)
188
m_complexTextRuns.append(
ComplexTextRun
::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr()));
275
m_complexTextRuns.append(
ComplexTextRun
::create(m_font.primaryFont(), cp, stringLocation + runRange.location, runRange.length, m_run.ltr()));
293
m_complexTextRuns.append(
ComplexTextRun
::create(ctRun, runFontData, cp, stringLocation, length, runRange));
ComplexTextController.cpp
113
const
ComplexTextRun
&
complexTextRun
= *m_complexTextRuns[r];
114
for (unsigned j = 0; j <
complexTextRun
.glyphCount(); ++j) {
117
CFIndex hitGlyphStart =
complexTextRun
.indexAt(j);
120
hitGlyphEnd = std::max<CFIndex>(hitGlyphStart, j + 1 <
complexTextRun
.glyphCount() ?
complexTextRun
.indexAt(j + 1) : static_cast<CFIndex>(
complexTextRun
.indexEnd()));
122
hitGlyphEnd = std::max<CFIndex>(hitGlyphStart, j > 0 ?
complexTextRun
.indexAt(j - 1) : static_cast<CFIndex>(
complexTextRun
.indexEnd()));
128
int stringLength =
complexTextRun
.stringLength()
[
all
...]
Completed in 50 milliseconds