MS Paint utilizes GDI and GDI+ algos witch are documented in different places. Basically a nearest filter.