mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 00:41:09 +01:00
[bit-set] Add a couple of alias methods
This commit is contained in:
1 parent
942a30b7df
commit
900db7b1bd
2 files changed
+5
No files matched your search
@@ -239,6 +239,9 @@ struct hb_bit_page_t
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
bool may_intersect (const hb_bit_page_t &other) const
|
||||
{ return intersects (other); }
|
||||
|
||||
bool operator <= (const hb_bit_page_t &larger_page) const { return is_subset (larger_page); }
|
||||
bool is_subset (const hb_bit_page_t &larger_page) const
|
||||
{
|
||||
|
||||
@@ -380,6 +380,8 @@ struct hb_bit_set_t
|
||||
}
|
||||
return false;
|
||||
}
|
||||
bool may_intersect (const hb_bit_set_t &other) const
|
||||
{ return intersects (other); }
|
||||
|
||||
bool intersects (hb_codepoint_t first, hb_codepoint_t last) const
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user