void GraphicsContext::setShouldAntialias(bool shouldAntialias) { m_state.shouldAntialias = shouldAntialias; if (isRecording()) { m_displayListRecorder->updateState(m_state, GraphicsContextState::ShouldAntialiasChange); return; } setPlatformShouldAntialias(shouldAntialias); }
void GraphicsContext::applyState(const GraphicsContextState& state) { setPlatformShadow(state.shadowOffset, state.shadowBlur, state.shadowColor); setPlatformStrokeThickness(state.strokeThickness); setPlatformTextDrawingMode(state.textDrawingMode); setPlatformStrokeColor(state.strokeColor); setPlatformFillColor(state.fillColor); setPlatformStrokeStyle(state.strokeStyle); setPlatformAlpha(state.alpha); setPlatformCompositeOperation(state.compositeOperator, state.blendMode); setPlatformShouldAntialias(state.shouldAntialias); setPlatformShouldSmoothFonts(state.shouldSmoothFonts); }
void GraphicsContext::setShouldAntialias(bool b) { m_state.shouldAntialias = b; setPlatformShouldAntialias(b); }
void GraphicsContext::setShouldAntialias(bool shouldAntialias) { m_state.shouldAntialias = shouldAntialias; setPlatformShouldAntialias(shouldAntialias); }