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


Public Member Functions
Xfc::Gdk::Trapezoid Class Reference

A GdkTrapezoid C++ wrapper class. More...

#include <xfc/gdk/types.hh>

List of all members.

Public Member Functions

Constructors

Detailed Description

A GdkTrapezoid C++ wrapper class.

Trapezoid specifies a trapezpoid for use by the Gdk::Drawable::draw_trapezoids(). The trapezoids used here have parallel, horizontal top and bottom edges.


Constructor & Destructor Documentation

Xfc::Gdk::Trapezoid::Trapezoid ( double  y1,
double  x11,
double  x21,
double  y2,
double  x12,
double  x22 
)

Construct a new trapezoid.

Parameters:
y1The y coordinate of the start point.
x11The x coordinate of the top left corner.
x21The x coordinate of the top right corner.
y2The y coordinate of the end point.
x12The x coordinate of the bottom left corner.
x22The y coordinate of the bottom right point.

Member Function Documentation

void Xfc::Gdk::Trapezoid::set ( double  y1,
double  x11,
double  x21,
double  y2,
double  x12,
double  x22 
)

Set the coordinates for the trapezoid.

Parameters:
y1The y coordinate of the start point.
x11The x coordinate of the top left corner.
x21The x coordinate of the top right corner.
y2The y coordinate of the end point.
x12The x coordinate of the bottom left corner.
x22The y coordinate of the bottom right point.

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