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()
162 SkScalar halfH = SkIntToScalar(H) / 2; in draw_mode() local168 r = SkRect::MakeXYWH(x, y + halfH, SkIntToScalar(W), halfH); in draw_mode()
826 const float halfH = (float)(viewport.height) / 2.0f; in transformVertexClipCoordsToWindowCoords() local828 const float oY = (float)viewport.bottom + halfH; in transformVertexClipCoordsToWindowCoords()833 packet.position.y()*halfH + oY, in transformVertexClipCoordsToWindowCoords()