lib Library API Documentation

KoSize Class Reference

A size whose coordinates are floating-point values ( "double"s ). More...

#include <koSize.h>

List of all members.

Public Member Functions

 KoSize (double w, double h)
bool isNull () const
bool isEmpty () const
bool isValid () const
double width () const
double height () const
void setWidth (double w)
void setHeight (double h)
KoSize expandedTo (const KoSize &) const
KoSize boundedTo (const KoSize &) const
double & rwidth ()
double & rheight ()
KoSizeoperator+= (const KoSize &)
KoSizeoperator-= (const KoSize &)
KoSizeoperator *= (int c)
KoSizeoperator *= (double c)
KoSizeoperator/= (int c)
KoSizeoperator/= (double c)
QSize toQSize () const
void transpose ()

Static Public Member Functions

KoSize fromQSize (const QSize &size)

Friends

bool operator== (const KoSize &, const KoSize &)
bool operator!= (const KoSize &, const KoSize &)
const KoSize operator+ (const KoSize &, const KoSize &)
const KoSize operator- (const KoSize &, const KoSize &)
const KoSize operator * (const KoSize &, int)
const KoSize operator * (int, const KoSize &)
const KoSize operator * (const KoSize &, double)
const KoSize operator * (double, const KoSize &)
const KoSize operator/ (const KoSize &, int)
const KoSize operator/ (const KoSize &, double)


Detailed Description

A size whose coordinates are floating-point values ( "double"s ).

The API isn't documented, it's a perfect mirror of QSize.

Definition at line 33 of file koSize.h.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.5.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Mar 20 14:26:37 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003