Searched refs:GrFixedToScalar (Results 1 – 3 of 3) sorted by relevance
46 #define GrFixedToScalar(a) SkFixedToScalar(a) macro
230 translate.set(GrFixedToScalar(vx - GrIntToFixed(glyph->fBounds.fLeft)), in drawPackedGlyph()231 GrFixedToScalar(vy - GrIntToFixed(glyph->fBounds.fTop))); in drawPackedGlyph()
554 GrScalar sx = GrFixedToScalar(GR_Fixed1 / bitmap.width()); in skPaint2GrPaintShader()555 GrScalar sy = GrFixedToScalar(GR_Fixed1 / bitmap.height()); in skPaint2GrPaintShader()558 GrScalar s = GrFixedToScalar(GR_Fixed1 / bitmap.width()); in skPaint2GrPaintShader()1456 paintRect.setLTRB(GrFixedToScalar((srcRect.fLeft << 16) / bitmap.width()), in internalDrawBitmap()1457 GrFixedToScalar((srcRect.fTop << 16) / bitmap.height()), in internalDrawBitmap()1458 GrFixedToScalar((srcRect.fRight << 16) / bitmap.width()), in internalDrawBitmap()1459 GrFixedToScalar((srcRect.fBottom << 16) / bitmap.height())); in internalDrawBitmap()