Searched refs:halfH (Results 1 – 3 of 3) sorted by relevance
147 SkScalar halfH = SkIntToScalar(H) / 2; in draw_mode() local153 r = SkRect::MakeXYWH(x, y + halfH, SkIntToScalar(W), halfH); in draw_mode()
822 const float halfH = (float)(viewport.height) / 2.0f; in transformVertexClipCoordsToWindowCoords() local824 const float oY = (float)viewport.bottom + halfH; in transformVertexClipCoordsToWindowCoords()829 packet.position.y()*halfH + oY, in transformVertexClipCoordsToWindowCoords()