[GCompris-devel] Suggestions Regarding new levels for activity Explore Monuments

B.J. bj at koupps.net
Fri Feb 12 16:44:22 UTC 2016


Thanks!  I¹ll give it a shot.

From:  Emmanuel Charruau <echarruau at gmail.com>
Date:  Friday, February 12, 2016 at 10:10 AM
To:  "Dr. Cupps" <bj at koupps.net>
Cc:  GCompris Devel <gcompris-devel at kde.org>
Subject:  Re: [GCompris-devel] Suggestions Regarding new levels for activity
Explore Monuments

Hi BJ,

Do you think you could add the owl back?

Here are the coordinates from gtk version. It needs a bit of formating to
transform it to qt coordinates.
Svg files for the owl are in drawnumber
ressources, they are called hibou1svg and hibou2.svg.

Here just to have an example are the gtk coordinates for the bear
drawnumber/dn_bear1.jpg;
drawnumber/dn_bear2.jpg;[304,256];[262,240];[216,206];[192,174];[195,159];[2
16,154];[257,167];[300,188];[334,220];[352,206];[370,200];[342,185];[321,154
];[319,117];[337,90];[320,76];[315,55];[335,38];[360,40];[376,52];[377,66];[
400,59];[431,60];[450,66];[451,48];[468,37];[490,36];[507,48];[510,70];[501,
82];[486,86];[502,110];[506,136];[499,164];[479,189];[458,200];[480,212];[52
2,180];[578,158];[611,154];[622,164];[618,184];[592,213];[550,236];[515,251]
;[529,286];[532,329];[526,364];[548,354];[566,360];[576,384];[571,417];[548,
455];[520,470];[493,456];[490,419];[461,440];[414,453];[360,441];[330,422];[
331,450];[317,471];[284,467];[255,434];[242,402];[248,366];[271,354];[296,36
4];[288,326];[292,282];[304,256]

Here the  qt coordinates
                "imageName1": "bear1.svg",
                "imageName2": "bear2.svg",
                "coordinates":
[[304,256],[262,240],[216,206],[192,174],[195,159],[216,154],[257,167],[300,
188],[334,220],[352,206],[370,200],[342,185],[321,154],[319,117],[337,90],[3
20,76],[315,55],[335,38],[360,40],[376,52],[377,66],[400,59],[431,60],[450,6
6],[451,48],[468,37],[490,36],[507,48],[510,70],[501,82],[486,86],[502,110],
[506,136],[499,164],[479,189],[458,200],[480,212],[522,180],[578,158],[611,1
54],[622,164],[618,184],[592,213],[550,236],[515,251],[529,286],[532,329],[5
26,364],[548,354],[566,360],[576,384],[571,417],[548,455],[520,470],[493,456
],[490,419],[461,440],[414,453],[360,441],[330,422],[331,450],[317,471],[284
,467],[255,434],[242,402],[248,366],[271,354],[296,364],[288,326],[292,282],
[304,256]]


Here the gtk coordinates for the owl
drawnumber/dn_hibou1.jpg;
drawnumber/dn_hibou2.jpg;[443,133];[423,11];[434,10];[472,56];[458,20];[467,
19];[495,71];[491,30];[501,33];[522,116];[519,72];[529,75];[537,153];[539,11
9];[546,125];[547,159];[555,154];[556,208];[583,169];[724,98];[739,99];[703,
137];[743,109];[742,121];[691,165];[742,143];[741,155];[654,200];[716,182];[
713,195];[650,215];[689,212];[680,219];[615,235];[661,229];[653,238];[604,25
0];[622,250];[615,255];[582,260];[600,263];[590,268];[577,268];[606,300];[64
4,294];[643,302];[599,314];[625,311];[623,318];[593,323];[615,323];[611,327]
;[586,329];[599,332];[591,336];[553,335];[535,357];[534,377];[527,368];[511,
367];[493,375];[501,366];[485,371];[493,363];[482,365];[492,355];[514,354];[
532,332];[520,331];[505,317];[500,291];[501,303];[490,289];[486,297];[479,28
2];[473,287];[466,269];[448,252];[446,224];[460,201];[456,191];[459,182];[46
7,197];[479,196];[443,133]

Coordinates have to be added to
var dataset = [ 
line 32 from GCompris-qt/src/activities/drawnumber/drawnumber.js

Thanks :)

Emmanuel (Allon)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20160212/2b9a45d7/attachment.html>


More information about the GCompris-devel mailing list