|
Data Structures |
struct | MFaceHLineProp |
| Type of horizontal line spec of face. More...
|
struct | MFaceBoxProp |
| Type of box spec of face. More...
|
struct | MDrawControl |
| Type of a text drawing control. More...
|
struct | MDrawMetric |
| Type of metric for gylphs and texts. More...
|
struct | MDrawGlyphInfo |
| Type of information about a glyph. More...
|
struct | MDrawTextItem |
| Type of text items. More...
|
struct | MInputGUIArgIC |
| Type of the argument to the function minput_create_ic(). More...
|
Defines |
#define | M17N_INIT() m17n_init_win() |
#define | M17N_FINI() m17n_fini_win() |
Typedefs |
typedef MFrame | MFrame |
| Type of frames.
|
typedef MFont | MFont |
| Type of fonts.
|
typedef MFontset | MFontset |
typedef MFace | MFace |
| Type of faces.
|
typedef void *(* | MFaceHookFunc )(MFace *face, void *arg, void *info) |
| Type of hook function of face.
|
typedef void * | MDrawWindow |
| Window system dependent type for a window.
|
typedef void * | MDrawRegion |
| Window system dependent type for a region.
|
Functions |
void | m17n_init_win (void) |
void | m17n_fini_win (void) |
MFrame * | mframe (MPlist *plist) |
| Create a new frame.
|
void * | mframe_get_prop (MFrame *frame, MSymbol key) |
| Return property value of frame.
|
MFont * | mfont () |
| Create a new font.
|
MFont * | mfont_from_name (char *name) |
| Create a new font from fontname.
|
MFont * | mfont_copy (MFont *font) |
| Return a copy of a font.
|
char * | mfont_name (MFont *font) |
| Create a fontname from a font.
|
MFont * | mfont_from_spec (char *family, char *weight, char *slant, char *swidth, char *adstyle, char *registry, unsigned short point, unsigned short res) |
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.
|
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 a fontset.
|
int | mfontset_modify_entry (MFontset *fontset, MSymbol language, MSymbol script, MSymbol charset, MFont *spec, MSymbol layouter_name, int how) |
| Modify the contents of a fontset.
|
MFace * | mface () |
| Create a new face.
|
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 face property.
|
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.
|
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) |
void | mdraw_clear_cache (MText *mt) |
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.
|
Variables |
MSymbol | Mfont |
MSymbol | Mfont_width |
MSymbol | Mfont_ascent |
MSymbol | Mfont_descent |
MFrame * | mframe_default |
| The default frame.
|
MPlist * | mfont_freetype_path |
| List of font files and directories that contain font files.
|
MSymbol | Mfoundry |
| Key of font property specifying foundry.
|
MSymbol | Mfamily |
| Key of font property specifying foundry.
|
MSymbol | Mweight |
| Key of font property specifying weight.
|
MSymbol | Mstyle |
| Key of font property specifying style.
|
MSymbol | Mstretch |
| Key of font property specifying stretch.
|
MSymbol | Madstyle |
| Key of font property specifying additional style.
|
MSymbol | Mregistry |
| Key of font property specifying registry.
|
MSymbol | Msize |
| Key of font property specifying size.
|
MSymbol | Mresolution |
| Key of font property specifying resolution.
|
MSymbol | Mforeground |
| Key of a face property specifying foreground color.
|
MSymbol | Mbackground |
| Key of a face property specifying background color.
|
MSymbol | Mvideomode |
| Key of a face property specifying video mode.
|
MSymbol | Mnormal |
MSymbol | Mreverse |
MSymbol | Mhline |
| Key of a face property specifying horizontal line.
|
MSymbol | Mbox |
| Key of a face property specifying box.
|
MSymbol | Mfontset |
| Key of a face property specifying fontset.
|
MSymbol | Mratio |
| Key of a face property specifying font size ratio.
|
MSymbol | Mhook_func |
| Key of a face property specifying hook.
|
MSymbol | Mhook_arg |
| Key of a face property specifying argument of hook.
|
MFace * | mface_normal_video |
| Normal video face.
|
MFace * | mface_reverse_video |
| Reverse video face.
|
MFace * | mface_underline |
| Underline face.
|
MFace * | mface_medium |
| Medium face.
|
MFace * | mface_bold |
| Bold face.
|
MFace * | mface_italic |
| Italic face.
|
MFace * | mface_bold_italic |
| Bold italic face.
|
MFace * | mface_xx_small |
| Smallest face.
|
MFace * | mface_x_small |
| Smaller face.
|
MFace * | mface_small |
| Small face.
|
MFace * | mface_normalsize |
| Normalsize face.
|
MFace * | mface_large |
| Large face.
|
MFace * | mface_x_large |
| Larger face.
|
MFace * | mface_xx_large |
| Largest face.
|
MFace * | mface_black |
| Black face.
|
MFace * | mface_white |
| White face.
|
MFace * | mface_red |
| Red face.
|
MFace * | mface_green |
| Green face.
|
MFace * | mface_blue |
| Blue face.
|
MFace * | mface_cyan |
| Cyan face.
|
MFace * | mface_yellow |
| yellow face
|
MFace * | mface_magenta |
| Magenta face.
|
MSymbol | Mface |
| Key of a text property specifying a face.
|
MInputDriver | minput_gui_driver |
| Input driver for internal input methods on window systems.
|