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

KHTML

WebCore::IntRect

WebCore::IntRect Class Reference

#include <IntRect.h>

List of all members.


Public Member Functions

int bottom () const
IntPoint bottomLeft () const
IntPoint bottomRight () const
bool contains (const IntPoint &point) const
bool contains (int px, int py) const
bool contains (const IntRect &) const
int height () const
void inflate (int d)
void inflateX (int dx)
void inflateY (int dy)
void intersect (const IntRect &)
bool intersects (const IntRect &) const
 IntRect (const FloatRect &rect)
 IntRect (int x, int y, int width, int height)
 IntRect (const IntPoint &location, const IntSize &size)
 IntRect ()
bool isEmpty () const
IntPoint location () const
void move (int dx, int dy)
void move (const IntSize &s)
int right () const
void scale (float s)
void setHeight (int height)
void setLocation (const IntPoint &location)
void setSize (const IntSize &size)
void setWidth (int width)
void setX (int x)
void setY (int y)
IntSize size () const
IntPoint topLeft () const
IntPoint topRight () const
void unite (const IntRect &)
int width () const
int x () const
int y () const

Detailed Description

Definition at line 65 of file IntRect.h.


Constructor & Destructor Documentation

WebCore::IntRect::IntRect (  )  [inline]

Definition at line 67 of file IntRect.h.

WebCore::IntRect::IntRect ( const IntPoint &  location,
const IntSize &  size 
) [inline]

Definition at line 68 of file IntRect.h.

WebCore::IntRect::IntRect ( int  x,
int  y,
int  width,
int  height 
) [inline]

Definition at line 70 of file IntRect.h.

WebCore::IntRect::IntRect ( const FloatRect &  rect  )  [explicit]

Definition at line 37 of file IntRect.cpp.


Member Function Documentation

int WebCore::IntRect::bottom (  )  const [inline]

Definition at line 101 of file IntRect.h.

IntPoint WebCore::IntRect::bottomLeft (  )  const [inline]

Definition at line 95 of file IntRect.h.

IntPoint WebCore::IntRect::bottomRight (  )  const [inline]

Definition at line 96 of file IntRect.h.

bool WebCore::IntRect::contains ( const IntPoint &  point  )  const [inline]

Definition at line 113 of file IntRect.h.

bool WebCore::IntRect::contains ( int  px,
int  py 
) const [inline]

Definition at line 111 of file IntRect.h.

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

Definition at line 51 of file IntRect.cpp.

int WebCore::IntRect::height (  )  const [inline]

Definition at line 84 of file IntRect.h.

void WebCore::IntRect::inflate ( int  d  )  [inline]

Definition at line 128 of file IntRect.h.

void WebCore::IntRect::inflateX ( int  dx  )  [inline]

Definition at line 118 of file IntRect.h.

void WebCore::IntRect::inflateY ( int  dy  )  [inline]

Definition at line 123 of file IntRect.h.

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

Definition at line 57 of file IntRect.cpp.

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

Definition at line 43 of file IntRect.cpp.

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

Definition at line 98 of file IntRect.h.

IntPoint WebCore::IntRect::location (  )  const [inline]

Definition at line 75 of file IntRect.h.

void WebCore::IntRect::move ( int  dx,
int  dy 
) [inline]

Definition at line 104 of file IntRect.h.

void WebCore::IntRect::move ( const IntSize &  s  )  [inline]

Definition at line 103 of file IntRect.h.

int WebCore::IntRect::right (  )  const [inline]

Definition at line 100 of file IntRect.h.

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

Definition at line 99 of file IntRect.cpp.

void WebCore::IntRect::setHeight ( int  height  )  [inline]

Definition at line 89 of file IntRect.h.

void WebCore::IntRect::setLocation ( const IntPoint &  location  )  [inline]

Definition at line 78 of file IntRect.h.

void WebCore::IntRect::setSize ( const IntSize &  size  )  [inline]

Definition at line 79 of file IntRect.h.

void WebCore::IntRect::setWidth ( int  width  )  [inline]

Definition at line 88 of file IntRect.h.

void WebCore::IntRect::setX ( int  x  )  [inline]

Definition at line 86 of file IntRect.h.

void WebCore::IntRect::setY ( int  y  )  [inline]

Definition at line 87 of file IntRect.h.

IntSize WebCore::IntRect::size (  )  const [inline]

Definition at line 76 of file IntRect.h.

IntPoint WebCore::IntRect::topLeft (  )  const [inline]

Definition at line 93 of file IntRect.h.

IntPoint WebCore::IntRect::topRight (  )  const [inline]

Definition at line 94 of file IntRect.h.

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

Definition at line 78 of file IntRect.cpp.

int WebCore::IntRect::width (  )  const [inline]

Definition at line 83 of file IntRect.h.

int WebCore::IntRect::x (  )  const [inline]

Definition at line 81 of file IntRect.h.

int WebCore::IntRect::y (  )  const [inline]

Definition at line 82 of file IntRect.h.


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