Open Source 2D CAD
RColor.cpp File Reference
#include <QPainter>
#include <QPixmap>
#include <QBrush>
#include "RColor.h"
#include "RCircle.h"
#include "RDebug.h"
#include "RMath.h"
#include "RColorCodes.h"


QDebug operator<< (QDebug dbg, const RColor &c)
 Stream operator for QDebug. More...
QDataStream & operator<< (QDataStream &stream, const RColor &color)
 Serializes the given RColor object. More...
QDataStream & operator>> (QDataStream &stream, RColor &color)
 Deserializes the given RColor object. More...

Function Documentation

QDebug operator<< ( QDebug  dbg,
const RColor c 

Stream operator for QDebug.

QDataStream& operator<< ( QDataStream &  stream,
const RColor color 

Serializes the given RColor object.

Used for RSettings, keep in sync with operator>>.

QDataStream& operator>> ( QDataStream &  stream,
RColor color 

Deserializes the given RColor object.

This function is not available in script environments.