svgtopt/SVGEngineJI/src/SvgJavaInterfaceImpl.cpp
branchRCL_3
changeset 10 baacd33d915b
parent 0 d46562c3d99d
child 19 df65ec4f2d28
child 38 db5c883ad1c5
equal deleted inserted replaced
6:19f463b3b9b2 10:baacd33d915b
  1255     // type (animate Transform)
  1255     // type (animate Transform)
  1256     // attributeType
  1256     // attributeType
  1257     ********************************************************/
  1257     ********************************************************/
  1258     if(aElementHandle)
  1258     if(aElementHandle)
  1259         {
  1259         {
  1260         TInt32 lValue = 0;
  1260         //TInt32 lValue = 0;
       
  1261         
  1261         TInt lSvgAttrId = SvgGetAttributeTypeMappingJSRtoSVG(aAttribute);
  1262         TInt lSvgAttrId = SvgGetAttributeTypeMappingJSRtoSVG(aAttribute);
  1262         if(lSvgAttrId != KSvgUnknownAttribute)
  1263         if(lSvgAttrId != KSvgUnknownAttribute)
  1263             {
  1264             {
  1264 
  1265 			TInt lValue = SvgEnumerationMappingJSRtoSVG(lSvgAttrId , (TInt)aValue);
       
  1266 			/*
  1265             lValue = SvgEnumerationMappingJSRtoSVG(lSvgAttrId , (TInt)aValue);
  1267             lValue = SvgEnumerationMappingJSRtoSVG(lSvgAttrId , (TInt)aValue);
  1266             
  1268             
  1267             if ( lValue == KErrNotFound && aValue == ATTRIBUTE_INHERIT ) 
  1269             if ( lValue == KErrNotFound && aValue == ATTRIBUTE_INHERIT ) 
  1268                 lValue = KSVGAttributeInherit;
  1270                 lValue = KSVGAttributeInherit;*/
  1269             if(lSvgAttrId == KCSS_ATTR_FONTSIZE)
  1271             if(lSvgAttrId == KCSS_ATTR_FONTSIZE)
  1270                 {
  1272                 {
  1271                 if(lValue != KErrNotFound)
  1273                 if(lValue != KErrNotFound)
  1272                     {
  1274                     {
  1273                     // font is internally considered to be a float.
  1275                     // font is internally considered to be a float.