[CpmlLine] Using -1 index to get the end point in offset
commit94d1b1abd0f11705cb7a6b49f6025be4fc8248d9
authorNicola Fontana <ntd@entidi.it>
Sun, 28 Jun 2009 22:31:46 +0000 (29 00:31 +0200)
committerNicola Fontana <ntd@entidi.it>
Sun, 28 Jun 2009 22:31:46 +0000 (29 00:31 +0200)
tree1c754bc8542dfb1d2005785cf9ddbc658a9f1f54
parent02bb2aaf8827b54f3a6420e5a3272c2a1819f90b
[CpmlLine] Using -1 index to get the end point in offset

Using cpml_primitive_get_point(line, -1) to get the end point will make
this function able to be used for CAIRO_PATH_CLOSE_PATH primitives.
cpml/cpml-line.c