That PC21 pic is correct. The hinge line is not the front of the flap. Keeping the rear of the front hinges the same distance from the rear of the wing (i.e. front of the flap) the hinge line geometry is correct on the pivot bolts, which all works out fine.