Пример #1
0
void ImageBuffer::convertToRecording()
{
    GraphicsContext* context = GraphicsContext::createOffscreenRecordingContext(m_size.width(), m_size.height());
    context->copyState(m_context.get());
    m_context.set(context);
}