| 1430 | } |
| 1431 | |
| 1432 | styleObj *styleObj_clone(styleObj *style){ |
| 1433 | styleObj *newstyle = NULL; |
| 1434 | if (!style) |
| 1435 | return NULL; |
| 1436 | |
| 1437 | newstyle = (styleObj *)malloc(sizeof(styleObj)); |
| 1438 | initStyle(newstyle); |
| 1439 | |
| 1440 | msCopyStyle(newstyle, style); |
| 1441 | |
| 1442 | return newstyle; |
| 1443 | } |
| 1444 | |
| 1445 | void styleObj_setGeomTransform(styleObj *style, char *transform){ |
| 1446 | if (!style) |
no test coverage detected