KHTML
WebCore::GraphicsContext Class Reference
#include <GraphicsContext.h>

Public Member Functions | |
| void | addFocusRingRect (const IntRect &) |
| void | addInnerRoundedRectClip (const IntRect &, int thickness) |
| void | addPath (const Path &) |
| void | addRoundedRectClip (const IntRect &, const IntSize &topLeft, const IntSize &topRight, const IntSize &bottomLeft, const IntSize &bottomRight) |
| void | beginPath () |
| void | beginTransparencyLayer (float opacity) |
| void | clearFocusRing () |
| void | clip (const Path &) |
| void | clip (const FloatRect &) |
| void | clipOut (const Path &) |
| void | clipOut (const IntRect &) |
| void | clipOutEllipseInRect (const IntRect &) |
| void | concatCTM (const AffineTransform &) |
| void | drawConvexPolygon (size_t numPoints, const FloatPoint *, bool shouldAntialias=false) |
| void | drawEllipse (const IntRect &) |
| void | drawLine (const IntPoint &, const IntPoint &) |
| void | drawLineForMisspellingOrBadGrammar (const IntPoint &, int width, bool grammar) |
| void | drawLineForText (const IntPoint &, int width, bool printing) |
| void | drawRect (const IntRect &) |
| void | endTransparencyLayer () |
| IntRect | focusRingBoundingRect () |
| AffineTransform | getCTM () const |
| GraphicsContext (PlatformGraphicsContext *) | |
| void | initFocusRing (int width, int offset) |
| IntPoint | origin () |
| bool | paintingDisabled () const |
| PlatformGraphicsContext * | platformContext () const |
| void | restore () |
| void | rotate (float angleInRadians) |
| FloatRect | roundToDevicePixels (const FloatRect &) |
| void | save () |
| void | scale (const FloatSize &) |
| void | setAlpha (float) |
| void | setMiterLimit (float) |
| void | setPaintingDisabled (bool) |
| void | setUpdatingControlTints (bool) |
| void | setUseAntialiasing (bool=true) |
| void | strokeArc (const IntRect &, int startAngle, int angleSpan) |
| void | translate (float x, float y) |
| bool | updatingControlTints () const |
| ~GraphicsContext () | |
Detailed Description
Definition at line 107 of file GraphicsContext.h.
Constructor & Destructor Documentation
| WebCore::GraphicsContext::GraphicsContext | ( | PlatformGraphicsContext * | context | ) |
Definition at line 239 of file GraphicsContextQt.cpp.
| WebCore::GraphicsContext::~GraphicsContext | ( | ) |
Definition at line 251 of file GraphicsContextQt.cpp.
Member Function Documentation
| void WebCore::GraphicsContext::addFocusRingRect | ( | const IntRect & | rect | ) |
Definition at line 310 of file GraphicsContext.cpp.
| void WebCore::GraphicsContext::addInnerRoundedRectClip | ( | const IntRect & | rect, | |
| int | thickness | |||
| ) |
Definition at line 827 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::addPath | ( | const Path & | path | ) |
Definition at line 506 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::addRoundedRectClip | ( | const IntRect & | rect, | |
| const IntSize & | topLeft, | |||
| const IntSize & | topRight, | |||
| const IntSize & | bottomLeft, | |||
| const IntSize & | bottomRight | |||
| ) |
Definition at line 384 of file GraphicsContext.cpp.
| void WebCore::GraphicsContext::beginPath | ( | ) |
Definition at line 501 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::beginTransparencyLayer | ( | float | opacity | ) |
Definition at line 622 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::clearFocusRing | ( | ) |
Definition at line 293 of file GraphicsContext.cpp.
| void WebCore::GraphicsContext::clip | ( | const Path & | path | ) |
Definition at line 741 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::clip | ( | const FloatRect & | rect | ) |
Definition at line 521 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::clipOut | ( | const Path & | path | ) |
Definition at line 749 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::clipOut | ( | const IntRect & | rect | ) |
Definition at line 797 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::clipOutEllipseInRect | ( | const IntRect & | rect | ) |
Definition at line 812 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::concatCTM | ( | const AffineTransform & | transform | ) |
Definition at line 847 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::drawConvexPolygon | ( | size_t | numPoints, | |
| const FloatPoint * | points, | |||
| bool | shouldAntialias = false | |||
| ) |
Definition at line 456 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::drawEllipse | ( | const IntRect & | rect | ) |
Definition at line 440 of file GraphicsContextQt.cpp.
Definition at line 427 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar | ( | const IntPoint & | , | |
| int | width, | |||
| bool | grammar | |||
| ) |
Definition at line 585 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::drawLineForText | ( | const IntPoint & | origin, | |
| int | width, | |||
| bool | printing | |||
| ) |
Definition at line 576 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::drawRect | ( | const IntRect & | rect | ) |
Definition at line 387 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::endTransparencyLayer | ( | ) |
Definition at line 649 of file GraphicsContextQt.cpp.
| IntRect WebCore::GraphicsContext::focusRingBoundingRect | ( | ) |
Definition at line 298 of file GraphicsContext.cpp.
| AffineTransform WebCore::GraphicsContext::getCTM | ( | ) | const |
Definition at line 265 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::initFocusRing | ( | int | width, | |
| int | offset | |||
| ) |
Definition at line 283 of file GraphicsContext.cpp.
| IntPoint WebCore::GraphicsContext::origin | ( | ) |
Definition at line 773 of file GraphicsContextQt.cpp.
| bool WebCore::GraphicsContext::paintingDisabled | ( | ) | const |
Definition at line 206 of file GraphicsContext.cpp.
| PlatformGraphicsContext * WebCore::GraphicsContext::platformContext | ( | ) | const |
Definition at line 260 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::restore | ( | ) |
Definition at line 97 of file GraphicsContext.cpp.
| void WebCore::GraphicsContext::rotate | ( | float | angleInRadians | ) |
Definition at line 781 of file GraphicsContextQt.cpp.
Definition at line 594 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::save | ( | ) |
Definition at line 87 of file GraphicsContext.cpp.
| void WebCore::GraphicsContext::scale | ( | const FloatSize & | s | ) |
Definition at line 789 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::setAlpha | ( | float | opacity | ) |
Definition at line 725 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::setMiterLimit | ( | float | limit | ) |
Definition at line 714 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::setPaintingDisabled | ( | bool | f | ) |
Definition at line 201 of file GraphicsContext.cpp.
| void WebCore::GraphicsContext::setUpdatingControlTints | ( | bool | b | ) |
Definition at line 195 of file GraphicsContext.cpp.
| void WebCore::GraphicsContext::setUseAntialiasing | ( | bool | enable = true |
) |
Definition at line 904 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::strokeArc | ( | const IntRect & | rect, | |
| int | startAngle, | |||
| int | angleSpan | |||
| ) |
Definition at line 448 of file GraphicsContextQt.cpp.
| void WebCore::GraphicsContext::translate | ( | float | x, | |
| float | y | |||
| ) |
Definition at line 765 of file GraphicsContextQt.cpp.
| bool WebCore::GraphicsContext::updatingControlTints | ( | ) | const |
Definition at line 190 of file GraphicsContext.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference