Tipos públicos |
enum | FLPenStyle {
NoPen,
SolidLine,
DashLine,
DotLine,
DashDotLine,
DashDotDotLine,
MPenStyle = 0x0f
} |
enum | FLBrushStyle {
NoBrush,
SolidPattern,
Dense1Pattern,
Dense2Pattern,
Dense3Pattern,
Dense4Pattern,
Dense5Pattern,
Dense6Pattern,
Dense7Pattern,
HorPattern,
VerPattern,
CrossPattern,
BDiagPattern,
FDiagPattern,
DiagCrossPattern,
CustomPattern = 24
} |
enum | FLBGMode { TransparentMode,
OpaqueMode
} |
enum | FLRasterOp {
CopyROP,
OrROP,
XorROP,
NotAndROP,
EraseROP = NotAndROP,
NotCopyROP,
NotOrROP,
NotXorROP,
AndROP,
NotEraseROP = AndROP,
NotROP,
ClearROP,
SetROP,
NopROP,
AndNotROP,
OrNotROP,
NandROP,
NorROP,
LastROP = NorROP
} |
enum | FLCoordinateMode { CoordDevice,
CoordPainter
} |
enum | FLTextDirection { Auto,
RTL,
LTR
} |
enum | FLAlignment {
AlignAuto = Qt::AlignAuto,
AlignLeft = Qt::AlignLeft,
AlignRight = Qt::AlignRight,
AlignHCenter = Qt::AlignHCenter,
AlignJustify = Qt::AlignJustify,
AlignTop = Qt::AlignTop,
AlignBottom = Qt::AlignBottom,
AlignVCenter = Qt::AlignVCenter,
AlignCenter = Qt::AlignCenter,
AlignHorizontal_Mask = Qt::AlignHorizontal_Mask,
AlignVertical_Mask = Qt::AlignVertical_Mask
} |
Slots públicos |
QPicture * | picture () const |
void | setPicture (const QPicture &pic) |
void | setPicture (QPicture *pic) |
bool | isNull () const |
bool | load (const QString &fileName, const char *format=0) |
bool | save (const QString &fileName, const char *format=0) |
QRect | boundingRect () const |
void | setBoundingRect (const QRect &r) |
bool | begin () |
bool | end () const |
void | cleanup () |
bool | isActive () const |
void | flush () const |
void | savePainter () const |
void | restorePainter () const |
const QFont & | font () const |
void | setFont (const QFont &font) const |
void | setPen (const QColor &color, uint width=0, FLPenStyle style=FLPicture::SolidLine) const |
void | setBrush (const QColor &color, FLBrushStyle style=FLPicture::SolidPattern) const |
const QColor & | backgroundColor () const |
void | setBackgroundColor (const QColor &color) const |
FLPicture::FLBGMode | backgroundMode () const |
void | setBackgroundMode (FLBGMode bgm) const |
FLPicture::FLRasterOp | rasterOp () const |
void | setRasterOp (FLRasterOp rop) const |
const QPoint & | brushOrigin () const |
void | setBrushOrigin (int x, int y) const |
void | setBrushOrigin (const QPoint &pt) const |
QRect | window () const |
void | setWindow (const QRect &r) const |
void | setWindow (int x, int y, int w, int h) const |
QRect | viewport () const |
void | setViewport (const QRect &r) const |
void | setViewport (int x, int y, int w, int h) const |
void | scale (double sx, double sy) const |
void | shear (double sh, double sv) const |
void | rotate (double a) const |
void | translate (double dx, double dy) const |
double | translationX () const |
double | translationY () const |
void | setClipping (bool c) const |
bool | hasClipping () const |
void | setClipRect (const QRect &r, FLCoordinateMode co=CoordDevice) const |
void | setClipRect (int x, int y, int w, int h, FLCoordinateMode co=CoordDevice) const |
void | drawLine (int x1, int y1, int x2, int y2) const |
void | drawLine (const QPoint &pt1, const QPoint &pt2) const |
void | drawPoint (int x, int y) const |
void | drawPoint (const QPoint &pt) const |
void | moveTo (int x, int y) const |
void | moveTo (const QPoint &pt) const |
void | lineTo (int x, int y) const |
void | lineTo (const QPoint &pt) const |
void | drawRect (int x, int y, int w, int h) const |
void | drawRect (const QRect &r) const |
void | drawWinFocusRect (int x, int y, int w, int h) const |
void | drawWinFocusRect (int x, int y, int w, int h, const QColor &bgColor) const |
void | drawWinFocusRect (const QRect &r) const |
void | drawWinFocusRect (const QRect &r, const QColor &bgColor) const |
void | drawRoundRect (int x, int y, int w, int h, int xRnd=25, int yRnd=25) const |
void | drawRoundRect (const QRect &r, int xRnd=25, int yRnd=25) const |
void | drawEllipse (int x, int y, int w, int h) const |
void | drawEllipse (const QRect &r) const |
void | drawArc (int x, int y, int w, int h, int a, int alen) const |
void | drawArc (const QRect &r, int a, int alen) const |
void | drawPie (int x, int y, int w, int h, int a, int alen) const |
void | drawPie (const QRect &r, int a, int alen) const |
void | drawChord (int x, int y, int w, int h, int a, int alen) const |
void | drawChord (const QRect &r, int a, int alen) const |
void | drawPixmap (int x, int y, const QPixmap &pix, int sx=0, int sy=0, int sw=-1, int sh=-1) const |
void | drawPixmap (const QPoint &pt, const QPixmap &pix, const QRect &r) const |
void | drawPixmap (const QPoint &pt, const QPixmap &pix) const |
void | drawPixmap (const QRect &r, const QPixmap &pix) const |
void | drawTiledPixmap (int x, int y, int w, int h, const QPixmap &pix, int sx=0, int sy=0) const |
void | drawTiledPixmap (const QRect &r, const QPixmap &pix, const QPoint &pt) const |
void | drawTiledPixmap (const QRect &r, const QPixmap &pix) const |
void | drawPicture (FLPicture *pic) |
void | drawPicture (int x, int y, FLPicture *pic) const |
void | drawPicture (const QPoint &pt, FLPicture *pic) const |
void | fillRect (int x, int y, int w, int h, const QColor &color, FLBrushStyle style=FLPicture::SolidPattern) const |
void | fillRect (const QRect &r, const QColor &color, FLBrushStyle style=FLPicture::SolidPattern) const |
void | eraseRect (int x, int y, int w, int h) const |
void | eraseRect (const QRect &r) const |
void | drawText (int x, int y, const QString &t, int len=-1, FLTextDirection dir=Auto) const |
void | drawText (const QPoint &pt, const QString &t, int len=-1, FLTextDirection dir=Auto) const |
void | drawText (int x, int y, const QString &t, int pos, int len, FLTextDirection dir=Auto) const |
void | drawText (const QPoint &p, const QString &t, int pos, int len, FLTextDirection dir=Auto) const |
void | drawText (int x, int y, int w, int h, int flags, const QString &t, int len=-1, QRect *br=0) const |
void | drawText (const QRect &r, int flags, const QString &t, int len=-1, QRect *br=0) const |
QRect | boundingRect (int x, int y, int w, int h, int flags, const QString &t, int len=-1) const |
QRect | boundingRect (const QRect &r, int flags, const QString &t, int len=-1) const |
QPixmap * | playOnPixmap (QPixmap *pix) |
FLPicture * | playOnPicture (FLPicture *pic) |
Métodos públicos |
| FLPicture (QObject *parent=0, const char *name=0) |
| FLPicture (FLPicture *other) |
| FLPicture (const QPicture &pic) |
| FLPicture (QPicture *pic, QObject *parent, const char *name=0) |
| FLPicture (QPicture *pic, QPainter *pte, QObject *parent, const char *name=0) |
| ~FLPicture () |
La documentación para esta clase fue generada a partir de los siguientes ficheros: