• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KHTML

WebCore::Path

WebCore::Path Class Reference

#include <Path.h>

List of all members.


Public Member Functions

void addArc (const FloatPoint &, float radius, float startAngle, float endAngle, bool anticlockwise)
void addArcTo (const FloatPoint &, const FloatPoint &, float radius)
void addBezierCurveTo (const FloatPoint &controlPoint1, const FloatPoint &controlPoint2, const FloatPoint &)
void addEllipse (const FloatRect &)
void addLineTo (const FloatPoint &)
void addQuadCurveTo (const FloatPoint &controlPoint, const FloatPoint &point)
void addRect (const FloatRect &)
void apply (void *info, PathApplierFunction) const
FloatRect boundingRect () const
void clear ()
void closeSubpath ()
bool contains (const FloatPoint &, WindRule rule=RULE_NONZERO) const
String debugString () const
bool isEmpty () const
float length ()
void moveTo (const FloatPoint &)
float normalAngleAtLength (float length, bool &ok)
Path & operator= (const Path &)
 Path (const Path &)
 Path ()
PlatformPath * platformPath () const
FloatPoint pointAtLength (float length, bool &ok)
void setWindingRule (WindRule rule)
void transform (const AffineTransform &)
void translate (const FloatSize &)
WindRule windingRule () const
 ~Path ()

Static Public Member Functions

static Path createCircle (const FloatPoint &center, float r)
static Path createEllipse (const FloatPoint &center, float rx, float ry)
static Path createLine (const FloatPoint &, const FloatPoint &)
static Path createRectangle (const FloatRect &)
static Path createRoundedRectangle (const FloatRect &, const FloatSize &topLeftRadius, const FloatSize &topRightRadius, const FloatSize &bottomLeftRadius, const FloatSize &bottomRightRadius)
static Path createRoundedRectangle (const FloatRect &, const FloatSize &roundingRadii)

Detailed Description

Definition at line 83 of file Path.h.


Constructor & Destructor Documentation

Path::Path (  ) 

Definition at line 44 of file PathQt.cpp.

Path::~Path (  ) 

Definition at line 49 of file PathQt.cpp.

Path::Path ( const Path &  other  ) 

Definition at line 54 of file PathQt.cpp.


Member Function Documentation

void Path::addArc ( const FloatPoint &  p,
float  radius,
float  startAngle,
float  endAngle,
bool  anticlockwise 
)

Definition at line 125 of file PathQt.cpp.

void Path::addArcTo ( const FloatPoint &  p1,
const FloatPoint &  p2,
float  radius 
)

Definition at line 112 of file PathQt.cpp.

void Path::addBezierCurveTo ( const FloatPoint &  controlPoint1,
const FloatPoint &  controlPoint2,
const FloatPoint &  p 
)

Definition at line 107 of file PathQt.cpp.

void Path::addEllipse ( const FloatRect &  r  ) 

Definition at line 174 of file PathQt.cpp.

void Path::addLineTo ( const FloatPoint &  p  ) 

Definition at line 97 of file PathQt.cpp.

void Path::addQuadCurveTo ( const FloatPoint &  controlPoint,
const FloatPoint &  point 
)

Definition at line 102 of file PathQt.cpp.

void Path::addRect ( const FloatRect &  r  ) 

Definition at line 169 of file PathQt.cpp.

void Path::apply ( void *  info,
PathApplierFunction  function 
) const

Definition at line 224 of file PathQt.cpp.

FloatRect Path::boundingRect (  )  const

Definition at line 87 of file PathQt.cpp.

void Path::clear (  ) 

Definition at line 179 of file PathQt.cpp.

void Path::closeSubpath (  ) 

Definition at line 119 of file PathQt.cpp.

bool Path::contains ( const FloatPoint &  point,
WindRule  rule = RULE_NONZERO 
) const

Definition at line 69 of file PathQt.cpp.

Path Path::createCircle ( const FloatPoint &  center,
float  r 
) [static]

Definition at line 260 of file Path.cpp.

Path Path::createEllipse ( const FloatPoint &  center,
float  rx,
float  ry 
) [static]

Definition at line 223 of file Path.cpp.

Path Path::createLine ( const FloatPoint &  start,
const FloatPoint &  end 
) [static]

Definition at line 265 of file Path.cpp.

Path Path::createRectangle ( const FloatRect &  rectangle  )  [static]

Definition at line 204 of file Path.cpp.

Path Path::createRoundedRectangle ( const FloatRect &  rectangle,
const FloatSize &  topLeftRadius,
const FloatSize &  topRightRadius,
const FloatSize &  bottomLeftRadius,
const FloatSize &  bottomRightRadius 
) [static]

Definition at line 162 of file Path.cpp.

Path Path::createRoundedRectangle ( const FloatRect &  rectangle,
const FloatSize &  roundingRadii 
) [static]

Definition at line 112 of file Path.cpp.

String Path::debugString (  )  const

Definition at line 189 of file PathQt.cpp.

bool Path::isEmpty (  )  const

Definition at line 184 of file PathQt.cpp.

float Path::length (  ) 

Definition at line 87 of file Path.cpp.

void Path::moveTo ( const FloatPoint &  point  ) 

Definition at line 92 of file PathQt.cpp.

float Path::normalAngleAtLength ( float  length,
bool &  ok 
)

Definition at line 103 of file Path.cpp.

Path & Path::operator= ( const Path &  other  ) 

Definition at line 59 of file PathQt.cpp.

PlatformPath* WebCore::Path::platformPath (  )  const [inline]

Definition at line 119 of file Path.h.

FloatPoint Path::pointAtLength ( float  length,
bool &  ok 
)

Definition at line 94 of file Path.cpp.

void WebCore::Path::setWindingRule ( WindRule  rule  )  [inline]

Definition at line 114 of file Path.h.

void Path::transform ( const AffineTransform &  transform  ) 

Definition at line 266 of file PathQt.cpp.

void Path::translate ( const FloatSize &  size  ) 

Definition at line 80 of file PathQt.cpp.

WindRule WebCore::Path::windingRule (  )  const [inline]

Definition at line 115 of file Path.h.


The documentation for this class was generated from the following files:
  • Path.h
  • Path.cpp
  • PathQt.cpp
  • qt/PathQt.cpp

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal