Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions | Public Attributes
SingleLine Struct Reference

#include <scribusstructs.h>

List of all members.

Public Member Functions

void setLineWidth (double value)
void setDash (int value)
void setLineEnd (int value)
void setLineJoin (int value)
void setColor (const QString &name)
void setShade (int value)
bool operator== (const SingleLine &other) const
bool operator!= (const SingleLine &other) const

Public Attributes

double Width
int Dash
int LineEnd
int LineJoin
QString Color
int Shade

Detailed Description

Definition at line 247 of file scribusstructs.h.


Member Function Documentation

bool SingleLine::operator!= ( const SingleLine other) const [inline]

Definition at line 271 of file scribusstructs.h.

       {
              return !(*this == other);
       }
bool SingleLine::operator== ( const SingleLine other) const [inline]

Definition at line 262 of file scribusstructs.h.

       {
              if (!compareDouble(Width, other.Width) )
                     return false;
              if ((Dash != other.Dash)  || (LineEnd != other.LineEnd) || (LineJoin != other.LineJoin) ||
                     (Color != other.Color)|| (Shade != other.Shade))
                     return false;
              return true;
       }

Here is the call graph for this function:

void SingleLine::setColor ( const QString &  name) [inline]

Definition at line 260 of file scribusstructs.h.

{ Color = name; }
void SingleLine::setDash ( int  value) [inline]

Definition at line 257 of file scribusstructs.h.

{ Dash = value; }
void SingleLine::setLineEnd ( int  value) [inline]

Definition at line 258 of file scribusstructs.h.

{ LineEnd = value; }
void SingleLine::setLineJoin ( int  value) [inline]

Definition at line 259 of file scribusstructs.h.

{ LineJoin = value; }
void SingleLine::setLineWidth ( double  value) [inline]

Definition at line 256 of file scribusstructs.h.

{ Width = value; }
void SingleLine::setShade ( int  value) [inline]

Definition at line 261 of file scribusstructs.h.

{ Shade = value; }

Member Data Documentation

Definition at line 253 of file scribusstructs.h.

Definition at line 250 of file scribusstructs.h.

Definition at line 251 of file scribusstructs.h.

Definition at line 252 of file scribusstructs.h.

Definition at line 254 of file scribusstructs.h.

Definition at line 249 of file scribusstructs.h.


The documentation for this struct was generated from the following file: