Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Public Member Functions
Xfc::Atk::TextRectangle Class Reference

An AtkTextRectangle C++ wrapper class. More...

#include <xfc/atk/text.hh>

List of all members.

Public Member Functions

Constructors

Detailed Description

An AtkTextRectangle C++ wrapper class.

TextRectangle represents an object used to store a rectangle used by Atk::Text. It uses default copy, assignment and destruction.


Constructor & Destructor Documentation

Xfc::Atk::TextRectangle::TextRectangle ( int  x,
int  y,
int  width,
int  height 
)

Construct a new text rectangle.

Parameters:
xThe X coordinate of the text rectangle.
yThe Y coordinate of the text rectangle.
widthThe width of the text rectangle.
heightThe height of the text rectangle.
Xfc::Atk::TextRectangle::TextRectangle ( const AtkTextRectangle &  rectangle)

Construct a new text rectangle from an existing AtkTextRectangle.

Parameters:
rectangleA AtkTextRectangle.

Member Function Documentation

void Xfc::Atk::TextRectangle::set ( int  x,
int  y,
int  width,
int  height 
)

Sets the position and size of the text rectangle.

Parameters:
xThe new X coordinate of the text rectangle.
yThe new Y coordinate of the text rectangle.
widthThe new width of the text rectangle.
heightThe new height of the text rectangle.

The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC