MGPlus maintains some pen defines and operations
Create a pen.
This function creates a pen.
width | The width of the pen. | |
rgba | The rgba of the pen. |
Delete a pen.
This function deletes a pen.
pen | The pen pointer. |
MPStatus MGPlusPenSetCapStyle | ( | HPEN | pen, | |
LINE_CAP_E | line_join | |||
) |
Set the pen line cap style.
This function sets the pen line cap style.
pen | The pen. | |
line_join | The line cap style of the pen. |
Set the pen color.
This function sets the pen color.
pen | The pen. | |
rgba | The rgba of the pen. |
MPStatus MGPlusPenSetDashes | ( | HPEN | pen, | |
int | dash_phase, | |||
const unsigned char * | dash_list, | |||
int | dash_len | |||
) |
Set the pen dashes.
This function sets the pen dash line style.
pen | The pen. | |
dash_phase | The dash phase of pen. | |
dash_list | The dash vector value. | |
dash_len | The length of vector. |
MPStatus MGPlusPenSetJoinStyle | ( | HPEN | pen, | |
LINE_JOIN_E | line_cap | |||
) |
Set the pen line join style.
This function sets the pen join style.
pen | The pen. | |
line_cap | The line join style of the pen. |
Set the pen width.
This function sets the pen width.
pen | The pen. | |
width | The width of the pen. |