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

KHTML

  • khtml
  • Path
Public Member Functions | Static Public Member Functions | List of all members
khtml::Path Class Reference

#include <Path.h>

Public Member Functions

 Path ()
 
 Path (const Path &)
 
 ~Path ()
 
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
 
DOM::DOMString debugString () const
 
bool isEmpty () const
 
float length ()
 
void moveTo (const FloatPoint &)
 
float normalAngleAtLength (float length, bool &ok)
 
Path & operator= (const 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
 

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 &roundingRadii)
 
static Path createRoundedRectangle (const FloatRect &, const FloatSize &topLeftRadius, const FloatSize &topRightRadius, const FloatSize &bottomLeftRadius, const FloatSize &bottomRightRadius)
 

Detailed Description

Definition at line 68 of file Path.h.

Constructor & Destructor Documentation

khtml::Path::Path ( )

Definition at line 44 of file PathQt.cpp.

Path::~Path ( )

Definition at line 49 of file PathQt.cpp.

khtml::Path::Path ( const Path &  other)

Definition at line 54 of file PathQt.cpp.

Member Function Documentation

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

Definition at line 125 of file PathQt.cpp.

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

Definition at line 112 of file PathQt.cpp.

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

Definition at line 107 of file PathQt.cpp.

void khtml::Path::addEllipse ( const FloatRect &  r)

Definition at line 174 of file PathQt.cpp.

void khtml::Path::addLineTo ( const FloatPoint &  p)

Definition at line 97 of file PathQt.cpp.

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

Definition at line 102 of file PathQt.cpp.

void khtml::Path::addRect ( const FloatRect &  r)

Definition at line 169 of file PathQt.cpp.

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

Definition at line 224 of file PathQt.cpp.

FloatRect khtml::Path::boundingRect ( ) const

Definition at line 87 of file PathQt.cpp.

void khtml::Path::clear ( )

Definition at line 179 of file PathQt.cpp.

void khtml::Path::closeSubpath ( )

Definition at line 119 of file PathQt.cpp.

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

Definition at line 69 of file PathQt.cpp.

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

Definition at line 263 of file Path.cpp.

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

Definition at line 226 of file Path.cpp.

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

Definition at line 268 of file Path.cpp.

Path khtml::Path::createRectangle ( const FloatRect &  rectangle)
static

Definition at line 207 of file Path.cpp.

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

Definition at line 115 of file Path.cpp.

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

Definition at line 165 of file Path.cpp.

DOM::DOMString khtml::Path::debugString ( ) const

Definition at line 189 of file PathQt.cpp.

bool khtml::Path::isEmpty ( ) const

Definition at line 184 of file PathQt.cpp.

float khtml::Path::length ( )

Definition at line 90 of file Path.cpp.

void khtml::Path::moveTo ( const FloatPoint &  point)

Definition at line 92 of file PathQt.cpp.

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

Definition at line 106 of file Path.cpp.

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

Definition at line 59 of file PathQt.cpp.

PlatformPath* khtml::Path::platformPath ( ) const
inline

Definition at line 104 of file Path.h.

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

Definition at line 97 of file Path.cpp.

void khtml::Path::setWindingRule ( WindRule  rule)
inline

Definition at line 99 of file Path.h.

void khtml::Path::transform ( const AffineTransform &  transform)

Definition at line 266 of file PathQt.cpp.

void khtml::Path::translate ( const FloatSize &  size)

Definition at line 80 of file PathQt.cpp.

WindRule khtml::Path::windingRule ( ) const
inline

Definition at line 100 of file Path.h.


The documentation for this class was generated from the following files:
  • Path.h
  • Path.cpp
  • PathQt.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal