#include </home/clem/local/src/opie/core/multimedia/opieplayer/libflash/graphic.h>
Inheritance diagram for GraphicDevice:


Public Member Functions | |
| GraphicDevice (FlashDisplay *fd) | |
| virtual | ~GraphicDevice () |
| int | setBackgroundColor (Color) |
| void | setForegroundColor (Color) |
| Color | getBackgroundColor () |
| Color | getForegroundColor () |
| void | setMovieDimension (long width, long height) |
| void | setMovieZoom (int zoom) |
| void | setMovieOffset (long x, long y) |
| long | getWidth () |
| long | getHeight () |
| Color * | getColormap (Color *old, long n, Cxform *cxform) |
| void | drawBox (long x1, long y1, long x2, long y2) |
| void | addSegment (long x1, long y1, long x2, long y2, FillStyleDef *f0, FillStyleDef *f1, int aa) |
| void | drawPolygon (void) |
| void | updateClippingRegion (Rect *) |
| void | setClipping (int) |
| virtual void | clearCanvas () |
| virtual long | allocColor (Color color) |
| virtual void | fillLineBitmap (FillStyleDef *f, long y, long start, long end) |
| virtual void | fillLineLG (Gradient *grad, long y, long start, long end) |
| virtual void | fillLineRG (Gradient *grad, long y, long start, long end) |
| virtual void | fillLine (FillStyleDef *f, long y, long start, long end) |
| virtual void | fillLineAA (FillStyleDef *f, long y, long start, long end) |
| virtual void | drawLine (long x1, long y1, long x2, long y2, long width) |
Public Attributes | |
| FlashDisplay * | flashDisplay |
| int | bgInitialized |
| Color | backgroundColor |
| Color | foregroundColor |
| void * | scan_line_func_id |
| ScanLineFunc | scan_line_func |
| Rect | clip_rect |
| Matrix * | adjust |
| long | showMore |
| unsigned char * | canvasBuffer |
| long | bpl |
| long | bpp |
| long | pad |
Protected Member Functions | |
| long | clip (long &y, long &start, long &end) |
Private Member Functions | |
| Segment * | allocSeg () |
| Segment * | progressSegments (Segment *curSegs, long y) |
| Segment * | newSegments (Segment *curSegs, Segment *newSegs) |
| void | renderScanLine (long y, Segment *curSegs) |
Private Attributes | |
| int | targetWidth |
| int | targetHeight |
| Rect | viewPort |
| int | movieWidth |
| int | movieHeight |
| int | zoom |
| unsigned long | redMask |
| unsigned long | greenMask |
| unsigned long | blueMask |
| int | clipping |
| Segment ** | segs |
| int | ymin |
| int | ymax |
| int | height |
| Segment * | seg_pool |
| Segment * | seg_pool_cur |
|
|
Definition at line 33 of file graphic.cc. References adjust, Color::alpha, ALPHA_OPAQUE, backgroundColor, bgInitialized, Color::blue, blueMask, FlashDisplay::bpl, bpl, canvasBuffer, FlashDisplay::flash_refresh, flashDisplay, foregroundColor, FRAC, Color::green, greenMask, height, FlashDisplay::height, movieHeight, movieWidth, NB_SEGMENT_MAX, FlashDisplay::pixels, printf, Color::red, redMask, seg_pool, seg_pool_cur, segs, setClipping(), showMore, targetHeight, targetWidth, viewPort, FlashDisplay::width, Rect::xmax, Rect::xmin, ymax, Rect::ymax, ymin, Rect::ymin, and zoom. |
|
|
Definition at line 96 of file graphic.cc. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 270 of file graphic.cc. References Segment::aa, allocSeg(), clip_rect, Segment::dX, FRAC, FRAC_BITS, Segment::fs, height, Segment::next, Segment::nextValid, NULL, s, SEGFRAC, segs, Segment::X, X, Segment::x1, Segment::x2, Segment::ymax, Rect::ymax, ymax, Rect::ymin, and ymin. Referenced by flushPaths(). |
|
|
Reimplemented in GraphicDevice16, GraphicDevice24, and GraphicDevice32. Definition at line 599 of file graphic.cc. Referenced by Shape::execute(), getColormap(), ParseLineStyle(), and prepareStyles(). |
|
|
Definition at line 257 of file graphic.cc. References NB_SEGMENT_MAX, NULL, seg_pool, and seg_pool_cur. Referenced by addSegment(). |
|
|
Reimplemented in GraphicDevice16, GraphicDevice24, and GraphicDevice32. Definition at line 594 of file graphic.cc. Referenced by FlashMovie::renderMovie(), and setBackgroundColor(). |
|
||||||||||||||||
|
||||||||||||||||||||
|
Definition at line 241 of file graphic.cc. References drawLine(), FRAC, and i. Referenced by FlashMovie::renderFocus(). |
|
||||||||||||||||||||||||
|
Reimplemented in GraphicDevice16, GraphicDevice24, and GraphicDevice32. Definition at line 630 of file graphic.cc. Referenced by Text::doText(), drawBox(), flushPaths(), and DisplayList::render(). |
|
|
Definition at line 511 of file graphic.cc. References height, newSegments(), Segment::nextValid, NULL, progressSegments(), renderScanLine(), scan_line_func, seg_pool, seg_pool_cur, SEGFRAC, Segment::X, Opie::MM::y, ymax, and ymin. Referenced by flushPaths(). |
|
||||||||||||||||||||
|
Reimplemented in GraphicDevice16, GraphicDevice24, and GraphicDevice32. Definition at line 620 of file graphic.cc. Referenced by renderScanLine(). |
|
||||||||||||||||||||
|
Reimplemented in GraphicDevice16, GraphicDevice24, and GraphicDevice32. Definition at line 625 of file graphic.cc. Referenced by renderScanLine(). |
|
||||||||||||||||||||
|
Reimplemented in GraphicDevice16, GraphicDevice24, and GraphicDevice32. Definition at line 605 of file graphic.cc. Referenced by renderScanLine(). |
|
||||||||||||||||||||
|
Reimplemented in GraphicDevice16, GraphicDevice24, and GraphicDevice32. Definition at line 610 of file graphic.cc. Referenced by renderScanLine(). |
|
||||||||||||||||||||
|
Reimplemented in GraphicDevice16, GraphicDevice24, and GraphicDevice32. Definition at line 615 of file graphic.cc. Referenced by renderScanLine(). |
|
|
Definition at line 156 of file graphic.cc. References backgroundColor. |
|
||||||||||||||||
|
Definition at line 107 of file graphic.cc. References allocColor(), i, NULL, and Color::pixel. Referenced by prepareStyles(). |
|
|
Definition at line 144 of file graphic.cc. References foregroundColor. Referenced by Shape::execute(). |
|
|
Definition at line 132 of file graphic.cc. References targetHeight. |
|
|
Definition at line 138 of file graphic.cc. References targetWidth. |
|
||||||||||||
|
Definition at line 400 of file graphic.cc. References Segment::dX, Segment::next, Segment::nextValid, s, Segment::X, Segment::x1, and Segment::x2. Referenced by drawPolygon(). |
|
||||||||||||
|
Definition at line 373 of file graphic.cc. References Segment::dX, FRAC, Segment::nextValid, Segment::X, and Segment::ymax. Referenced by drawPolygon(). |
|
||||||||||||
|
Definition at line 466 of file graphic.cc. References Segment::aa, f, f_clippedBitmap, f_LinearGradient, f_None, f_RadialGradient, f_Solid, f_TiledBitmap, fillLine(), fillLineAA(), fillLineBitmap(), fillLineLG(), fillLineRG(), FRAC, Segment::fs, Segment::nextValid, SEGFRAC, targetWidth, width, and Segment::X. Referenced by drawPolygon(). |
|
|
Definition at line 162 of file graphic.cc. References backgroundColor, bgInitialized, and clearCanvas(). |
|
|
Definition at line 580 of file graphic.cc. References clip_rect, clipping, viewPort, Rect::xmax, Rect::xmin, Rect::ymax, and Rect::ymin. Referenced by Shape::getRegion(), and GraphicDevice(). |
|
|
Definition at line 150 of file graphic.cc. References foregroundColor. Referenced by Text::doText(), flushPaths(), and DisplayList::render(). |
|
||||||||||||
|
Definition at line 174 of file graphic.cc. References Matrix::a, adjust, Matrix::d, movieHeight, movieWidth, targetHeight, targetWidth, Matrix::tx, Matrix::ty, viewPort, Rect::xmax, Rect::xmin, Rect::ymax, Rect::ymin, and zoom. Referenced by FlashGraphicInit(), and setMovieZoom(). |
|
||||||||||||
|
Definition at line 214 of file graphic.cc. References adjust, Matrix::tx, Matrix::ty, and zoom. Referenced by FlashOffset(). |
|
|
Definition at line 205 of file graphic.cc. References FRAC, movieHeight, movieWidth, setMovieDimension(), and zoom. Referenced by FlashZoom(). |
|
|
Definition at line 553 of file graphic.cc. References adjust, clip_rect, clipping, FRAC_BITS, transformBoundingBox(), viewPort, Rect::xmax, Rect::xmin, Rect::ymax, and Rect::ymin. Referenced by FlashMovie::renderMovie(). |
|
|
Definition at line 126 of file graphic.h. Referenced by button_hit(), Text::doText(), drawShape(), GraphicDevice(), DisplayList::render(), FlashMovie::renderFocus(), setMovieDimension(), setMovieOffset(), updateClippingRegion(), and ~GraphicDevice(). |
|
|
Definition at line 102 of file graphic.h. Referenced by GraphicDevice32::clearCanvas(), GraphicDevice24::clearCanvas(), GraphicDevice16::clearCanvas(), getBackgroundColor(), GraphicDevice(), and setBackgroundColor(). |
|
|
Definition at line 101 of file graphic.h. Referenced by GraphicDevice32::clearCanvas(), GraphicDevice24::clearCanvas(), GraphicDevice16::clearCanvas(), GraphicDevice(), and setBackgroundColor(). |
|
|
Definition at line 96 of file graphic.h. Referenced by GraphicDevice(). |
|
|
|
|
|
|
|
Definition at line 108 of file graphic.h. Referenced by addSegment(), GraphicDevice32::clearCanvas(), GraphicDevice24::clearCanvas(), GraphicDevice16::clearCanvas(), clip(), GraphicDevice32::drawLine(), GraphicDevice24::drawLine(), GraphicDevice16::drawLine(), DisplayList::render(), setClipping(), and updateClippingRegion(). |
|
|
Definition at line 97 of file graphic.h. Referenced by setClipping(), and updateClippingRegion(). |
|
|
Definition at line 100 of file graphic.h. Referenced by GraphicDevice32::clearCanvas(), GraphicDevice24::clearCanvas(), GraphicDevice16::clearCanvas(), and GraphicDevice(). |
|
|
Definition at line 103 of file graphic.h. Referenced by GraphicDevice32::drawLine(), GraphicDevice24::drawLine(), GraphicDevice16::drawLine(), getForegroundColor(), GraphicDevice(), and setForegroundColor(). |
|
|
Definition at line 95 of file graphic.h. Referenced by GraphicDevice(). |
|
|
Definition at line 113 of file graphic.h. Referenced by addSegment(), drawPolygon(), and GraphicDevice(). |
|
|
Definition at line 92 of file graphic.h. Referenced by GraphicDevice(), setMovieDimension(), and setMovieZoom(). |
|
|
Definition at line 91 of file graphic.h. Referenced by GraphicDevice(), setMovieDimension(), and setMovieZoom(). |
|
|
|
|
|
Definition at line 94 of file graphic.h. Referenced by GraphicDevice(). |
|
|
Definition at line 107 of file graphic.h. Referenced by drawPolygon(), drawShape(), and flushPaths(). |
|
|
Definition at line 106 of file graphic.h. Referenced by drawShape(). |
|
|
Definition at line 114 of file graphic.h. Referenced by allocSeg(), drawPolygon(), GraphicDevice(), and ~GraphicDevice(). |
|
|
Definition at line 115 of file graphic.h. Referenced by allocSeg(), drawPolygon(), and GraphicDevice(). |
|
|
Definition at line 111 of file graphic.h. Referenced by addSegment(), GraphicDevice(), and ~GraphicDevice(). |
|
|
Definition at line 128 of file graphic.h. Referenced by Text::doText(), and GraphicDevice(). |
|
|
Definition at line 89 of file graphic.h. Referenced by getHeight(), GraphicDevice(), and setMovieDimension(). |
|
|
Definition at line 88 of file graphic.h. Referenced by getWidth(), GraphicDevice(), renderScanLine(), and setMovieDimension(). |
|
|
Definition at line 90 of file graphic.h. Referenced by GraphicDevice(), setClipping(), setMovieDimension(), and updateClippingRegion(). |
|
|
Definition at line 112 of file graphic.h. Referenced by addSegment(), drawPolygon(), and GraphicDevice(). |
|
|
Definition at line 112 of file graphic.h. Referenced by addSegment(), drawPolygon(), and GraphicDevice(). |
|
|
Definition at line 93 of file graphic.h. Referenced by GraphicDevice(), setMovieDimension(), setMovieOffset(), and setMovieZoom(). |
1.4.2