summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e481d76)
raw | patch | inline | side by side (parent: e481d76)
author | Arcadie M. Cracan <acracan@gmail.com> | |
Wed, 29 Dec 2010 15:05:55 +0000 (17:05 +0200) | ||
committer | Arcadie M. Cracan <acracan@gmail.com> | |
Wed, 29 Dec 2010 15:05:55 +0000 (17:05 +0200) |
src/sp-conn-end-pair.cpp | patch | blob | history |
index 0a5a6d7bdde9e9fb72ae144ba76ab29c7e0355c5..5bce1a4f80d7a4378848e0e0c66229b73c239c08 100644 (file)
--- a/src/sp-conn-end-pair.cpp
+++ b/src/sp-conn-end-pair.cpp
SPCurve *curve = _path->original_curve ? _path->original_curve : _path->curve;
SPItem *h2attItem[2];
getAttachedItems(h2attItem);
+ Geom::Matrix i2d = SP_ITEM(_path)->i2doc_affine();
for (unsigned h = 0; h < 2; ++h) {
if ( h2attItem[h] ) {
else
{
if (h == 0) {
- endPts[h] = *(curve->first_point());
+ endPts[h] = *(curve->first_point())*i2d;
}
else {
- endPts[h] = *(curve->last_point());
+ endPts[h] = *(curve->last_point())*i2d;
}
}
}