This project has moved. For the latest updates, please go here.

Group Array Specification

Version 4 (DRAFT)
Nonki Takahashi

Purpose

This specification is to define the group array for shapes in Microsoft Small Basic programming language. The shape array is already used in such Shapes editor. The purpose of the group array is grouping shapes in the shape array.

Definitions

In this specification, data format and subroutines for the group array are defined.

Data Format

The Array
The name of the array is group.

Properties (indices)

  • name - the group name.
  • x - x coordinate of the group position.
  • y - y coordinate of the group position.
  • width - width of the group position.
  • height - height of the group position.
  • iMin - minimum index in shape array for the group.
  • iMax - maximum index in shape array for the group.
  • scale - scale to zoom the group.
  • angle - angle to rotate the group.
  • cx - x coordinate of the rotate center of the group.
  • cy - y coordinate of the rotate center of the group.

Subroutines

  • Group_Add - add shapes as a group
  • Group_Hide - hide the group
  • Group_Remove - remove the group
  • Group_Show - show the group
  • Group_Move - move the group
  • Group_Rotate - rotate the group
  • Group_Zoom - zoom the group

Copyright (c) 2015 Nonki Takahashi. All rights reserved.

Last edited Dec 30, 2015 at 11:14 AM by Nonki, version 4