#include <font_dev.h>
|
| | Font_Dev () |
| |
| | Font_Dev (PP_Resource resource) |
| |
| | Font_Dev (const InstanceHandle &instance, const FontDescription_Dev &description) |
| |
| | Font_Dev (const Font_Dev &other) |
| |
| Font_Dev & | operator= (const Font_Dev &other) |
| |
| bool | Describe (FontDescription_Dev *description, PP_FontMetrics_Dev *metrics) const |
| |
| bool | DrawTextAt (ImageData *dest, const TextRun_Dev &text, const Point &position, uint32_t color, const Rect &clip, bool image_data_is_opaque) const |
| |
| int32_t | MeasureText (const TextRun_Dev &text) const |
| |
| uint32_t | CharacterOffsetForPixel (const TextRun_Dev &text, int32_t pixel_position) const |
| |
| int32_t | PixelOffsetForCharacter (const TextRun_Dev &text, uint32_t char_offset) const |
| |
| bool | DrawSimpleText (ImageData *dest, const std::string &text, const Point &position, uint32_t color, bool image_data_is_opaque=false) const |
| |
| int32_t | MeasureSimpleText (const std::string &text) const |
| |
| | Resource () |
| | The default constructor. More...
|
| |
| | Resource (const Resource &other) |
| |
| virtual | ~Resource () |
| | Destructor. More...
|
| |
| Resource & | operator= (const Resource &other) |
| |
| bool | is_null () const |
| |
| PP_Resource | pp_resource () const |
| |
| PP_Resource | detach () |
| |
Definition at line 100 of file font_dev.h.
| pp::Font_Dev::Font_Dev |
( |
| ) |
|
| pp::Font_Dev::Font_Dev |
( |
const Font_Dev & |
other | ) |
|
| uint32_t pp::Font_Dev::CharacterOffsetForPixel |
( |
const TextRun_Dev & |
text, |
|
|
int32_t |
pixel_position |
|
) |
| const |
| bool pp::Font_Dev::DrawSimpleText |
( |
ImageData * |
dest, |
|
|
const std::string & |
text, |
|
|
const Point & |
position, |
|
|
uint32_t |
color, |
|
|
bool |
image_data_is_opaque = false |
|
) |
| const |
| int32_t pp::Font_Dev::MeasureSimpleText |
( |
const std::string & |
text | ) |
const |
| int32_t pp::Font_Dev::PixelOffsetForCharacter |
( |
const TextRun_Dev & |
text, |
|
|
uint32_t |
char_offset |
|
) |
| const |
The documentation for this class was generated from the following file: