The m17n Library 1.8.4
Loading...
Searching...
No Matches
Data Fields
MDrawTextItem Struct Reference

Type of textitems. More...

#include <m17n-gui.h>

Data Fields

MTextmt
 
int delta
 
MFaceface
 
MDrawControlcontrol
 

Detailed Description

Type of textitems.

The type MDrawTextItem is for textitem objects. Each textitem contains an M-text and some other information to control the drawing of the M-text.

Field Documentation

◆ mt

MText* MDrawTextItem::mt

M-text.

◆ delta

int MDrawTextItem::delta

Optional change in the position (in the unit of pixel) along the X-axis before the M-text is drawn.

◆ face

MFace* MDrawTextItem::face

Pointer to a face object. Each property of the face, if not Mnil, overrides the same property of face(s) specified as a text property in <mt>.

◆ control

MDrawControl* MDrawTextItem::control

Pointer to a draw control object. The M-text <mt> is drawn by mdraw_text_with_control() with this control object.


m17n-lib Home