Describes the blocks of Unicode characters supported by a font.
More...
Describes the blocks of Unicode characters supported by a font.
- See also
- BFont::Blocks()
- Since
- BeOS R4
◆ unicode_block() [1/2]
unicode_block::unicode_block |
( |
| ) |
|
|
inline |
Construct a unicode_block
and set block data to 0.
You must initialize the block data before before using this object.
- Since
- BeOS R4
◆ unicode_block() [2/2]
unicode_block::unicode_block |
( |
uint64 |
block2, |
|
|
uint64 |
block1 |
|
) |
| |
|
inline |
Construct a unicode_block
object and initialize it with the supplied Unicode block range.
- Parameters
-
block2 | End block. |
block1 | Begin block. |
- Since
- BeOS R4
◆ Includes()
bool unicode_block::Includes |
( |
const unicode_block & |
block | ) |
const |
|
inline |
Determines if block is a subset of the unicode_block
object.
- Parameters
-
block | The Unicode block to check. |
- Returns
- Whether or not block is a subset of the
unicode_block
object.
- Return values
-
- Since
- BeOS R4
◆ operator!=()
bool unicode_block::operator!= |
( |
const unicode_block & |
block | ) |
const |
|
inline |
Determines if the block object are not equal.
- Parameters
-
block | The unicode block to compare against. |
- Returns
true
if the block object are NOT equal, false
if the block objects are exactly equal.
- Since
- BeOS R4
◆ operator&()
Creates and returns a new unicode_block
object that is the intersection of block and the unicode_block
object.
- Parameters
-
block | The Unicode block to intersect with. |
- Returns
- The intersection of block and the
unicode_block
object.
- Since
- BeOS R4
◆ operator=()
Copies block data into the left-hand side object.
- Parameters
-
block | The unicode block to copy from. |
- Returns
- A copy of block.
- Since
- BeOS R4
◆ operator==()
bool unicode_block::operator== |
( |
const unicode_block & |
block | ) |
const |
|
inline |
Determines if the block object are exactly equal.
- Parameters
-
block | The unicode block to compare against. |
- Returns
true
if the block object are exactly equal, false
otherwise.
- Since
- BeOS R4
◆ operator|()
Creates and returns a new unicode_block
object that is the union of block and the unicode_block
object.
- Parameters
-
block | The Unicode block to form a union with. |
- Returns
- The union of block and the
unicode_block
object.
- Since
- BeOS R4