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

KHTML

  • WebCore
  • PathTraversalState
Public Types | Public Member Functions | Public Attributes | List of all members
WebCore::PathTraversalState Class Reference

#include <PathTraversalState.h>

Public Types

enum  PathTraversalAction { TraversalTotalLength , TraversalPointAtLength , TraversalSegmentAtLength , TraversalNormalAngleAtLength }
 

Public Member Functions

 PathTraversalState (PathTraversalAction)
 
float closeSubpath ()
 
float cubicBezierTo (const FloatPoint &newControl1, const FloatPoint &newControl2, const FloatPoint &newEnd)
 
float lineTo (const FloatPoint &)
 
float moveTo (const FloatPoint &)
 
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 39 of file PathTraversalState.h.

Member Enumeration Documentation

◆ PathTraversalAction

enum WebCore::PathTraversalState::PathTraversalAction
Enumerator
TraversalTotalLength 
TraversalPointAtLength 
TraversalSegmentAtLength 
TraversalNormalAngleAtLength 

Definition at line 41 of file PathTraversalState.h.

Constructor & Destructor Documentation

◆ PathTraversalState()

WebCore::PathTraversalState::PathTraversalState ( PathTraversalAction  action)

Definition at line 150 of file PathTraversalState.cpp.

Member Function Documentation

◆ closeSubpath()

float WebCore::PathTraversalState::closeSubpath ( )

Definition at line 160 of file PathTraversalState.cpp.

◆ cubicBezierTo()

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

Definition at line 193 of file PathTraversalState.cpp.

◆ lineTo()

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

Definition at line 173 of file PathTraversalState.cpp.

◆ moveTo()

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

Definition at line 167 of file PathTraversalState.cpp.

◆ quadraticBezierTo()

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

Definition at line 180 of file PathTraversalState.cpp.

Member Data Documentation

◆ m_action

PathTraversalAction WebCore::PathTraversalState::m_action

Definition at line 57 of file PathTraversalState.h.

◆ m_control1

FloatPoint WebCore::PathTraversalState::m_control1

Definition at line 62 of file PathTraversalState.h.

◆ m_control2

FloatPoint WebCore::PathTraversalState::m_control2

Definition at line 63 of file PathTraversalState.h.

◆ m_current

FloatPoint WebCore::PathTraversalState::m_current

Definition at line 60 of file PathTraversalState.h.

◆ m_desiredLength

float WebCore::PathTraversalState::m_desiredLength

Definition at line 67 of file PathTraversalState.h.

◆ m_normalAngle

float WebCore::PathTraversalState::m_normalAngle

Definition at line 71 of file PathTraversalState.h.

◆ m_previous

FloatPoint WebCore::PathTraversalState::m_previous

Definition at line 70 of file PathTraversalState.h.

◆ m_segmentIndex

unsigned WebCore::PathTraversalState::m_segmentIndex

Definition at line 66 of file PathTraversalState.h.

◆ m_start

FloatPoint WebCore::PathTraversalState::m_start

Definition at line 61 of file PathTraversalState.h.

◆ m_success

bool WebCore::PathTraversalState::m_success

Definition at line 58 of file PathTraversalState.h.

◆ m_totalLength

float WebCore::PathTraversalState::m_totalLength

Definition at line 65 of file PathTraversalState.h.


The documentation for this class was generated from the following files:
  • PathTraversalState.h
  • PathTraversalState.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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