diff options
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) |