-
hyatt authored
Eliminate the Pen object in favor of separate stroke variables, since most code just wants to set the stroke color. This also makes it easier for us to push only stroke color through into CG synchronously while leaving the others alone. Reviewed by olliej * platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContextState::GraphicsContextState): (WebCore::GraphicsContext::setStrokeThickness): (WebCore::GraphicsContext::setStrokeStyle): (WebCore::GraphicsContext::setStrokeColor): (WebCore::GraphicsContext::strokeThickness): (WebCore::GraphicsContext::strokeStyle): (WebCore::GraphicsContext::strokeColor): (WebCore::GraphicsContext::setPlatformStrokeStyle): (WebCore::GraphicsContext::setPlatformStrokeThickness): * platform/graphics/GraphicsContext.h: (WebCore::): * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::drawRect): (WebCore::GraphicsContext::drawLine): (WebCore::GraphicsContext::drawEllipse): (WebCore::GraphicsContext::drawArc): (WebCore::GraphicsContext::drawConvexPolygon): (WebCore::GraphicsContext::drawLineForText): (WebCore::GraphicsContext::setPlatformStrokeColor): * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::toQPenStyle): (WebCore::GraphicsContext::setPlatformStrokeColor): (WebCore::GraphicsContext::setPlatformStrokeStyle): (WebCore::GraphicsContext::setPlatformStrokeThickness): * platform/mac/FontMac.mm: (WebCore::Font::drawComplexText): (WebCore::Font::drawGlyphs): * rendering/InlineFlowBox.cpp: (WebCore::InlineFlowBox::paintDecorations): * rendering/InlineTextBox.cpp: (WebCore::updateTextColor): (WebCore::InlineTextBox::paint): (WebCore::InlineTextBox::paintDecoration): (WebCore::InlineTextBox::paintMarkedTextUnderline): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::paintObject): * rendering/RenderBox.cpp: * rendering/RenderBox.h: * rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::userResize): * rendering/RenderImage.cpp: (WebCore::RenderImage::paint): * rendering/RenderObject.cpp: (WebCore::RenderObject::drawBorderArc): (WebCore::RenderObject::drawBorder): * rendering/RenderTable.cpp: (WebCore::RenderTable::paint): * rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::paint): * rendering/RenderText.cpp: * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintMenuListButton): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
801efce1