Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Inti::Gdk::Span Class Reference

A GdkSpan C++ wrapper class. More...

#include <inti/gdk/types.h>

List of all members.

Public Member Functions

Constructors
Accessors
Methods

Detailed Description

A GdkSpan C++ wrapper class.

Span represents a horizontal line of pixels starting at the pixel with coordinates x, y and ending before x + width, y. Span uses default copy, assignment and destruction, and allows public access to x, y and width.


Constructor & Destructor Documentation

Inti::Gdk::Span::Span int  x,
int  y,
int  width
 

Construct a new span.

Parameters:
x The X coordinate of the first pixel in the span.
y The Y coordinate of the first pixel in the span.
width The number of pixels in the span.

Inti::Gdk::Span::Span const Point first,
int  width
 

Construct a new span.

Parameters:
first The x, y coordinates of the first pixel in the span.
width The number of pixels in the span.


Member Function Documentation

bool Inti::Gdk::Span::equal const Span other  )  const
 

Returns true if this span and other compare equal.

Parameters:
other A Span.

bool Inti::Gdk::Span::operator!= const Span other  )  const
 

Returns true if this span and other compare unequal.

Parameters:
other A Span.

bool Inti::Gdk::Span::operator== const Span other  )  const
 

Returns true if this span and other compare equal.

Parameters:
other A Span.

void Inti::Gdk::Span::set const Point first,
int  width
 

Sets the position and width of the span.

Parameters:
first The x, y coordinates of the first pixel in the span.
width The number of pixels in the span.

void Inti::Gdk::Span::set int  x,
int  y,
int  width
 

Sets the position and width of the span.

Parameters:
x The X coordinate of the first pixel in the span.
y The Y coordinate of the first pixel in the span.
width The number of pixels in the span.

void Inti::Gdk::Span::set const Point first  ) 
 

Sets the coordinates for the first pixel in the span.

Parameters:
first The x, y coordinates of the first pixel in the span.

void Inti::Gdk::Span::set int  x,
int  y
 

Sets the coordinates for the first pixel in the span.

Parameters:
x The X coordinate of the first pixel in the span.
y The Y coordinate of the first pixel in the span.


The documentation for this class was generated from the following file: Main Page - Footer


Generated on Sun Sep 14 20:08:12 2003 for Inti by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002