Lines Matching refs:count
252 …s32 count = this->BuildLine( p1, p2, m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount … in DrawLine() local
255 BuildColor( count, color, &m_ShapeColorStreamArray[ index ] ); in DrawLine()
257 m_ShapeVertexCount += count; in DrawLine()
266 s32 count = 0; in DrawRectangle() local
268 count += this->BuildLine( pos, math::VEC2( pos.x + size.x, pos.y ), in DrawRectangle()
269 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
271 count += this->BuildLine( in DrawRectangle()
273 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
275 count += this->BuildLine( pos + size, math::VEC2( pos.x, pos.y + size.y ), in DrawRectangle()
276 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
278 count += this->BuildLine(math::VEC2( pos.x, pos.y + size.y ), pos, in DrawRectangle()
279 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
282 BuildColor( count, color, &m_ShapeColorStreamArray[ index ] ); in DrawRectangle()
284 m_ShapeVertexCount += count; in DrawRectangle()
293 s32 count = this->BuildRectangle(pos, size, &m_ShapePositionStreamArray[ m_ShapeVertexCount ]); in FillRectangle() local
296 BuildColor( count, color, &m_ShapeColorStreamArray[ index ] ); in FillRectangle()
298 m_ShapeVertexCount += count; in FillRectangle()
307 …s32 count = this->BuildTriangle( pt1, pt2, pt3, &m_ShapePositionStreamArray[ m_ShapeVertexCount ] … in FillTriangle() local
310 BuildColor( count, color, &m_ShapeColorStreamArray[ index ] ); in FillTriangle()
312 m_ShapeVertexCount += count; in FillTriangle()
720 s32 count = 0; in BuildRectangle() local
722 count += this->BuildTriangle( pt1, pt2, pt3, &pVecArray[count] ); in BuildRectangle()
723 count += this->BuildTriangle( pt1, pt3, pt4, &pVecArray[count] ); in BuildRectangle()
725 return count; in BuildRectangle()
734 s32 count = 0; in BuildRectangle() local
735 count += this->BuildRectangle( in BuildRectangle()
742 return count; in BuildRectangle()
758 s32 count = 0; in BuildLine() local
760 …count += this->BuildRectangle( pt1 - ortho / 2, pt1 + ortho / 2, pt2 + ortho / 2, pt2 - ortho / 2,… in BuildLine()
762 return count; in BuildLine()