# 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(300, 250) CREATE ptBoxColorTestAAnchor: PointAbsolute(0, 50) CREATE boxColorTestA: Box($ptBoxColorTestAAnchor, 50, 50) SET boxColorTestA.Text = "gradis" SET boxColorTestA.FontFamily = "Jellee" SET boxColorTestA.FontSize = 30 CREATE ptBoxColorTestBAnchor: PointAbsolute(50, 50) CREATE boxColorTestB: Box($ptBoxColorTestBAnchor, 50, 50) SET boxColorTestB.Text = "gradis" SET boxColorTestB.FontFamily = "Jellee" SET boxColorTestB.FontSize = 30 SET boxColorTestB.TextColor = #FF00AAFF CREATE ptBoxColorTestCAnchor: PointAbsolute(100, 50) CREATE boxColorTestC: Box($ptBoxColorTestCAnchor, 50, 50) SET boxColorTestC.Text = "gradis" SET boxColorTestC.FontFamily = "Jellee" SET boxColorTestC.FontSize = 30 SET boxColorTestC.TextColor = #AAFF00FF CREATE ptBoxColorTestDAnchor: PointAbsolute(150, 50) CREATE boxColorTestD: Box($ptBoxColorTestDAnchor, 50, 50) SET boxColorTestD.Text = "gradis" SET boxColorTestD.FontFamily = "Jellee" SET boxColorTestD.FontSize = 30 SET boxColorTestD.TextColor = #00AAFFFF CREATE ptBoxColorTestEAnchor: PointAbsolute(200, 50) CREATE boxColorTestE: Box($ptBoxColorTestEAnchor, 50, 50) SET boxColorTestE.BackgroundColor = #00FF00FF SET boxColorTestE.Text = "gradis" SET boxColorTestE.FontFamily = "Jellee" SET boxColorTestE.FontSize = 30 SET boxColorTestE.TextColor = #FF00AA7F CREATE ptBoxColorTestFAnchor: PointAbsolute(250, 50) CREATE boxColorTestF: Box($ptBoxColorTestFAnchor, 50, 50) SET boxColorTestF.BackgroundColor = #FF0000FF SET boxColorTestF.Text = "gradis" SET boxColorTestF.FontFamily = "Jellee" SET boxColorTestF.FontSize = 30 SET boxColorTestF.TextColor = #0000007F CREATE ptBoxWeightTestAAnchor: PointAbsolute(0, 150) CREATE boxWeightTestA: Box($ptBoxWeightTestAAnchor, 50, 50) SET boxWeightTestA.Text = "Weight" SET boxWeightTestA.FontFamily = "Fira Sans" SET boxWeightTestA.FontSize = 30 SET boxWeightTestA.FontWeight = 100 CREATE ptBoxWeightTestBAnchor: PointAbsolute(50, 150) CREATE boxWeightTestB: Box($ptBoxWeightTestBAnchor, 50, 50) SET boxWeightTestB.Text = "Weight" SET boxWeightTestB.FontFamily = "Fira Sans" SET boxWeightTestB.FontSize = 30 SET boxWeightTestB.FontWeight = 200 CREATE ptBoxWeightTestCAnchor: PointAbsolute(100, 150) CREATE boxWeightTestC: Box($ptBoxWeightTestCAnchor, 50, 50) SET boxWeightTestC.Text = "Weight" SET boxWeightTestC.FontFamily = "Fira Sans" SET boxWeightTestC.FontSize = 30 SET boxWeightTestC.FontWeight = 300 CREATE ptBoxWeightTestDAnchor: PointAbsolute(150, 150) CREATE boxWeightTestD: Box($ptBoxWeightTestDAnchor, 50, 50) SET boxWeightTestD.Text = "Weight" SET boxWeightTestD.FontFamily = "Fira Sans" SET boxWeightTestD.FontSize = 30 SET boxWeightTestD.FontWeight = 400 CREATE ptBoxWeightTestEAnchor: PointAbsolute(200, 150) CREATE boxWeightTestE: Box($ptBoxWeightTestEAnchor, 50, 50) SET boxWeightTestE.Text = "Weight" SET boxWeightTestE.FontFamily = "Fira Sans" SET boxWeightTestE.FontSize = 30 SET boxWeightTestE.FontWeight = 500 CREATE ptBoxWeightTestFAnchor: PointAbsolute(250, 150) CREATE boxWeightTestF: Box($ptBoxWeightTestFAnchor, 50, 50) SET boxWeightTestF.Text = "Weight" SET boxWeightTestF.FontFamily = "Fira Sans" SET boxWeightTestF.FontSize = 30 SET boxWeightTestF.FontWeight = 600 CREATE ptBoxWeightTestGAnchor: PointAbsolute(250, 100) CREATE boxWeightTestG: Box($ptBoxWeightTestGAnchor, 50, 50) SET boxWeightTestG.Text = "Weight" SET boxWeightTestG.FontFamily = "Fira Sans" SET boxWeightTestG.FontSize = 30 SET boxWeightTestG.FontWeight = 700 CREATE ptBoxWeightTestHAnchor: PointAbsolute(200, 100) CREATE boxWeightTestH: Box($ptBoxWeightTestHAnchor, 50, 50) SET boxWeightTestH.Text = "Weight" SET boxWeightTestH.FontFamily = "Fira Sans" SET boxWeightTestH.FontSize = 30 SET boxWeightTestH.FontWeight = 800 CREATE ptBoxWeightTestIAnchor: PointAbsolute(150, 100) CREATE boxWeightTestI: Box($ptBoxWeightTestIAnchor, 50, 50) SET boxWeightTestI.Text = "Weight" SET boxWeightTestI.FontFamily = "Fira Sans" SET boxWeightTestI.FontSize = 30 SET boxWeightTestI.FontWeight = 900 CREATE ptBoxStretchTestAAnchor: PointAbsolute(0, 100) CREATE boxStretchTestA: Box($ptBoxStretchTestAAnchor, 50, 50) SET boxStretchTestA.Text = "Stretch" SET boxStretchTestA.FontFamily = "Noto Sans" SET boxStretchTestA.FontSize = 30 SET boxStretchTestA.FontStretch = 0.5 CREATE ptBoxStretchTestBAnchor: PointAbsolute(50, 100) CREATE boxStretchTestB: Box($ptBoxStretchTestBAnchor, 50, 50) SET boxStretchTestB.Text = "Stretch" SET boxStretchTestB.FontFamily = "Noto Sans" SET boxStretchTestB.FontSize = 30 SET boxStretchTestB.FontStretch = 0.75 CREATE ptBoxStretchTestCAnchor: PointAbsolute(100, 100) CREATE boxStretchTestC: Box($ptBoxStretchTestCAnchor, 50, 50) SET boxStretchTestC.Text = "Stretch" SET boxStretchTestC.FontFamily = "Noto Sans" SET boxStretchTestC.FontSize = 30 SET boxStretchTestC.FontStretch = 1 CREATE ptBoxMultilineTestLeftAnchor: PointAbsolute(0, 200) CREATE boxMultilineTestLeft: Box($ptBoxMultilineTestLeftAnchor, 50, 50) SET boxMultilineTestLeft.Text = "A text that spans multiple lines. Magnificent!" SET boxMultilineTestLeft.FontFamily = "Noto Sans" SET boxMultilineTestLeft.FontSize = 12 SET boxMultilineTestLeft.TextHAlignment = "Left" CREATE ptBoxMultilineTestCenterAnchor: PointAbsolute(50, 200) CREATE boxMultilineTestCenter: Box($ptBoxMultilineTestCenterAnchor, 50, 50) SET boxMultilineTestCenter.Text = "A text that spans multiple lines. Magnificent!" SET boxMultilineTestCenter.FontFamily = "Noto Sans" SET boxMultilineTestCenter.FontSize = 12 CREATE ptBoxMultilineTestRightAnchor: PointAbsolute(100, 200) CREATE boxMultilineTestRight: Box($ptBoxMultilineTestRightAnchor, 50, 50) SET boxMultilineTestRight.Text = "A text that spans multiple lines. Magnificent!" SET boxMultilineTestRight.FontFamily = "Noto Sans" SET boxMultilineTestRight.FontSize = 12 SET boxMultilineTestRight.TextHAlignment = "Right" CREATE ptBoxMultilineTestTopAnchor: PointAbsolute(150, 200) CREATE boxMultilineTestTop: Box($ptBoxMultilineTestTopAnchor, 50, 50) SET boxMultilineTestTop.Text = "A text that spans multiple lines. Magnificent!" SET boxMultilineTestTop.FontFamily = "Noto Sans" SET boxMultilineTestTop.FontSize = 12 SET boxMultilineTestTop.TextVAlignment = "Top" CREATE ptBoxMultilineTestBottomAnchor: PointAbsolute(200, 200) CREATE boxMultilineTestBottom: Box($ptBoxMultilineTestBottomAnchor, 50, 50) SET boxMultilineTestBottom.Text = "A text that spans multiple lines. Magnificent!" SET boxMultilineTestBottom.FontFamily = "Noto Sans" SET boxMultilineTestBottom.FontSize = 12 SET boxMultilineTestBottom.TextVAlignment = "Bottom" CREATE ptBoxMultilineTestMLSAnchor: PointAbsolute(250, 200) CREATE boxMultilineTestMoreLineSpace: Box($ptBoxMultilineTestMLSAnchor, 50, 50) SET boxMultilineTestMoreLineSpace.Text = "A text that spans multiple lines. Magnificent!" SET boxMultilineTestMoreLineSpace.FontFamily = "Noto Sans" SET boxMultilineTestMoreLineSpace.FontSize = 12 SET boxMultilineTestMoreLineSpace.FontStretch = 1 SET boxMultilineTestMoreLineSpace.LineHeight = 1.5 CREATE ptBoxClipXTestAnchor: PointAbsolute(0, 250) CREATE boxClipXTest: Box($ptBoxClipXTestAnchor, 50, 50) SET boxClipXTest.Text = "Too long (clipped in X direction)" SET boxClipXTest.FontFamily = "Noto Sans" SET boxClipXTest.FontSize = 12 CREATE ptBoxClipYTestAnchor: PointAbsolute(50, 250) CREATE boxClipYTest: Box($ptBoxClipYTestAnchor, 50, 50) SET boxClipYTest.Text = "Way way too long text ( clipped in Y direction )" SET boxClipYTest.FontFamily = "Noto Sans" SET boxClipYTest.FontSize = 12 CREATE ptBoxClipXYTestAnchor: PointAbsolute(100, 250) CREATE boxClipXYTest: Box($ptBoxClipXYTestAnchor, 50, 50) SET boxClipXYTest.Text = "Way way too long long long long long long text ( clipped in X and Y direction )" SET boxClipXYTest.FontFamily = "Noto Sans" SET boxClipXYTest.FontSize = 12 CREATE ptBoxStyleTestNormalAnchor: PointAbsolute(150, 250) CREATE boxStyleTestNormal: Box($ptBoxStyleTestNormalAnchor, 50, 50) SET boxStyleTestNormal.Text = "Normal" SET boxStyleTestNormal.FontFamily = "Fira Sans" SET boxStyleTestNormal.FontSize = 30 SET boxStyleTestNormal.FontStyle = "Normal" CREATE ptBoxStyleTestItalicAnchor: PointAbsolute(200, 250) CREATE boxStyleTestItalic: Box($ptBoxStyleTestItalicAnchor, 50, 50) SET boxStyleTestItalic.Text = "Italic" SET boxStyleTestItalic.FontFamily = "Fira Sans" SET boxStyleTestItalic.FontSize = 30 SET boxStyleTestItalic.FontStyle = "Italic" CREATE ptBoxStyleTestObliqueAnchor: PointAbsolute(250, 250) CREATE boxStyleTestOblique: Box($ptBoxStyleTestObliqueAnchor, 50, 50) SET boxStyleTestOblique.Text = "Oblique" SET boxStyleTestOblique.FontFamily = "Fira Sans" SET boxStyleTestOblique.FontSize = 30 SET boxStyleTestOblique.FontStyle = "Oblique"