GfxState.h (xpdf-4.03) | : | GfxState.h (xpdf-4.04) | ||
---|---|---|---|---|
skipping to change at line 1071 | skipping to change at line 1071 | |||
GBool isPath() { return n > 0; } | GBool isPath() { return n > 0; } | |||
// Get subpaths. | // Get subpaths. | |||
int getNumSubpaths() { return n; } | int getNumSubpaths() { return n; } | |||
GfxSubpath *getSubpath(int i) { return subpaths[i]; } | GfxSubpath *getSubpath(int i) { return subpaths[i]; } | |||
// Get last point on last subpath. | // Get last point on last subpath. | |||
double getLastX() { return subpaths[n-1]->getLastX(); } | double getLastX() { return subpaths[n-1]->getLastX(); } | |||
double getLastY() { return subpaths[n-1]->getLastY(); } | double getLastY() { return subpaths[n-1]->getLastY(); } | |||
// Get the current point | ||||
double getCurX(); | ||||
double getCurY(); | ||||
// Move the current point. | // Move the current point. | |||
void moveTo(double x, double y); | void moveTo(double x, double y); | |||
// Add a segment to the last subpath. | // Add a segment to the last subpath. | |||
void lineTo(double x, double y); | void lineTo(double x, double y); | |||
// Add a Bezier curve to the last subpath | // Add a Bezier curve to the last subpath | |||
void curveTo(double x1, double y1, double x2, double y2, | void curveTo(double x1, double y1, double x2, double y2, | |||
double x3, double y3); | double x3, double y3); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added |