diff options
author | Hans Hagen <pragma@wxs.nl> | 2023-01-24 15:11:58 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2023-01-24 15:11:58 +0100 |
commit | b47e8c2cdeeab0bcdb1c4c32328c933f3f8599de (patch) | |
tree | 8e32282155744f2b0a812eff2fe88bbc919a70b4 /tex/context/base/mkxl/grph-trf.lmt | |
parent | 0caec226a633182402b349c3ac5b3bf9e0bc76c2 (diff) | |
download | context-b47e8c2cdeeab0bcdb1c4c32328c933f3f8599de.tar.gz |
2023-01-24 13:50:00
Diffstat (limited to 'tex/context/base/mkxl/grph-trf.lmt')
-rw-r--r-- | tex/context/base/mkxl/grph-trf.lmt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/grph-trf.lmt b/tex/context/base/mkxl/grph-trf.lmt index f68d6a6a8..7ca15e2a0 100644 --- a/tex/context/base/mkxl/grph-trf.lmt +++ b/tex/context/base/mkxl/grph-trf.lmt @@ -10,8 +10,19 @@ if not modules then modules = { } end modules ['grph-trf'] = { local sind, cosd, tand, abs = math.sind, math.cosd, math.tand, math.abs +local isdimen = tex.isdimen local setdimension = tex.setdimensionvalue +local d_grph_rotate_x_size = isdimen("d_grph_rotate_x_size") +local d_grph_rotate_y_size = isdimen("d_grph_rotate_y_size") +local d_grph_rotate_x_position = isdimen("d_grph_rotate_x_position") +local d_grph_rotate_y_position = isdimen("d_grph_rotate_y_position") +local d_grph_rotate_x_offset = isdimen("d_grph_rotate_x_offset") +local d_grph_rotate_y_offset = isdimen("d_grph_rotate_y_offset") +local d_grph_rotate_new_width = isdimen("d_grph_rotate_new_width") +local d_grph_rotate_new_height = isdimen("d_grph_rotate_new_height") +local d_grph_rotate_new_depth = isdimen("d_grph_rotate_new_depth") + local function analyzerotate(rotation,width,height,depth,total,notfit,obeydepth) -- -- print(rotation,width,height,depth,notfit,obeydepth) |