diff options
author | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
commit | ecdf859b6ce481abfd530425dcf6f0f764bd0001 (patch) | |
tree | 13bc161dc046876ac6c92fce5f9f5034ba9aa573 /graphics/asymptote/drawlabel.cc | |
parent | 790995b7e79697514364450bf9c04f1b8d500838 (diff) |
CTAN sync 202112280300
Diffstat (limited to 'graphics/asymptote/drawlabel.cc')
-rw-r--r-- | graphics/asymptote/drawlabel.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/asymptote/drawlabel.cc b/graphics/asymptote/drawlabel.cc index afeeeb5673..491ec4f8d0 100644 --- a/graphics/asymptote/drawlabel.cc +++ b/graphics/asymptote/drawlabel.cc @@ -240,9 +240,8 @@ void drawLabelPath::bounds(bbox& b, iopipestream& tex, boxvector&, bboxlist&) bool drawLabelPath::write(texfile *out, const bbox&) { - bbox b=Box; - double Hoffset=getSetting<bool>("inlinetex") ? b.right : b.left; - b.shift(pair(-Hoffset,-b.bottom)); + double Hoffset=getSetting<bool>("inlinetex") ? Box.right : Box.left; + Box=Box.shift(pair(-Hoffset,-Box.bottom)); checkbounds(); if(drawLabel::pentype.invisible()) return true; |