|
MFrame * | mframe (MPlist *plist) |
| Create a new frame.
|
|
void * | mframe_get_prop (MFrame *frame, MSymbol key) |
|
MFont * | mfont () |
| Create a new font.
|
|
MFont * | mfont_copy (MFont *font) |
| Make a copy of a font.
|
|
MFont * | mfont_parse_name (const char *name, MSymbol format) |
| Create a font by parsing a fontname.
|
|
char * | mfont_unparse_name (MFont *font, MSymbol format) |
| Create a fontname from a font.
|
|
char * | mfont_name (MFont *font) |
| Create a fontname from a font.
|
|
MFont * | mfont_from_name (const char *name) |
| Create a new font from fontname.
|
|
void * | mfont_get_prop (MFont *font, MSymbol key) |
| Get a property value of a font.
|
|
int | mfont_put_prop (MFont *font, MSymbol key, void *val) |
| Put a property value to a font.
|
|
int | mfont_set_encoding (MFont *font, MSymbol encoding_name, MSymbol repertory_name) |
| Set encoding of a font.
|
|
MFont * | mfont_find (MFrame *frame, MFont *spec, int *score, int limited_size) |
| Find a font.
|
|
MSymbol * | mfont_selection_priority () |
| Return the font selection priority.
|
|
int | mfont_set_selection_priority (MSymbol *keys) |
| Set the font selection priority.
|
|
int | mfont_resize_ratio (MFont *font) |
| Get resize information of a font.
|
|
MPlist * | mfont_list (MFrame *frame, MFont *font, MSymbol language, int maxnum) |
| Get a list of fonts.
|
|
MPlist * | mfont_list_family_names (MFrame *frame) |
| Get a list of font famiy names.
|
|
int | mfont_check (MFrame *frame, MFontset *fontset, MSymbol script, MSymbol language, MFont *font) |
| Check the usability of a font.
|
|
int | mfont_match_p (MFont *font, MFont *spec) |
| Check is a font matches with a font spec.
|
|
MFont * | mfont_open (MFrame *frame, MFont *font) |
| Open a font.
|
|
MFont * | mfont_encapsulate (MFrame *frame, MSymbol data_type, void *data) |
| Encapusulate a font.
|
|
int | mfont_close (MFont *font) |
| Close a font.
|
|
MFontset * | mfontset (char *name) |
| Return a fontset.
|
|
MSymbol | mfontset_name (MFontset *fontset) |
| Return the name of a fontset.
|
|
MFontset * | mfontset_copy (MFontset *fontset, char *name) |
| Make a copy of a fontset.
|
|
int | mfontset_modify_entry (MFontset *fontset, MSymbol script, MSymbol language, MSymbol charset, MFont *spec, MSymbol layouter_name, int how) |
| Modify the contents of a fontset.
|
|
MPlist * | mfontset_lookup (MFontset *fontset, MSymbol script, MSymbol language, MSymbol charset) |
| Lookup a fontset.
|
|
MFace * | mface () |
| Create a new face.
|
|
int | mface_equal (MFace *face1, MFace *face2) |
| Compare faces.
|
|
MFace * | mface_copy (MFace *face) |
| Make a copy of a face.
|
|
MFace * | mface_merge (MFace *dst, MFace *src) |
| Merge faces.
|
|
MFace * | mface_from_font (MFont *font) |
| Make a face from a font.
|
|
void * | mface_get_prop (MFace *face, MSymbol key) |
| Get the value of a face property.
|
|
int | mface_put_prop (MFace *face, MSymbol key, void *val) |
| Set a value of a face property.
|
|
MFaceHookFunc | mface_get_hook (MFace *face) |
| Get the hook function of a face.
|
|
int | mface_put_hook (MFace *face, MFaceHookFunc func) |
| Set a hook function to a face.
|
|
void | mface_update (MFrame *frame, MFace *face) |
| Update a face.
|
|
int | mdraw_text (MFrame *frame, MDrawWindow win, int x, int y, MText *mt, int from, int to) |
| Draw an M-text on a window.
|
|
int | mdraw_image_text (MFrame *frame, MDrawWindow win, int x, int y, MText *mt, int from, int to) |
| Draw an M-text on a window as an image.
|
|
int | mdraw_text_with_control (MFrame *frame, MDrawWindow win, int x, int y, MText *mt, int from, int to, MDrawControl *control) |
| Draw an M-text on a window with fine control.
|
|
int | mdraw_coordinates_position (MFrame *frame, MText *mt, int from, int to, int x, int y, MDrawControl *control) |
| Return the character position nearest to the coordinates.
|
|
int | mdraw_text_extents (MFrame *frame, MText *mt, int from, int to, MDrawControl *control, MDrawMetric *overall_ink_return, MDrawMetric *overall_logical_return, MDrawMetric *overall_line_return) |
| Compute text pixel width.
|
|
int | mdraw_text_per_char_extents (MFrame *frame, MText *mt, int from, int to, MDrawControl *control, MDrawMetric *ink_array_return, MDrawMetric *logical_array_return, int array_size, int *num_chars_return, MDrawMetric *overall_ink_return, MDrawMetric *overall_logical_return) |
| Compute the text dimensions of each character of M-text.
|
|
int | mdraw_glyph_info (MFrame *frame, MText *mt, int from, int pos, MDrawControl *control, MDrawGlyphInfo *info) |
| Compute information about a glyph.
|
|
int | mdraw_glyph_list (MFrame *frame, MText *mt, int from, int to, MDrawControl *control, MDrawGlyph *glyphs, int array_size, int *num_glyphs_return) |
| Compute information about glyph sequence.
|
|
void | mdraw_text_items (MFrame *frame, MDrawWindow win, int x, int y, MDrawTextItem *items, int nitems) |
| Draw one or more textitems.
|
|
void | mdraw_per_char_extents (MFrame *frame, MText *mt, MDrawMetric *array_return, MDrawMetric *overall_return) |
| Obtain per character dimension information.
|
|
int | mdraw_default_line_break (MText *mt, int pos, int from, int to, int line, int y) |
| Calculate a line breaking position.
|
|
void | mdraw_clear_cache (MText *mt) |
| clear cached information.
|
|
MSymbol | minput_event_to_key (MFrame *frame, void *event) |
| Convert an event to an input key.
|
|
MFace * | mdebug_dump_face (MFace *face, int indent) |
| Dump a face.
|
|
MFont * | mdebug_dump_font (MFont *font) |
| Dump a font.
|
|
MFontset * | mdebug_dump_fontset (MFontset *fontset, int indent) |
| Dump a fontset.
|
|