void GraphicsContext::setShouldSmoothFonts(bool shouldSmoothFonts) { m_state.shouldSmoothFonts = shouldSmoothFonts; if (isRecording()) { m_displayListRecorder->updateState(m_state, GraphicsContextState::ShouldSmoothFontsChange); return; } setPlatformShouldSmoothFonts(shouldSmoothFonts); }
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::setShouldSmoothFonts(bool b) { m_state.shouldSmoothFonts = b; setPlatformShouldSmoothFonts(b); }
void GraphicsContext::setShouldSmoothFonts(bool shouldSmoothFonts) { m_state.shouldSmoothFonts = shouldSmoothFonts; setPlatformShouldSmoothFonts(shouldSmoothFonts); }