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()
161 SkScalar halfW = SkIntToScalar(W) / 2; in draw_mode() local164 SkRect r = SkRect::MakeXYWH(x + halfW, y, halfW, in draw_mode()
825 const float halfW = (float)(viewport.width) / 2.0f; in transformVertexClipCoordsToWindowCoords() local827 const float oX = (float)viewport.left + halfW; in transformVertexClipCoordsToWindowCoords()832 packet.position = tcu::Vec4(packet.position.x()*halfW + oX, in transformVertexClipCoordsToWindowCoords()