| 139 | |
| 140 | |
| 141 | int msGetTruetypeTextBBoxKml(rendererVTableObj *r,char *font, double size, char *string, |
| 142 | rectObj *rect, double **advances) |
| 143 | { |
| 144 | rect->minx=0.0; |
| 145 | rect->maxx=0.0; |
| 146 | rect->miny=0.0; |
| 147 | rect->maxy=0.0; |
| 148 | if (advances) { |
| 149 | int numglyphs = msGetNumGlyphs(string); |
| 150 | *advances = (double*) msSmallMalloc(numglyphs * sizeof (double)); |
| 151 | for(int i=0;i<numglyphs;i++) { |
| 152 | (*advances)[i] = size; |
| 153 | } |
| 154 | } |
| 155 | return MS_SUCCESS; |
| 156 | } |
| 157 | |
| 158 | int msStartNewLayerKml(imageObj *img, mapObj *map, layerObj *layer) |
| 159 | { |
nothing calls this directly
no test coverage detected