Group Begin - DEPRECATED
Purpose
The Group Begin marks the beginning of a set of drawing objects
that are treated as a group.
Syntax
Opcode
format |
Opcode |
Operand
Format |
Comments |
Extended ASCII |
(GroupBegin |
<ws><Tgroup_name>) |
Marks the beginning
of a set of drawing objects that can be treated as a group. |
Group_name A string used as an identifier
for a group.
Details
Some WHIP! data reading applications may need the ability to “group” drawing
objects. The WHIP! data generating application can indicate this need with
the Group Begin / Group End opcode pair:
(GroupBegin ‘Front bumper’)
(Circle …)
(Ellipse …)
(…)
(GroupEnd)
(Circle …) <- not in a group
(GroupBegin ‘Rear bumper’)
(Circle …)
(Ellipse …)
(…)
(GroupBegin ‘Left door’)
(Circle …)
(Ellipse …)
(…)
(GroupBegin ‘Right door’)
(Circle …)
(Ellipse …)
(GroupEnd)
Notes
1. There can be any number of groups defined within WHIP! data.
2. Group names do not have to be unique; they are attributes only.
3. Every drawing object which is read in following a Group Begin
opcode should be treated as belonging to that group.
4. The Group End opcode is not needed to complete or finish
a group. Group End is used to mark the end of a group if needed.
See Details for an example.
See Also
For more information, see the Group End
opcode.
Default
None.