This article introduces a Small Basic program called "Shapes". This is a program for editing picture with Small Basic Shapes objects.
Output of "Shapes" program is a Small Basic program which shows picture you created. So you can modify the output program to move and rotate the picture. Program
RQB683-3 is a sample output program.
These instructions are for Shapes 1.5b.
Import as program ID XFZ657-15, remove comment from lines with File objects and save the program as "Shapes1_5b.smallbasic".
Click Pen Width menu and change the pen width. Click Pen Color menu and select pen color. Click Brush Color menu and select brush color.
Click Rectangle, Ellipse, Triangle or Line menu and drag on the window to draw these shapes. Created shapes can be re-sized or rotated to drag one of the pinches on the shape. Click twice on the menu to add shapes consecutively.
Select a shape and click Cut menu to cut the shape, Copy menu to copy the shape. After cut or copy, click Paste menu to paste the shape. Cut and Paste will change the shape z-order also.
Click Save menu to save shapes to a Small Basic file. On the textbox on Save popup window, push Ctrl+A and Ctrl+C to copy the source code, paste it to Small Basic IDE or your text editor and save it as a Small Basic program.
Click Open menu to read shapes from saved file. On the textbox on Open popup window, enter filename of the saved shapes program.
Following tools are for Shapes.
Following list shows typical versions of Shapes editor.
[*1] A part if this program is published as
GTV460. This part outputs move and rotation code. You can insert GTV460 in WriteShapes subroutine if you need.
[*2] A part if this program is published as
GTV460-0. This part outputs move and rotation code. You can insert GTV460-0 in WriteShapes subroutine if you need.
[*3] A part if this program is published as
GTV460-1. This part is [Open] subroutines. You can replace GTV460-1 for dummy ReadShapes subroutine if you need.
[*4} Published version doesn't have comments. Full source code and binaries are uploaded to
Following list shows known issues of Shapes 2.02b.