Searched refs:SkScalarRoundToScalar (Results 1 – 14 of 14) sorted by relevance
83 x = SkScalarRoundToScalar(x); in onDrawContent()84 y = SkScalarRoundToScalar(y); in onDrawContent()
26 return SkScalarRoundToScalar(x * grid) / grid; in apply_grid()
127 SkScalar dx = SkScalarRoundToScalar(path.getBounds().width()) + 14 + 0.25f; in onDraw()156 SkScalar dx = SkScalarRoundToScalar(path.getBounds().width()) + 40 + 0.25f; in onDraw()
170 pos = SkScalarRoundToScalar(pos); in onLayoutChildren()174 crossLoc = SkScalarRoundToScalar(crossLoc); in onLayoutChildren()
40 #define SkScalarRoundToScalar(x) sk_float_floor((x) + 0.5f) macro83 #define SkScalarRoundToScalar(x) floor((x) + 0.5) macro
24 float roundedImageWidth = SkScalarRoundToScalar(orig.width() * xScale); in is_in_scaled_image_cache()25 float roundedImageHeight = SkScalarRoundToScalar(orig.height() * yScale); in is_in_scaled_image_cache()
148 SkScalar roundedDestWidth = SkScalarRoundToScalar(trueDestWidth); in processHQRequest()149 SkScalar roundedDestHeight = SkScalarRoundToScalar(trueDestHeight); in processHQRequest()317 SkScalar tx = -SkScalarRoundToScalar(forward.getTranslateX()); in chooseProcs()318 SkScalar ty = -SkScalarRoundToScalar(forward.getTranslateY()); in chooseProcs()
424 SkScalarRoundToScalar(fFiniteBound.fTop), in updateBoundAndGenID()425 SkScalarRoundToScalar(fFiniteBound.fRight), in updateBoundAndGenID()426 SkScalarRoundToScalar(fFiniteBound.fBottom)); in updateBoundAndGenID()
790 SkScalar intYScale = SkScalarRoundToScalar(realYScale); in computeMatrices()
196 scalarResult = SkScalarRoundToScalar(input); in executeFunction()
237 SkScalar gdiTextSize = SkScalarRoundToScalar(realTextSize * 64.0f) / 64.0f; in SkScalerContext_DW()365 vecs[0].fX = SkScalarRoundToScalar(advanceX); in generateAdvance()
642 SkScalar gdiTextSize = SkScalarRoundToScalar(scale.fY); in SkScalerContext_GDI()
419 newPoint.fX = SkScalarRoundToScalar(newPoint.fX); in shade()420 newPoint.fY = SkScalarRoundToScalar(newPoint.fY); in shade()
1075 if (SkScalarAbs(SkScalarRoundToScalar(transformedRect.left()) - in has_aligned_samples()1077 SkScalarAbs(SkScalarRoundToScalar(transformedRect.top()) - in has_aligned_samples()