Searched refs:halfW (Results 1 – 4 of 4) sorted by relevance
103 SkScalar halfW = SkIntToScalar(W) / 2; in draw_mode() local106 SkRect r = SkRect::MakeXYWH(x + halfW, y, halfW, in draw_mode()
1156 SkScalar halfW = SkScalarHalf(w); in addRoundRect() local1160 if (halfW <= 0 || halfH <= 0) { in addRoundRect()1164 bool skip_hori = rx >= halfW; in addRoundRect()1178 rx = halfW; in addRoundRect()
821 const float halfW = (float)(viewport.width) / 2.0f; in transformVertexClipCoordsToWindowCoords() local823 const float oX = (float)viewport.left + halfW; in transformVertexClipCoordsToWindowCoords()828 packet.position = tcu::Vec4(packet.position.x()*halfW + oX, in transformVertexClipCoordsToWindowCoords()