[Coverage] Internal rename
This commit is contained in:
parent
afa65f2903
commit
7b95783efb
|
@ -204,9 +204,9 @@ struct Coverage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename IteratorOut,
|
template <typename IterableOut,
|
||||||
hb_requires (hb_is_sink_of (IteratorOut, hb_codepoint_t))>
|
hb_requires (hb_is_sink_of (IterableOut, hb_codepoint_t))>
|
||||||
void intersect_set (const hb_set_t &glyphs, IteratorOut &intersect_glyphs) const
|
void intersect_set (const hb_set_t &glyphs, IterableOut &intersect_glyphs) const
|
||||||
{
|
{
|
||||||
switch (u.format)
|
switch (u.format)
|
||||||
{
|
{
|
||||||
|
|
|
@ -86,9 +86,9 @@ struct CoverageFormat1_3
|
||||||
bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const
|
bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const
|
||||||
{ return glyphs->has (glyphArray[index]); }
|
{ return glyphs->has (glyphArray[index]); }
|
||||||
|
|
||||||
template <typename IteratorOut,
|
template <typename IterableOut,
|
||||||
hb_requires (hb_is_sink_of (IteratorOut, hb_codepoint_t))>
|
hb_requires (hb_is_sink_of (IterableOut, hb_codepoint_t))>
|
||||||
void intersect_set (const hb_set_t &glyphs, IteratorOut &intersect_glyphs) const
|
void intersect_set (const hb_set_t &glyphs, IterableOut &intersect_glyphs) const
|
||||||
{
|
{
|
||||||
unsigned count = glyphArray.len;
|
unsigned count = glyphArray.len;
|
||||||
for (unsigned i = 0; i < count; i++)
|
for (unsigned i = 0; i < count; i++)
|
||||||
|
|
|
@ -138,9 +138,9 @@ struct CoverageFormat2_4
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename IteratorOut,
|
template <typename IterableOut,
|
||||||
hb_requires (hb_is_sink_of (IteratorOut, hb_codepoint_t))>
|
hb_requires (hb_is_sink_of (IterableOut, hb_codepoint_t))>
|
||||||
void intersect_set (const hb_set_t &glyphs, IteratorOut &intersect_glyphs) const
|
void intersect_set (const hb_set_t &glyphs, IterableOut &intersect_glyphs) const
|
||||||
{
|
{
|
||||||
for (const auto& range : rangeRecord)
|
for (const auto& range : rangeRecord)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue