[CpmlLine] Using -1 index to get the end point
commit02bb2aaf8827b54f3a6420e5a3272c2a1819f90b
authorNicola Fontana <ntd@entidi.it>
Sun, 28 Jun 2009 22:10:16 +0000 (29 00:10 +0200)
committerNicola Fontana <ntd@entidi.it>
Sun, 28 Jun 2009 22:10:16 +0000 (29 00:10 +0200)
tree5858029abe470ff2bcab1505cb9f0f7c77507081
parente4ab245f4077a4e5f4d768f94a1110e0d7cf9b78
[CpmlLine] Using -1 index to get the end point

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