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

KHTML

  • WebCore
  • IntRect
Public Member Functions | List of all members
WebCore::IntRect Class Reference

#include <IntRect.h>

Public Member Functions

 IntRect ()
 
 IntRect (const IntPoint &location, const IntSize &size)
 
 IntRect (int x, int y, int width, int height)
 
 IntRect (const FloatRect &rect)
 
int bottom () const
 
IntPoint bottomLeft () const
 
IntPoint bottomRight () const
 
bool contains (const IntRect &) const
 
bool contains (int px, int py) const
 
bool contains (const IntPoint &point) 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
 
bool isEmpty () const
 
IntPoint location () const
 
void move (const IntSize &s)
 
void move (int dx, int dy)
 
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 IntRect &  other) const

Definition at line 51 of file IntRect.cpp.

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

Definition at line 111 of file IntRect.h.

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

Definition at line 113 of file IntRect.h.

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 ( const IntSize &  s)
inline

Definition at line 103 of file IntRect.h.

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

Definition at line 104 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
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