Searched refs:halfW (Results 1 – 3 of 3) sorted by relevance
146 SkScalar halfW = SkIntToScalar(W) / 2; in draw_mode() local149 SkRect r = SkRect::MakeXYWH(x + halfW, y, halfW, in draw_mode()
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()