Um, it's from the The Looking Glass Wars, by Frank Beddor. The char is Hatter Madigan, a royal bodyguard who specializes in blades. In fact, he has more than a few dozen on his person, and his hat can transform into something akin to a flying buzzsaw.