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

KHTML

WebCore::FloatRect

WebCore::FloatRect Class Reference

#include <FloatRect.h>

List of all members.

Public Member Functions

float bottom () const
bool contains (const FloatPoint &point) const
bool contains (float px, float py) const
bool contains (const FloatRect &) const
 FloatRect (const IntRect &)
 FloatRect (float x, float y, float width, float height)
 FloatRect (const FloatPoint &location, const FloatSize &size)
 FloatRect ()
float height () const
void inflate (float d)
void inflateX (float dx)
void inflateY (float dy)
void intersect (const FloatRect &)
bool intersects (const FloatRect &) const
bool isEmpty () const
FloatPoint location () const
void move (float dx, float dy)
void move (const FloatSize &delta)
float right () const
void scale (float s)
void setHeight (float height)
void setLocation (const FloatPoint &location)
void setSize (const FloatSize &size)
void setWidth (float width)
void setX (float x)
void setY (float y)
FloatSize size () const
void unite (const FloatRect &)
float width () const
float x () const
float y () const

Static Public Member Functions

static FloatRect narrowPrecision (double x, double y, double width, double height)

Detailed Description

Definition at line 59 of file FloatRect.h.


Constructor & Destructor Documentation

WebCore::FloatRect::FloatRect (  )  [inline]

Definition at line 61 of file FloatRect.h.

WebCore::FloatRect::FloatRect ( const FloatPoint &  location,
const FloatSize &  size 
) [inline]

Definition at line 62 of file FloatRect.h.

WebCore::FloatRect::FloatRect ( float  x,
float  y,
float  width,
float  height 
) [inline]

Definition at line 64 of file FloatRect.h.

WebCore::FloatRect::FloatRect ( const IntRect &  r  ) 

Definition at line 39 of file FloatRect.cpp.


Member Function Documentation

float WebCore::FloatRect::bottom (  )  const [inline]

Definition at line 89 of file FloatRect.h.

bool WebCore::FloatRect::contains ( const FloatPoint &  point  )  const [inline]

Definition at line 104 of file FloatRect.h.

bool WebCore::FloatRect::contains ( float  px,
float  py 
) const [inline]

Definition at line 102 of file FloatRect.h.

bool WebCore::FloatRect::contains ( const FloatRect &  other  )  const

Definition at line 56 of file FloatRect.cpp.

float WebCore::FloatRect::height (  )  const [inline]

Definition at line 79 of file FloatRect.h.

void WebCore::FloatRect::inflate ( float  d  )  [inline]

Definition at line 115 of file FloatRect.h.

void WebCore::FloatRect::inflateX ( float  dx  )  [inline]

Definition at line 107 of file FloatRect.h.

void WebCore::FloatRect::inflateY ( float  dy  )  [inline]

Definition at line 111 of file FloatRect.h.

void WebCore::FloatRect::intersect ( const FloatRect &  other  ) 

Definition at line 62 of file FloatRect.cpp.

bool WebCore::FloatRect::intersects ( const FloatRect &  other  )  const

Definition at line 48 of file FloatRect.cpp.

bool WebCore::FloatRect::isEmpty (  )  const [inline]

Definition at line 86 of file FloatRect.h.

FloatPoint WebCore::FloatRect::location (  )  const [inline]

Definition at line 70 of file FloatRect.h.

void WebCore::FloatRect::move ( float  dx,
float  dy 
) [inline]

Definition at line 92 of file FloatRect.h.

void WebCore::FloatRect::move ( const FloatSize &  delta  )  [inline]

Definition at line 91 of file FloatRect.h.

FloatRect WebCore::FloatRect::narrowPrecision ( double  x,
double  y,
double  width,
double  height 
) [static]

Definition at line 43 of file FloatRect.cpp.

float WebCore::FloatRect::right (  )  const [inline]

Definition at line 88 of file FloatRect.h.

void WebCore::FloatRect::scale ( float  s  ) 

Definition at line 104 of file FloatRect.cpp.

void WebCore::FloatRect::setHeight ( float  height  )  [inline]

Definition at line 84 of file FloatRect.h.

void WebCore::FloatRect::setLocation ( const FloatPoint &  location  )  [inline]

Definition at line 73 of file FloatRect.h.

void WebCore::FloatRect::setSize ( const FloatSize &  size  )  [inline]

Definition at line 74 of file FloatRect.h.

void WebCore::FloatRect::setWidth ( float  width  )  [inline]

Definition at line 83 of file FloatRect.h.

void WebCore::FloatRect::setX ( float  x  )  [inline]

Definition at line 81 of file FloatRect.h.

void WebCore::FloatRect::setY ( float  y  )  [inline]

Definition at line 82 of file FloatRect.h.

FloatSize WebCore::FloatRect::size (  )  const [inline]

Definition at line 71 of file FloatRect.h.

void WebCore::FloatRect::unite ( const FloatRect &  other  ) 

Definition at line 83 of file FloatRect.cpp.

float WebCore::FloatRect::width (  )  const [inline]

Definition at line 78 of file FloatRect.h.

float WebCore::FloatRect::x (  )  const [inline]

Definition at line 76 of file FloatRect.h.

float WebCore::FloatRect::y (  )  const [inline]

Definition at line 77 of file FloatRect.h.


The documentation for this class was generated from the following files:
  • FloatRect.h
  • FloatRect.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
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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