start cleaning up src/Transform_inl.h with C++

If I can't kill src/Transform_inl.h, maybe I can make it more pleasant.

There'll be a few more of these, mostly replacing macros with templates.

Change-Id: I8c561ea40f98fa959ffd80e82e8a5fc405465676
Reviewed-on: https://skia-review.googlesource.com/143707
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2 files changed