void GraphicsContext::clearShadow() { m_common->state.shadowSize = IntSize(); m_common->state.shadowBlur = 0; m_common->state.shadowColor = Color(); clearPlatformShadow(); }
void GraphicsContext::clearShadow() { m_state.shadowOffset = FloatSize(); m_state.shadowBlur = 0; m_state.shadowColor = Color(); clearPlatformShadow(); }
void GraphicsContext::clearShadow() { m_state.shadowOffset = FloatSize(); m_state.shadowBlur = 0; m_state.shadowColor = Color(); #if USE(CG) m_state.shadowsUseLegacyRadius = false; #endif if (isRecording()) { m_displayListRecorder->clearShadow(); return; } clearPlatformShadow(); }
void GraphicsContext::restorePlatformState() { if (paintingDisabled()) return; platformContext()->restore(); platformContext()->setFillColor(m_state.fillColor.rgb()); if (hasShadow()) setPlatformShadow(m_state.shadowOffset, m_state.shadowBlur, m_state.shadowColor, m_state.shadowColorSpace); else clearPlatformShadow(); platformContext()->setStrokeColor(m_state.strokeColor.rgb()); platformContext()->setStrokeStyle(static_cast<BlackBerry::Platform::Graphics::StrokeStyle>(m_state.strokeStyle)); platformContext()->setStrokeThickness(m_state.strokeThickness); platformContext()->setTextDrawingMode(m_state.textDrawingMode); }