File indexing completed on 2024-04-28 15:07:49
0001 /* GCompris - drawnumbers_dataset.js 0002 * SPDX-FileCopyrightText: 2016 Nitish Chauhan <nitish.nc18@gmail.com> 0003 0004 * SPDX-License-Identifier: GPL-3.0-or-later 0005 */ 0006 0007 .import GCompris 1.0 as GCompris //for ApplicationInfo 0008 .import "qrc:/gcompris/src/core/core.js" as Core 0009 0010 function get() { 0011 return [ 0012 { 0013 "imageName1": "paper.svg", 0014 "imageName2": "zero.svg", 0015 "coordinates": [[341,62],[300,50],[279,52],[251,59],[207,88],[181,121],[164,169],[159,209],[157,259],[168,307],[186,355],[222,388],[266,406],[316,408],[357,402],[402,375],[432,331],[446,289],[450,246],[444,205],[435,160],[414,111],[385,80]], 0016 "sound": GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/"+ Core.getSoundFilenamForChar("0")) 0017 }, 0018 0019 { 0020 "imageName1": "paper.svg", 0021 "imageName2": "one.svg", 0022 "coordinates": [[156,175],[189,157],[224,144],[261,124],[293,103],[320,80],[320,115],[320,151],[320,200],[320,246],[320,295],[320,337],[320,376],[320,412],[320,446]], 0023 "sound": GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/"+ Core.getSoundFilenamForChar("1")) 0024 }, 0025 0026 { 0027 "imageName1": "paper.svg", 0028 "imageName2": "two.svg", 0029 "coordinates": [[177,132],[189,96],[214,70],[254,49],[304,44],[352,49],[395,70],[425,108],[433,153],[403,198],[359,231],[320,264],[275,295],[237,315],[204,340],[168,372],[210,372],[239,372],[272,372],[301,372],[338,372],[373,372],[408,372],[446,372]], 0030 "sound": GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/"+ Core.getSoundFilenamForChar("2")) 0031 }, 0032 { 0033 "imageName1": "paper.svg", 0034 "imageName2": "three.svg", 0035 "coordinates": [[166,128],[185,96],[217,70],[254,59],[295,53],[342,57],[380,75],[410,111],[407,157],[380,183],[344,194],[312,197],[269,212],[313,216],[348,220],[384,231],[414,256],[437,291],[433,329],[414,355],[382,373],[348,384],[305,383],[253,377],[208,357],[177,329],[155,295]], 0036 "sound": GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/"+ Core.getSoundFilenamForChar("3")) 0037 }, 0038 { 0039 "imageName1": "paper.svg", 0040 "imageName2": "four.svg", 0041 "coordinates":[[340,31], [312,66],[287,97],[255,132],[231,166],[200,201],[168,240],[122,288],[173,288],[225,288],[262,288],[306,288],[345,288],[386,288],[417,288], 0042 [340,31],[340,86],[340,151],[340,212],[340,262],[340,310],[340,364],[340,401]], 0043 "coordinates2":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2], 0044 "sound": GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/"+ Core.getSoundFilenamForChar("4")) 0045 }, 0046 { 0047 "imageName1": "paper.svg", 0048 "imageName2": "five.svg", 0049 "coordinates": [[428,55],[380,55],[328,55],[283,55],[251,55],[215,55],[208,93],[202,122],[193,160],[185,188],[178,223],[202,226],[225,202],[258,184],[294,179],[335,190],[377,208],[411,234],[428,268],[425,313],[410,347],[381,377],[341,394],[301,402],[254,394],[211,372],[184,347],[167,308]], 0050 "sound": GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/"+ Core.getSoundFilenamForChar("5")) 0051 }, 0052 { 0053 "imageName1": "paper.svg", 0054 "imageName2": "six.svg", 0055 "coordinates": [[422,125],[406,86],[380,66],[331,52],[288,51],[253,63],[218,88],[191,129],[177,172],[173,208],[175,251],[181,292],[195,333],[217,368],[251,387],[298,401],[346,395],[393,369],[418,315],[411,255],[382,215],[342,197],[300,193],[266,201],[237,219],[208,246]], 0056 "sound": GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/"+ Core.getSoundFilenamForChar("6")) 0057 }, 0058 { 0059 "imageName1": "paper.svg", 0060 "imageName2": "seven.svg", 0061 "coordinates": [[164,57],[207,57],[258,57],[306,57],[344,57],[391,57],[426,57],[461,57],[426,93],[397,125],[370,160],[348,188],[324,222],[297,273],[282,304],[266,346],[254,390]], 0062 "sound": GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/"+ Core.getSoundFilenamForChar("7")) 0063 }, 0064 { 0065 "imageName1": "paper.svg", 0066 "imageName2": "eight.svg", 0067 "coordinates": [[279,200],[231,172],[206,135],[210,91],[242,59],[277,42],[319,41],[363,52],[395,78],[413,121],[399,168],[371,198],[317,216],[271,223],[225,246],[197,281],[195,336],[203,364],[224,386],[253,400],[295,411],[345,408],[388,390],[421,354],[432,310],[426,267],[402,240],[374,226],[311,219]], 0068 "sound": GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/"+ Core.getSoundFilenamForChar("8")) 0069 }, 0070 { 0071 "imageName1": "paper.svg", 0072 "imageName2": "nine.svg", 0073 "coordinates": [[413,157],[389,106],[351,74],[305,62],[254,67],[218,89],[193,120],[175,172],[193,222],[226,252],[279,266],[331,259],[371,237],[388,205],[413,157],[421,198],[420,262],[411,304],[395,342],[362,375],[313,388],[262,386],[222,369],[202,348],[191,321]], 0074 "sound": GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/"+ Core.getSoundFilenamForChar("9")) 0075 } 0076 0077 ] 0078 }