# Copyright 2022 The GRADIS Project Contributors # SPDX-License-Identifier: CC0-1.0 # SPDX-FileContributor: Lucas Hinderberger # # Each abovementioned SPDX-FileContributor has contributed to and/or modified this file. # Please add your name and email address to the list above, if you publish modifications. GRADIFF v0.1 [Chunk] Author: "John Doe " Timestamp: @2022-08-30T17:30:00Z CREATE canvas: Canvas(100, 100) CREATE ptBoxHelloAnchor: PointAbsolute(30, 70) CREATE boxHello: Box($ptBoxHelloAnchor, 40, 40) SET boxHello.Text = "Hello World!" [Chunk] Author: "John Doe " Timestamp: @2022-08-30T17:45:00Z SET boxHello.Height = 20 SET boxHello.Width = 50 SET ptBoxHelloAnchor.X = 25 SET ptBoxHelloAnchor.Y = 90 CREATE ptBoxBonjourAnchor: PointAbsolute(25, 30) CREATE boxBonjour: Box($ptBoxBonjourAnchor, 50, 20) SET boxBonjour.Text = "Bonjour Le Monde!" [Chunk] Author: "John Doe " Timestamp: @2022-08-30T17:50:00Z CREATE ptArrowSrc: PointDerivedFromSide($boxHello, "Bottom") CREATE ptArrowDest: PointDerivedFromSide($boxBonjour, "Top") CREATE arrow: Arrow($ptArrowSrc, $ptArrowDest) CREATE ptArrowMiddle: PointDerivedFromArrow($arrow, 0) CREATE lblTranslatesTo: LabelBox($ptArrowMiddle, 30, 10, "translates to") SET lblTranslatesTo.BackgroundColor = #FFFFFFFF