We measure the conductance of a quantum point contact (QPC) while the biased tip of a scanning probe microscope induces a depleted region in the electron gas underneath. At finite magnetic field we find plateaus in the real-space maps of the conductance as a function of tip position at integer (\nu=1,2,3,4,6,8) and fractional (\nu=1/3,2/3,5/3,4/5) values of transmission. They resemble theoretically predicted compressible and incompressible stripes of quantum Hall edge states. The scanning tip allows us to shift the constriction limiting the conductance in real space over distances of many microns. The resulting stripes of integer and fractional filling factors are rugged on the micron scale, i.e. on a scale much smaller than the zero-field elastic mean free path of the electrons. Our experiments demonstrate that microscopic inhomogeneities are relevant even in high-quality samples and lead to locally strongly fluctuating widths of incompressible regions even down to their complete suppression for certain tip positions. The macroscopic quantization of the Hall resistance measured experimentally in a non-local contact configuration survives in the presence of these inhomogeneities, and the relevant local energy scale for the \nu=2 state turns out to be independent of tip position.