GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

GFC::Gdk::Span Class Reference

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

#include <gfc/gdk/types.hh>

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

GFC::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.

GFC::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 GFC::Gdk::Span::equal const Span other  )  const
 

Returns true if this span and other compare equal.

Parameters:
other A Span.

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

Returns true if this span and other compare unequal.

Parameters:
other A Span.

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

Returns true if this span and other compare equal.

Parameters:
other A Span.

void GFC::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 GFC::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 GFC::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 GFC::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:
Generated on Tue Aug 24 00:34:36 2004 for GFC-UI by doxygen 1.3.8