Lines Matching refs:count
250 …s32 count = this->BuildLine( p1, p2, m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount … in DrawLine() local
253 BuildColor( count, color, &m_ShapeColorStreamArray[ index ] ); in DrawLine()
255 m_ShapeVertexCount += count; in DrawLine()
264 s32 count = 0; in DrawRectangle() local
266 count += this->BuildLine( pos, math::VEC2( pos.x + size.x, pos.y ), in DrawRectangle()
267 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
269 count += this->BuildLine( in DrawRectangle()
271 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
273 count += this->BuildLine( pos + size, math::VEC2( pos.x, pos.y + size.y ), in DrawRectangle()
274 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
276 count += this->BuildLine(math::VEC2( pos.x, pos.y + size.y ), pos, in DrawRectangle()
277 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
280 BuildColor( count, color, &m_ShapeColorStreamArray[ index ] ); in DrawRectangle()
282 m_ShapeVertexCount += count; in DrawRectangle()
291 s32 count = this->BuildRectangle(pos, size, &m_ShapePositionStreamArray[ m_ShapeVertexCount ]); in FillRectangle() local
294 BuildColor( count, color, &m_ShapeColorStreamArray[ index ] ); in FillRectangle()
296 m_ShapeVertexCount += count; in FillRectangle()
305 …s32 count = this->BuildTriangle( pt1, pt2, pt3, &m_ShapePositionStreamArray[ m_ShapeVertexCount ] … in FillTriangle() local
308 BuildColor( count, color, &m_ShapeColorStreamArray[ index ] ); in FillTriangle()
310 m_ShapeVertexCount += count; in FillTriangle()
718 s32 count = 0; in BuildRectangle() local
720 count += this->BuildTriangle( pt1, pt2, pt3, &pVecArray[count] ); in BuildRectangle()
721 count += this->BuildTriangle( pt1, pt3, pt4, &pVecArray[count] ); in BuildRectangle()
723 return count; in BuildRectangle()
732 s32 count = 0; in BuildRectangle() local
733 count += this->BuildRectangle( in BuildRectangle()
740 return count; in BuildRectangle()
756 s32 count = 0; in BuildLine() local
758 …count += this->BuildRectangle( pt1 - ortho / 2, pt1 + ortho / 2, pt2 + ortho / 2, pt2 - ortho / 2,… in BuildLine()
760 return count; in BuildLine()