implement obround and moire.