GLE Library: shape.gle

Download "shape.gle"

List of subroutines:

  • set_shape_use_tex use


  • set_shape_color_2 color$

  • ! Set the secondary filling color for the shapes

  • set_shadow_color color$

  • ! Set the color of the shadow

  • set_shape_dxdy dx dy

  • ! Set the internal gap of a shape (for shapes containing text)

  • rootnode xp yp width height name$


  • drawnode width height name$ type


  • binchilds par$ c1$ c2$ width height ydel xdel l1 l2


  • pmove d a


  • jointo n$


  • set_angle_just angle


  • line_label x1 y1 x2 y2 str$ dist

  • ! Draw a label at the center of an imaginary line from (x1,y1) to (x2,y2)
    ! (x1,y1): starting point of the line
    ! (x2,y2): ending point of the line
    ! str$: label to draw
    ! dist: distance between label and line

  • join_label a$ dir$ b$ label$ deltax deltay ldist

  • ! Similar to the join command, but also labels the arrow

  • curly_bracket x1 y1 x2 y2 r

  • ! Draw a curly bracket from (x1,y1) to (x2,y2) with radius r
    ! To draw the curly bracket on the "other side" of the line, swap (x1,y1) and (x2,y2)

  • labeled_circle label$ radius lradius langle name$ lcolor$


[Return to subroutines page]