图形 API 可分为
保留模式API 和
即时模式API。 Direct2D 是一种即时模式 API。 WPF 是保留模式 API 的一个示例。