Commit 19c16bfe authored by Srishti Sethi's avatar Srishti Sethi

Braille Objects New Activity

parent 15b87fd7
SUBDIRS =
pythondir = $(PYTHON_PLUGIN_DIR)
dist_python_DATA= braille_objects.py
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
xml_in_files = \
braille_objects.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
# in the file themselves. GCompris pick the translations from the po file at
# runtime.
#
$(xml_DATA): %.xml: %.xml.in
sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
# Use this directive and instead of the one above to embed the translations
# in the xml files directly, this is needed for the tool gcompris2spip
#@INTLTOOL_XML_RULE@
icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
icon_DATA = braille_objects.svg
EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh
CLEANFILES = $(xml_DATA)
# gcompris - braille_objects.py
#
# Copyright (C) 2003, 2008 Bruno Coudoin
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
# braille_objects activity.
import gtk
import gtk.gdk
import gcompris
import gcompris.utils
import gcompris.skin
import gcompris.bonus
import goocanvas
import pango
import ConfigParser
from BrailleChar import *
from braille_alphabets import *
from gcompris import gcompris_gettext as _
#Constants Declaration
COLOR_ON = 0xFF0000FFL
COLOR_OFF = 0X000000
CIRCLE_STROKE = "black"
CIRCLE_FILL = "#DfDfDf"
class Gcompris_braille_objects:
"""Empty gcompris python class"""
def __init__(self, gcomprisBoard):
# Save the gcomprisBoard, it defines everything we need
# to know from the core
self.gcomprisBoard = gcomprisBoard
self.gcomprisBoard.level=1
self.gcomprisBoard.sublevel=1
self.gcomprisBoard.number_of_sublevel=1
self.gcomprisBoard.maxlevel = 8
#Boolean variable declaration
self.mapActive = False
# Needed to get key_press
gcomprisBoard.disable_im_context = True
def start(self):
# Set a background image
gcompris.set_default_background(self.gcomprisBoard.canvas.get_root_item())
# Create our rootitem. We put each canvas item in it so at the end we
# only have to kill it. The canvas deletes all the items it contains
# automaticaly.
self.rootitem = goocanvas.Group(parent =
self.gcomprisBoard.canvas.get_root_item())
#Creating a Red Border
goocanvas.Rect(
parent = self.rootitem,
x = 10,
y = 10,
width = 780,
height = 500,
stroke_color = "dark red",
line_width=40)
# Set the buttons we want in the bar
gcompris.bar_set(gcompris.BAR_LEVEL)
gcompris.bar_location(300,-1,0.6)
gcompris.bar_set_level(self.gcomprisBoard)
#REPEAT ICON
gcompris.bar_set(gcompris.BAR_LEVEL|gcompris.BAR_REPEAT_ICON)
gcompris.bar_location(300,-1,0.7)
goocanvas.Text(
parent = self.rootitem,
x=400.0,
y=50.0,
text=_("Braille these Objects"),
fill_color="black",
anchor = gtk.ANCHOR_CENTER,
alignment = pango.ALIGN_CENTER,
font = 'SANS 20'
)
goocanvas.Text(
parent = self.rootitem,
x=320.0,
y=100.0,
text=_("Category : "),
fill_color="black",
anchor = gtk.ANCHOR_CENTER,
alignment = pango.ALIGN_CENTER,
font = 'SANS 15'
)
self.read_data()
self.display_game(self.gcomprisBoard.level)
def read_data(self):
'''Load the activity data'''
config = ConfigParser.RawConfigParser()
p = gcompris.get_properties()
filename = gcompris.DATA_DIR + '/' + self.gcomprisBoard.name + '/activity.desktop'
try:
gotit = config.read(filename)
if not gotit:
gcompris.utils.dialog(_("Cannot find the file '{filename}'").format(filename=filename),None)
return False
except ConfigParser.Error as error:
gcompris.utils.dialog(_("Failed to parse data set '{filename}' with error:\n{error}").
format(filename=filename, error=error), None)
return False
self.dataset = config
return True
def display_game(self, level):
#Displaying the Category
goocanvas.Text(parent = self.rootitem,
x=450.0,
y=100.0,
text=str(self.dataset.get(str(level),"category")),
fill_color="black",
anchor = gtk.ANCHOR_CENTER,
alignment = pango.ALIGN_CENTER,
font = 'SANS 15'
)
#Displaying the OK Button
goocanvas.Image(parent = self.rootitem,
pixbuf = gcompris.utils.load_pixmap("braille_objects/ok.svg"),
x = 30,
y = 380,
)
#Displaying the CONTENT
k = 0
i = 0
j = 2
while k < 2:
spacing = 0
#Displaying the OBJECTS
for index in range(i,j):
goocanvas.Image(parent = self.rootitem,
pixbuf = gcompris.utils.load_pixmap
(str(self.dataset.get(str(level),"image_" + str(index+1)))),
x = 370 * spacing + 130,
y = 150 * k + 130
)
answer_length = len(str(self.dataset.get(str(level),"ans_" + str(index+1))))
#Displaying the Braille Tile
for index in range(answer_length):
BrailleChar(self.rootitem,( 370 * spacing + 130 ) + (40 * index + 1 ), 180 * k + 200, 50 ,
'', COLOR_ON, COLOR_OFF ,CIRCLE_FILL, CIRCLE_STROKE, True, True ,False, None)
spacing = spacing + 1
i += 2
j += 2
k += 1
def end(self):
# Remove the root item removes all the others inside it
self.rootitem.remove()
def ok(self):
print("braille_objects ok.")
def repeat(self):
if(self.mapActive):
self.end()
self.start()
self.mapActive = False
self.pause(0)
else :
self.rootitem.props.visibility = goocanvas.ITEM_INVISIBLE
self.rootitem = goocanvas.Group(parent=
self.gcomprisBoard.canvas.get_root_item())
gcompris.set_default_background(self.gcomprisBoard.canvas.get_root_item())
map_obj = BrailleMap(self.rootitem, COLOR_ON, COLOR_OFF, CIRCLE_FILL, CIRCLE_STROKE)
self.mapActive = True
self.pause(1)
def config(self):
print("braille_objects config.")
def key_press(self, keyval, commit_str, preedit_str):
utf8char = gtk.gdk.keyval_to_unicode(keyval)
strn = u'%c' % utf8char
print("Gcompris_braille_objects key press keyval=%i %s" % (keyval, strn))
def pause(self, pause):
print("braille_objects pause. %i" % pause)
def set_level(self, level):
gcompris.sound.play_ogg("sounds/receive.wav")
self.gcomprisBoard.level = level
self.gcomprisBoard.sublevel = 1
gcompris.bar_set_level(self.gcomprisBoard)
self.end()
self.start()
def increment_level(self):
gcompris.sound.play_ogg("sounds/bleep.wav")
self.gcomprisBoard.sublevel += 1
if(self.gcomprisBoard.sublevel>self.gcomprisBoard.number_of_sublevel):
self.gcomprisBoard.sublevel=1
self.gcomprisBoard.level += 1
if(self.gcomprisBoard.level > self.gcomprisBoard.maxlevel):
self.gcomprisBoard.level = 1
\ No newline at end of file
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<GCompris>
<Board
name="braille_objects"
type="python:braille_objects"
section="/experimental"
icon="braille_objects.svg"
difficulty="1"
author="your name here"
boarddir=""
demo="1">
<_title>set a title for braille_objects</_title>
<_description>set a description for braille_objects</_description>
<_prerequisite>set a prerequisite for braille_objects</_prerequisite>
<_goal>set a goal for braille_objects</_goal>
<_manual>set a manual for braille_objects</_manual>
<_credit>set a credit for braille_objects</_credit>
</Board>
<Data directory=""/>
</GCompris>
../boards/python/gcompris
\ No newline at end of file
# Set the different path for this activity
# This is sourced by runit.sh
path=$1
activity=braille_objects
plugindir=$path/../boards/.libs
pythonplugindir=$path/../braille_alphabets-activity:$path/../braille_objects-activity
resourcedir=$path/resources
section="/experimental"
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg2"
version="1.1"
inkscape:version="0.48.0 r9654"
width="215"
height="45"
sodipodi:docname="belt.png">
<metadata
id="metadata8">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs6" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1256"
inkscape:window-height="701"
id="namedview4"
showgrid="false"
inkscape:zoom="2.3767442"
inkscape:cx="107.5"
inkscape:cy="18.502935"
inkscape:window-x="0"
inkscape:window-y="37"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<image
width="215"
height="45"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANcAAAAtCAYAAAA9dP7KAAAABHNCSVQICAgIfAhkiAAAERdJREFU
eJztnVtsG1d6x39nZkhKNC3JlizJN/keO1GT1PEm2yZ17E2LJAbifXCABbp9CILAEQMUyEuA+qlG
XoI++C1ATPql6IOb5KEIinWDplm3id2tnbWzm8SJLSfyRY5iSdbFkijxPnP6cOaYI4qkSImGrfX8
gQHJmeGZM5zv/93Odw4FPnwsAcRiMaLRKLFYDCEEPT09xOPxVinlTiAkhHAAKaU0hRBSSukIIZBS
WkIIcA8KIRwppQEI931GCHHVMIz+gwcPOvF4XJ9LNBoF4OjRo5imyeuvv15Tn0Ud79+Hj7sCTSyA
eDwekVI+CwSFEMNSyq+i0WhqoW3H4/GAlHIrsEkIYUgpBfCjEKJXSpnWRHbPvfO+Gvjk8lETtmzZ
ypUrfRXPWbduHQMDA3W/diwW+5kQYpWU8mQ0Gs0uoh2i0WhZssRisXVCiG4pZaMQ4ishRL/jOFJb
Tk30+eCTy0fNaG/vENu2bQuapjVLfnK5nHPmzO8WLPSVEI/Hd0kpU1LK3lAo5GQyGSGEwDAMXGsD
gBAC0zQxDAPLsrAsi2AwKJctW8YLL7wgtYtYLWKx2JNCiDbgXE9Pz6jbl6osmE8uHzVj+/aHuzs7
O/7JMMxW7/58P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9Z58uTJbfl83ls/qK1WP/CvlJhytBhCrEHVIG6jvKZaqnHZ/dzvB9FTcDZv3rxy3bp1LYZh
iPHx8Zlvv/12xHEcncY/B3ysTz569ChvvPFG1Y0X/y1QPB7vkFI+1tLScuvEiRPTH3zwwe58Pr/R
8xX9DCzgX1Bu4RyZWexD6kKNgbVTfs28UhAVjlXSeuWOlWpPltlfTVuVjlV7/bt17H4m1l1TSoZh
iOXLlweFEDQ3NwfXrl0btizLlFIabW1tlw4cOPA/4XB44MCBAz8uZLp/PB5fKaXsFkJEAoHA4Msv
v3xl//79oVOnTu1BrZGhEzU61mpEhUifUWb60mIflEDNzKy0MGipzOJCr1tPwVrKfSjXVi3Kp5Zj
xc+vntepVQHawWBwc0NDw5OmadpCiIxlWSPNzc3DW7dubens7GyJRCKyoaEh3djYmAmHw9mmpqZ0
S0tLJhQK2UIIW0oppJTCcRxT/7dXQ0PD2P79+69PT0/nn3/++aazZ89uRuUVOiksqqPRiFqf5D9R
k3HL3rAPH/cryoUazUAUNe56Z5m1YDAYCAaDljszRafvvescOkKIHJATQtju5gBkMpn8zMyMRBUT
6614XFe4+88DJ1HjdTV13oePpYD9qCWzobY1GmWZ1+LKeO9xQaG+8DMUueb9/zH/L4R8LFVcR2Xo
QqiFfvSk1VnTQzyfvTG4d9PZTVHmXN3uJeDfUStY6TVlKsK3XD6WMvRsaz3Bd7X72kZhuTNt1bwl
VMXrX2ge6Fcd642hSPUNqmyrpgmZPrl8/KlAWyHvq15puQW15sly1MTNMIWYykCN2ek/c7iNKjIe
QJU0Lbi8yieXjwcBs2YZM1vui+MrWPwf8/nw4cOHDx8+fPjwofH/V8WUHs7eKLsAAAAASUVORK5C
YII=
"
id="image10"
x="0"
y="0" />
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="128.00000px"
height="128.00000px"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.48.0 r9654"
sodipodi:docname="tie.svg"
inkscape:export-filename="/home/nicu/Desktop/potato_guy.png"
inkscape:export-xdpi="90.000000"
inkscape:export-ydpi="90.000000"
version="1.1">
<defs
id="defs3">
<linearGradient
inkscape:collect="always"
id="linearGradient14422">
<stop
style="stop-color: rgb(0, 0, 0); stop-opacity: 1;"
offset="0"
id="stop14424" />
<stop
style="stop-color: rgb(0, 0, 0); stop-opacity: 0;"
offset="1"
id="stop14426" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient14414">
<stop
style="stop-color: rgb(0, 0, 0); stop-opacity: 1;"
offset="0"
id="stop14416" />
<stop
style="stop-color: rgb(0, 0, 0); stop-opacity: 0;"
offset="1"
id="stop14418" />
</linearGradient>
<linearGradient
id="linearGradient2424">
<stop
style="stop-color: rgb(222, 193, 100); stop-opacity: 1;"
offset="0"
id="stop2426" />
<stop
style="stop-color: rgb(213, 168, 100); stop-opacity: 1;"
offset="1.0000000"
id="stop2428" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2424"
id="linearGradient7610"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(84, 5)"
x1="114.00000"
y1="112.36218"
x2="197.00000"
y2="288.36218" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient14414"
id="linearGradient14441"
gradientUnits="userSpaceOnUse"
x1="359.40097"
y1="501.27704"
x2="392.05878"
y2="543.17145" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient14422"
id="linearGradient14443"
gradientUnits="userSpaceOnUse"
x1="408.05783"
y1="499.79263"
x2="448.46774"
y2="546.30530" />
<linearGradient
id="linearGradient912">
<stop
id="stop913"
offset="0.0000000"
style="stop-color: rgb(255, 255, 255); stop-opacity: 1;" />
<stop
id="stop914"
offset="1.0000000"
style="stop-color: rgb(255, 255, 255); stop-opacity: 0;" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient912"
id="radialGradient17463"
gradientUnits="userSpaceOnUse"
gradientTransform="scale(1.02248, 0.978019)"
cx="44.699298"
cy="42.720970"
fx="44.699298"
fy="42.720970"
r="12.239094" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1"
inkscape:cx="252.66113"
inkscape:cy="75.159642"
inkscape:document-units="px"
inkscape:current-layer="layer1"
inkscape:window-width="1152"
inkscape:window-height="700"
inkscape:window-x="0"
inkscape:window-y="37"
showguides="true"
inkscape:guide-bbox="true"
showgrid="false"
inkscape:window-maximized="0" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<switch
id="switch6"
transform="matrix(0.33812246,0,0,0.44212999,10.281511,7.0582462)">
<foreignObject
requiredExtensions="http://ns.adobe.com/AdobeIllustrator/10.0/"
x="0"
y="0"
width="1"
height="1"
id="foreignObject8">
<i:pgfRef
xlink:href="#adobe_illustrator_pgf" />
</foreignObject>
<g
i:extraneous="self"
id="g10">
<g
id="Layer_1"
i:layer="yes"
i:dimmedPercent="50"
i:rgbTrio="#4F008000FFFF">
<g
id="g13">
<path
i:knockout="Off"
clip-rule="evenodd"
stroke-miterlimit="2.4142"
d="m 3.311,145.584 c 5.328,16.056 20.736,30.528 42.768,31.393 7.2,0 14.832,-0.864 19.512,-3.385 -47.664,-5.04 -27.144,-48.744 -9.792,-63.936 27.936,-25.344 72.935,-54.216 126.576,-37.225 13.031,3.744 10.584,23.4 5.904,30.816 13.607,-9.288 18.287,-28.728 14.399,-44.352 C 191.23,24.336 140.615,22.608 91.727,39.313 42.695,56.088 -9.433,107.496 3.311,145.584 z"
id="path15"
inkscape:connector-curvature="0"
style="fill:#ffcc00;fill-rule:evenodd;stroke:#000000;stroke-width:2.88000011;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2.41420007" />
<path
i:knockout="Off"
clip-rule="evenodd"
stroke-miterlimit="2.4142"
d="m 64.655,173.592 c 54.144,-11.016 94.607,-37.8 124.056,-69.912 3.816,-12.672 9.359,-30.888 -14.832,-33.407 6.336,34.704 -100.656,97.487 -137.591,79.199 0.431,17.784 16.991,22.824 28.367,24.12 z"
id="path17"
inkscape:connector-curvature="0"
style="fill:#ffbf00;fill-rule:evenodd;stroke:#000000;stroke-width:2.88000011;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2.41420007" />
<path
i:knockout="Off"
clip-rule="evenodd"
stroke-miterlimit="2.4142"
d="m 67.823,16.488 29.448,12.24 12.168,29.52 -12.168,29.448 -29.448,12.24 -29.52,-12.24 -12.24,-29.448 12.24,-29.52 29.52,-12.24 z"
id="path19"
inkscape:connector-curvature="0"
style="fill:#ffffe6;fill-rule:evenodd;stroke:#000000;stroke-width:2.88000011;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2.41420007" />
<path
i:knockout="Off"
clip-rule="evenodd"
d="m 175.031,71.856 c 1.656,7.775 -5.616,18.647 -7.488,22.031 -1.729,3.168 -13.248,13.752 -14.184,18.792 -1.44,5.977 4.176,4.752 10.224,2.305 12.456,-5.473 24.407,-15.696 27.144,-22.536 1.007,-11.16 -2.161,-18.288 -15.696,-20.592 z"
id="path21"
inkscape:connector-curvature="0"
style="fill:#bfbf00;fill-rule:evenodd" />
<path
i:knockout="Off"
clip-rule="evenodd"
d="m 37.151,151.128 c 1.872,15.552 18.504,20.952 28.152,21.24 11.52,-5.904 3.744,-14.616 27.72,-28.008 -18.792,7.056 -38.52,12.241 -55.872,6.768 z"
id="path23"
inkscape:connector-curvature="0"
style="fill:#bfbf00;fill-rule:evenodd" />
<path
i:knockout="Off"
clip-rule="evenodd"
d="M 54.935,64.729 C 53.279,81.792 43.991,75.24 41.111,88.344 L 67.823,99.288 96.767,87.192 107.783,60.624 C 92.807,50.616 87.551,67.464 75.455,55.368 l -2.88,6.912 -11.664,4.968 -5.976,-2.519 z"
id="path25"
inkscape:connector-curvature="0"
style="fill:#ffffa6;fill-rule:evenodd" />
<path
i:knockout="Off"
clip-rule="evenodd"
stroke-miterlimit="2.4142"
d="m 26.279,57.744 12.096,-14.04 0.432,-14.04 14.904,-1.296 14.112,-11.304 8.208,11.304 22.104,0.647 -6.552,14.905 16.632,13.176 -16.848,9.072 5.04,20.592 L 76.032,81.864 68.688,99.288 54,82.008 38.808,86.977 38.16,66.025 26.279,57.744 z"
id="path27"
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:2.88000011;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2.41420007" />
<path
i:knockout="Off"
clip-rule="evenodd"
stroke-miterlimit="2.4142"
d="m 60.407,67.752 7.992,32.04 m 4.824,-37.368 23.832,24.912 m -19.656,-37.008 32.399,7.56 M 72.863,38.232 97.054,28.8 m -36.287,4.464 7.2,-16.632 m -19.656,21.6 -9.504,-8.712 m 4.968,20.808 -17.784,7.56 m 22.68,4.896 -9.864,24.192"
id="path29"
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:2.88000011;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2.41420007" />
<path
i:knockout="Off"
clip-rule="evenodd"
stroke-miterlimit="2.4142"
d="M 60.767,33.769 72.575,38.665 77.471,50.473 72.575,62.28 60.767,67.176 49.031,62.28 44.135,50.471 49.031,38.663 60.767,33.769 z"
id="path31"
inkscape:connector-curvature="0"
style="fill:#ffffe6;fill-rule:evenodd;stroke:#000000;stroke-width:7.19999981;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2.41420007" />
<path
i:knockout="Off"
clip-rule="evenodd"
stroke-miterlimit="2.4142"
d="m 48.815,62.928 5.112,19.08 6.768,-14.184 15.408,13.968 -2.952,-19.224 17.855,3.456 -13.103,-15.192 13.464,-6.696 -18.432,-5.544 2.88,-10.224 -14.976,5.256 -7.128,-4.896 -4.752,10.008 -10.296,5.256 5.256,6.336 -5.4,15.552 10.296,-2.952 z"
id="path33"
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:2.88000011;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2.41420007" />
<path
i:knockout="Off"
clip-rule="evenodd"
stroke-miterlimit="2.4142"
d="m 32.183,15.912 7.416,9.936 c 2.592,3.24 -1.872,7.704 -4.392,4.393 l -7.488,-9.864 c -2.448,-3.241 1.944,-7.633 4.464,-4.465 M 72.791,4.464 71.063,16.704 c -0.504,4.104 -6.768,4.104 -6.192,0 l 1.656,-12.24 c 0.576,-4.032 6.768,-4.032 6.264,0 m 37.799,20.088 -9.433,6.841 c -3.167,2.376 -8.207,-2.232 -5.04,-4.608 l 9.504,-6.696 c 3.097,-2.233 8.066,2.087 4.969,4.463 m 9.865,38.808 -11.52,-1.872 c -3.961,-0.576 -4.248,-7.344 -0.361,-6.84 l 11.521,2.088 c 3.743,0.577 4.176,7.128 0.36,6.624 M 104.398,97.128 95.254,90.072 C 92.086,87.696 96.55,82.8 99.718,85.176 l 9.217,6.984 c 3.023,2.304 -1.297,7.128 -4.537,4.968 M 66.167,111.96 64.655,100.44 c -0.576,-3.889 6.048,-4.248 6.696,-0.288 l 1.44,11.52 c 0.504,3.816 -5.976,4.176 -6.624,0.288 M 27.935,94.464 35.063,85.393 c 2.376,-3.24 7.272,1.224 4.896,4.392 l -7.128,9.144 c -2.304,3.095 -7.128,-1.225 -4.896,-4.465 M 13.607,56.016 25.847,55.224 c 4.104,-0.287 4.104,5.977 -0.072,6.265 l -12.24,0.792 c -3.96,0.359 -4.032,-5.833 0.072,-6.265"
id="path35"
inkscape:connector-curvature="0"
style="fill:#ffbf00;fill-rule:evenodd;stroke:#000000;stroke-width:2.88000011;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2.41420007" />
</g>