kdecore Library API Documentation

NETRect Struct Reference

Simple rectangle class for NET classes. More...

#include <netwm_def.h>

Collaboration diagram for NETRect:

Collaboration graph
[legend]
List of all members.

Public Attributes

NETPoint pos
NETSize size

Detailed Description

Simple rectangle class for NET classes.

This class is a convenience class defining a rectangle as a point x,y with a size width by height. The existence of this class is to keep the implementation from being dependant on a separate framework/library;

NETRect is only used by the NET API. Usually QRect is the appropriate class for representing a rectangle.

Definition at line 92 of file netwm_def.h.


Member Data Documentation

NETPoint NETRect::pos
 

Position of the rectangle.

See also:
NETPoint
Definition at line 98 of file netwm_def.h.

Referenced by NETWinInfo::event(), KWin::info(), NETWinInfo::kdeGeometry(), NETWinInfo::setIconGeometry(), NETRootInfo::setWorkArea(), KWin::WindowInfo::WindowInfo(), and KWinModule::workArea().

NETSize NETRect::size
 

Size of the rectangle.

See also:
NETSize
Definition at line 105 of file netwm_def.h.

Referenced by NETWinInfo::event(), KWin::info(), NETWinInfo::kdeGeometry(), NETWinInfo::setIconGeometry(), NETRootInfo::setWorkArea(), KWin::WindowInfo::WindowInfo(), and KWinModule::workArea().


The documentation for this struct was generated from the following file:
KDE Logo
This file is part of the documentation for kdecore Library Version 3.3.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Oct 17 11:26:39 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003