Blind, Braille and Embossing Technologies

Read the DiGrande.it Cookie Policy

Tactile Graphics Language

This manual describes in detail the Biblos Tactile Graphics Language, a real high-level programming language for constructing and drawing vector graphics, mainly used to print tactile graphics, but also useful for all other purposes where it needs to have vector graphics.

The manual introduces all the basic programming concepts in general, and describes in detail the syntax and semantics of this new language. For those who approach the basics of programming for the first time, the logic and jargon used may not be entirely clear. However, the manual is published in a completely dynamic form, so it is constantly subject to changes and additions, in order to make it accessible to all.

This manual, as well as the Language of Tactile Graphics, is written, conceived and developed by Giuseppe Di Grande, who owns all the copyrights and publication, in any form and by any means.

Table of Contents

  1. Introduction to the Language of Tactile Graphics
  2. The variables
  3. The arithmetic operators
  4. The constants
  5. Logical operators
  6. The procedures
  7. The functions
  8. Relational operators
  9. If conditional control
  10. The For cycle
  11. The While cycle
  12. All Instructions
    1. Abs- Returns the absolute value of a number
    2. Arc- Draws an arc
    3. ArcB- Draws an arc through three points
    4. ArcTan- Returns the arctangent of a number
    5. ArcTan2- Returns the angle between the X-axis and a segment of a line
    6. Braille- Draws a braille text
    7. BrailleHeight- Returns the height in points of the braille string
    8. BrailleType- Sets the characteristics of braille text
    9. BrailleWidth- Returns the width in points of the braille string
    10. Brush- Sets a brush type
    11. CharToNum- Converts the character into its Unicode code
    12. Chord- Draws a chord
    13. ChordB- Draw a chord through three points
    14. Circle- Draws a circle
    15. ColorBrush- Sets the brush color
    16. ColorPen- Sets the pen color
    17. Cos- Returns the cosine of an angle
    18. DegToRad- Converts angle from degrees to radians
    19. Dot- Draws or detects the color of a point
    20. Ellipse- Draws an ellipse
    21. Exp- Returns natural logarithm elevated to power
    22. Fill- Fills a surface
    23. Font- Sets a font type
    24. Frac- Returns the fractional portion of a number
    25. GraphicCrop- Crop the image to the chosen size
    26. GraphicOffset- Sets an offset to drawing coordinates
    27. GraphicOrigin- Sets the origin point of rotation
    28. GraphicRotate- Rotate entire graph
    29. GraphicScale- Changing the scale factors of the graph
    30. GraphicSize- Change the size and appearance of the graph
    31. GraphicTransparent- Changing the type of image transparency
    32. InsertPicture- Inserts an image into the graph
    33. Int- Returns the entire part of a number
    34. Line- Draws a line
    35. Ln- Returns the natural logarithm of a number
    36. MsgBox- Shows a message box
    37. NumToChar- Converts the Unicode code into its character
    38. NumToString- Converts number to string
    39. OpenPicture- Opens an image
    40. Pen- Sets a pen type
    41. Polygon- Draws a polygon
    42. Polyline- Draws a series of lines
    43. PolyReg- Draws a regular polygon
    44. Pow- Returns number elevated to power
    45. RadToDeg- Converts angle from radians to degrees
    46. Random- Returns a random number
    47. Rectangle- Draws a rectangle
    48. Root- Returns the root of a number
    49. Round- Returns the rounded value of a number
    50. SavePicture- Save the picture
    51. Sin- Returns the sine of an angle
    52. Spline- Draw a quadratic curve of Bezier
    53. Square- Draws a square
    54. StringCopy- Returns a part of a string
    55. StringDelete- Deletes a part of a string and returns the remaining string
    56. StringLeft- Returns a substring from the left side of the string
    57. StringLength- Returns the length of a string
    58. StringLower- Returns the string with the letters in lower case
    59. StringRight- Returns a substring by taking it from the right side of the string
    60. StringToNum- Converts the string into a numerical value
    61. StringTrim- Returns the string without the initial and final spaces
    62. StringUpper- Returns the string with all letters in upper case
    63. Tan- Returns the tangent of an angle
    64. Text- Draws a text
    65. TextHeight- Returns the height in points of the string
    66. TextWidth- Returns the width of the string in points
    67. Triangle- Draws a triangle
    68. Trunc- Returns the truncated value of a number
    69. TurtlePos- Place and orient the turtle in the plane
    70. TurtleRight- Turn the turtle to the right
    71. TurtleLeft- Turn the turtle to the left
    72. TurtleForward- Makes the turtle walk forward
    73. TurtleBackward- Makes the turtle walk backwards
    74. VectorToDeg- From a vector returns the angle in degrees
    75. VectorToRad- From a vector returns the angle in radians