Drawing 2D textured polys won't be very fast.
To do it you need to calculate the start and end pixel for each horizontal line using a line drawing algorithm, like bresenhams for example, and then while drawing each pixel you calculate where that pixel is in the texture and get the color from there.
To do it you need to calculate the start and end pixel for each horizontal line using a line drawing algorithm, like bresenhams for example, and then while drawing each pixel you calculate where that pixel is in the texture and get the color from there.