
Series 30i/ 31i/ 32i-A
C executor library for conversion
Programming manual
01 04.05.06
S. Hasegawa
New registration
B-64183EN/01
EDIT
DATE
DESIG.
DESCRIPTION
125/226
DRAW.NO.
3.9.10
Draw an Arc
[Name]
pl_grparc
[Syntax]
#include <pmclib.h>
short pl_grparc(short * cntl, unsigned short size);
[Arguments]
Input
*cntl: Drawing information
Set parameters and the coordinates of a start point, end points,
and centers in the following format:
cntl[0] X Start point
cntl[1] Y
cntl[2] P Parameter 1
cntl[3] X End point 1
cntl[4] Y
cntl[5] X Center 1
cntl[6] Y
to
cntl[5n-3] P Parameter n
cntl[5n-2] X End point n
cntl[5n-1] Y
cntl[5n] X Center n
cntl[5n+1] Y
Set a parameter in the following format:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Unused (a) Unused
(a) Drawing direction 0: Clockwise, 1: Counterclockwise
size: Number of bytes of drawing information ("*cntl")
Set the number of bytes of the "*cntl" array above. The minimum
size is 14 bytes for "cntl[0]"-"cntl[6]". The size can be
incremented in steps of 10 bytes.
Output
---
[Return]
0: Normal completion.