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

KHTML

WebCore::PathTraversalState

WebCore::PathTraversalState Class Reference

#include <PathTraversalState.h>

List of all members.


Public Types

enum  PathTraversalAction { TraversalTotalLength, TraversalPointAtLength, TraversalSegmentAtLength, TraversalNormalAngleAtLength }

Public Member Functions

float closeSubpath ()
float cubicBezierTo (const FloatPoint &newControl1, const FloatPoint &newControl2, const FloatPoint &newEnd)
float lineTo (const FloatPoint &)
float moveTo (const FloatPoint &)
 PathTraversalState (PathTraversalAction)
float quadraticBezierTo (const FloatPoint &newControl, const FloatPoint &newEnd)

Public Attributes

PathTraversalAction m_action
FloatPoint m_control1
FloatPoint m_control2
FloatPoint m_current
float m_desiredLength
float m_normalAngle
FloatPoint m_previous
unsigned m_segmentIndex
FloatPoint m_start
bool m_success
float m_totalLength

Detailed Description

Definition at line 36 of file PathTraversalState.h.


Member Enumeration Documentation

enum WebCore::PathTraversalState::PathTraversalAction

Enumerator:
TraversalTotalLength 
TraversalPointAtLength 
TraversalSegmentAtLength 
TraversalNormalAngleAtLength 

Definition at line 38 of file PathTraversalState.h.


Constructor & Destructor Documentation

WebCore::PathTraversalState::PathTraversalState ( PathTraversalAction  action  ) 

Definition at line 150 of file PathTraversalState.cpp.


Member Function Documentation

float WebCore::PathTraversalState::closeSubpath (  ) 

Definition at line 160 of file PathTraversalState.cpp.

float WebCore::PathTraversalState::cubicBezierTo ( const FloatPoint &  newControl1,
const FloatPoint &  newControl2,
const FloatPoint &  newEnd 
)

Definition at line 193 of file PathTraversalState.cpp.

float WebCore::PathTraversalState::lineTo ( const FloatPoint &  point  ) 

Definition at line 173 of file PathTraversalState.cpp.

float WebCore::PathTraversalState::moveTo ( const FloatPoint &  point  ) 

Definition at line 167 of file PathTraversalState.cpp.

float WebCore::PathTraversalState::quadraticBezierTo ( const FloatPoint &  newControl,
const FloatPoint &  newEnd 
)

Definition at line 180 of file PathTraversalState.cpp.


Member Data Documentation

PathTraversalAction WebCore::PathTraversalState::m_action

Definition at line 54 of file PathTraversalState.h.

FloatPoint WebCore::PathTraversalState::m_control1

Definition at line 59 of file PathTraversalState.h.

FloatPoint WebCore::PathTraversalState::m_control2

Definition at line 60 of file PathTraversalState.h.

FloatPoint WebCore::PathTraversalState::m_current

Definition at line 57 of file PathTraversalState.h.

float WebCore::PathTraversalState::m_desiredLength

Definition at line 64 of file PathTraversalState.h.

float WebCore::PathTraversalState::m_normalAngle

Definition at line 68 of file PathTraversalState.h.

FloatPoint WebCore::PathTraversalState::m_previous

Definition at line 67 of file PathTraversalState.h.

unsigned WebCore::PathTraversalState::m_segmentIndex

Definition at line 63 of file PathTraversalState.h.

FloatPoint WebCore::PathTraversalState::m_start

Definition at line 58 of file PathTraversalState.h.

bool WebCore::PathTraversalState::m_success

Definition at line 55 of file PathTraversalState.h.

float WebCore::PathTraversalState::m_totalLength

Definition at line 62 of file PathTraversalState.h.


The documentation for this class was generated from the following files:
  • PathTraversalState.h
  • PathTraversalState.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