コード例 #1
0
void ClipDisplayItem::replay(GraphicsContext& context) const
{
    context.save();
    context.clipRect(m_clipRect, AntiAliased);

    for (const FloatRoundedRect& roundedRect : m_roundedRectClips)
        context.clipRoundedRect(roundedRect);
}