# 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

- Introduction to the Language of Tactile Graphics
- The variables
- The arithmetic operators
- The constants
- Logical operators
- The procedures
- The functions
- Relational operators
- If conditional control
- The For cycle
- The While cycle
- All Instructions
- Abs- Returns the absolute value of a number
- Arc- Draws an arc
- ArcB- Draws an arc through three points
- ArcTan- Returns the arctangent of a number
- ArcTan2- Returns the angle between the X-axis and a segment of a line
- Braille- Draws a braille text
- BrailleHeight- Returns the height in points of the braille string
- BrailleType- Sets the characteristics of braille text
- BrailleWidth- Returns the width in points of the braille string
- Brush- Sets a brush type
- CharToNum- Converts the character into its Unicode code
- Chord- Draws a chord
- ChordB- Draw a chord through three points
- Circle- Draws a circle
- ColorBrush- Sets the brush color
- ColorPen- Sets the pen color
- Cos- Returns the cosine of an angle
- DegToRad- Converts angle from degrees to radians
- Dot- Draws or detects the color of a point
- Ellipse- Draws an ellipse
- Exp- Returns natural logarithm elevated to power
- Fill- Fills a surface
- Font- Sets a font type
- Frac- Returns the fractional portion of a number
- GraphicCrop- Crop the image to the chosen size
- GraphicOffset- Sets an offset to drawing coordinates
- GraphicOrigin- Sets the origin point of rotation
- GraphicRotate- Rotate entire graph
- GraphicScale- Changing the scale factors of the graph
- GraphicSize- Change the size and appearance of the graph
- GraphicTransparent- Changing the type of image transparency
- InsertPicture- Inserts an image into the graph
- Int- Returns the entire part of a number
- Line- Draws a line
- Ln- Returns the natural logarithm of a number
- MsgBox- Shows a message box
- NumToChar- Converts the Unicode code into its character
- NumToString- Converts number to string
- OpenPicture- Opens an image
- Pen- Sets a pen type
- Polygon- Draws a polygon
- Polyline- Draws a series of lines
- PolyReg- Draws a regular polygon
- Pow- Returns number elevated to power
- RadToDeg- Converts angle from radians to degrees
- Random- Returns a random number
- Rectangle- Draws a rectangle
- Root- Returns the root of a number
- Round- Returns the rounded value of a number
- SavePicture- Save the picture
- Sin- Returns the sine of an angle
- Spline- Draw a quadratic curve of Bezier
- Square- Draws a square
- StringCopy- Returns a part of a string
- StringDelete- Deletes a part of a string and returns the remaining string
- StringLeft- Returns a substring from the left side of the string
- StringLength- Returns the length of a string
- StringLower- Returns the string with the letters in lower case
- StringRight- Returns a substring by taking it from the right side of the string
- StringToNum- Converts the string into a numerical value
- StringTrim- Returns the string without the initial and final spaces
- StringUpper- Returns the string with all letters in upper case
- Tan- Returns the tangent of an angle
- Text- Draws a text
- TextHeight- Returns the height in points of the string
- TextWidth- Returns the width of the string in points
- Triangle- Draws a triangle
- Trunc- Returns the truncated value of a number
- TurtlePos- Place and orient the turtle in the plane
- TurtleRight- Turn the turtle to the right
- TurtleLeft- Turn the turtle to the left
- TurtleForward- Makes the turtle walk forward
- TurtleBackward- Makes the turtle walk backwards
- VectorToDeg- From a vector returns the angle in degrees
- VectorToRad- From a vector returns the angle in radians