You'll answer your own question if you make your red line bisect the head tube and project to the floor. You show it in line with the fork blades - it should be the centerline of the head tube.
Once you do that and play with the rake, head tube angle and wheel diameter you'll see that the 3 things combine to result in a given amount of trail.
I hope that I've said that well.........
dave