ASUns32 PDEPathGetDataDouble(IN PDEPath path, OUT ASDouble *data, IN ASUns32 dataSize);
path | IN The path whose data is obtained.
|
data | OUT A pointer to the path data. If
data is non- NULL, it contains a variable-sized array of path operators and operands. The format is a 32-bit operator followed by 0 to 3 ASDouble values, depending on the operator. Opcodes are codes for moveto, lineto, curveto, rect, or closepath operators; operands are ASDouble values. If data is NULL, the number of bytes required for data is returned by the method. Note that it returns raw path data. If you want the points in page coordinates, concatenate the path data points with the PDEElement matrix obtained from PDEElementGetMatrix(). |
dataSize | IN Specifies the size of the buffer provided in data. If it is less than the length of the path data, the method copies
dataSize bytes. |
path. ASUns32 PDEPathGetDataFloat(IN PDEPath path, OUT ASFloat *data, IN ASUns32 dataSize);
void PDEPathSetDataDouble(IN PDEPath path, IN ASDouble *data, IN ASUns32 dataSize);
path | IN The path whose data is set.
|
data | IN A pointer to the path data. It is a variable-sized array of path operators and operands. The format is a 32-bit operator followed by zero to three ASDouble values, depending on the operator. Operators are codes for
moveto, lineto, curveto, rect, or closepath operators, and must be one of PDEPathElementType. Operands are ASDouble values. The data is copied into the PDEPath object. |
dataSize | IN The size of the new path data in bytes.
|
void PDEPathSetDataFloat(IN PDEPath path, IN ASFloat *data, IN ASUns32 dataSize);