Lines Matching refs:MS_NINT

48     return(MS_NINT(d*10000)/10000.0);  in roundInterval()
50 return(MS_NINT(d*1000)/1000.0); in roundInterval()
52 return(MS_NINT(d*100)/100.0); in roundInterval()
54 return(MS_NINT(d*10)/10.0); in roundInterval()
56 return(MS_NINT(d)); in roundInterval()
58 return(MS_NINT(d/10) * 10); in roundInterval()
60 return(MS_NINT(d/100) * 100); in roundInterval()
62 return(MS_NINT(d/1000) * 1000); in roundInterval()
64 return(MS_NINT(d/10000) * 10000); in roundInterval()
66 return(MS_NINT(d/100000) * 100000); in roundInterval()
68 return(MS_NINT(d/1000000) * 1000000); in roundInterval()
207 …isx = MS_NINT((i/(msInchesPerUnit(map->units,0)/msInchesPerUnit(map->scalebar.units,0)))/map->cell… in msDrawScalebar()
208 …sx = (map->scalebar.intervals*isx) + MS_NINT((1.5 + strlen(label)/2.0 + strlen(unitText[map->scale… in msDrawScalebar()
215 sy = (2*VMARGIN) + MS_NINT(VSPACING*fontHeight) + fontHeight + map->scalebar.height - VSLOP; in msDrawScalebar()
246 ox = MS_NINT((map->scalebar.width - sx) + fontWidth); in msDrawScalebar()
249 … ox = MS_NINT((map->scalebar.width - sx)/2.0 + fontWidth/2.0); /* center the computed scalebar */ in msDrawScalebar()
294 p.y = oy + map->scalebar.height + MS_NINT(VSPACING*fontHeight); in msDrawScalebar()
302 ox = ox + j*isx - MS_NINT((strlen(label)*fontWidth)/2.0); in msDrawScalebar()
306 p.y = oy + map->scalebar.height + MS_NINT(VSPACING*fontHeight); in msDrawScalebar()
333 p.y = oy + map->scalebar.height + MS_NINT(VSPACING*fontHeight); in msDrawScalebar()
348 p.x = ox + j*isx - MS_NINT((strlen(label)*fontWidth)/2.0); in msDrawScalebar()
431 point.x = MS_NINT(embededSymbol->pixmap_buffer->width/2.0) + map->scalebar.offsetx; in msEmbedScalebar()
432 … point.y = map->height - MS_NINT(embededSymbol->pixmap_buffer->height/2.0) - map->scalebar.offsety; in msEmbedScalebar()
435 … point.x = map->width - MS_NINT(embededSymbol->pixmap_buffer->width/2.0) - map->scalebar.offsetx; in msEmbedScalebar()
436 … point.y = map->height - MS_NINT(embededSymbol->pixmap_buffer->height/2.0) - map->scalebar.offsety; in msEmbedScalebar()
439 point.x = MS_NINT(map->width/2.0) + map->scalebar.offsetx; in msEmbedScalebar()
440 … point.y = map->height - MS_NINT(embededSymbol->pixmap_buffer->height/2.0) - map->scalebar.offsety; in msEmbedScalebar()
443 … point.x = map->width - MS_NINT(embededSymbol->pixmap_buffer->width/2.0) - map->scalebar.offsetx; in msEmbedScalebar()
444 point.y = MS_NINT(embededSymbol->pixmap_buffer->height/2.0) + map->scalebar.offsety; in msEmbedScalebar()
447 point.x = MS_NINT(embededSymbol->pixmap_buffer->width/2.0) + map->scalebar.offsetx; in msEmbedScalebar()
448 point.y = MS_NINT(embededSymbol->pixmap_buffer->height/2.0) + map->scalebar.offsety; in msEmbedScalebar()
451 point.x = MS_NINT(map->width/2.0) + map->scalebar.offsetx; in msEmbedScalebar()
452 point.y = MS_NINT(embededSymbol->pixmap_buffer->height/2.0) + map->scalebar.offsety; in msEmbedScalebar()