The 15 inches from the tub is code minimum. However, usually 4" pipe is turned up through the concrete so that a 4"x3" closet flange will glue inside of it. The layout in your picture doesn't make a whole lot of sense.
Lake County, Florida plumber
Springtime Plumbing Services, LLC