LibreOffice Module canvas (master) 1
|
Classes | |
class | BitmapCanvasHelper |
Helper class for basic canvas functionality. More... | |
class | CanvasBitmap |
class | CanvasCustomSprite |
class | CanvasFont |
class | CanvasHelper |
Helper class for basic canvas functionality. More... | |
struct | IBufferContext |
class | SpriteCanvas |
Product of this component's factory. More... | |
class | SpriteDeviceHelper |
class | TextLayout |
class | TextureCache |
struct | TransformationPreserver |
Functions | |
void | renderComplexPolyPolygon (const ::basegfx::B2DPolyPolygon &rPolyPoly) |
triangulates polygon before More... | |
void | renderPolyPolygon (const ::basegfx::B2DPolyPolygon &rPolyPoly) |
only use this for line polygons. More... | |
void | setupState (const ::basegfx::B2DHomMatrix &rTransform, GLenum eSrcBlend, GLenum eDstBlend, const rendering::ARGBColor &rColor) |
void | renderOSD (const std::vector< double > &rNumbers, double scale) |
void | setupState (const ::basegfx::B2DHomMatrix &rTransform, GLenum eSrcBlend, GLenum eDstBlend, const com::sun::star::rendering::ARGBColor &rColor) |
static void | setupUniforms (unsigned int nProgramId, const ::basegfx::B2DHomMatrix &rTexTransform) |
static void | setupUniforms (unsigned int nProgramId, const rendering::ARGBColor *pColors, const uno::Sequence< double > &rStops, const ::basegfx::B2DHomMatrix &rTexTransform) |
static void | setupUniforms (unsigned int nProgramId, const rendering::ARGBColor &rStartColor, const rendering::ARGBColor &rEndColor, const ::basegfx::B2DHomMatrix &rTexTransform) |
typedef ::cppu::WeakComponentImplHelper< css::rendering::XBitmapCanvas, css::rendering::XIntegerBitmap > oglcanvas::CanvasBitmapBase_Base |
Definition at line 30 of file ogl_canvasbitmap.hxx.
typedef ::canvas::IntegerBitmapBase< canvas::BitmapCanvasBase2< ::canvas::BaseMutexHelper< CanvasBitmapBase_Base >, BitmapCanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObject> > oglcanvas::CanvasBitmapBaseT |
Definition at line 36 of file ogl_canvasbitmap.hxx.
typedef ::cppu::WeakComponentImplHelper< css::rendering::XCustomSprite, css::rendering::XCanvas > oglcanvas::CanvasCustomSpriteBase_Base |
Definition at line 28 of file ogl_canvascustomsprite.hxx.
typedef ::canvas::CanvasBase< ::canvas::BaseMutexHelper< CanvasCustomSpriteBase_Base >, CanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObject > oglcanvas::CanvasCustomSpriteBaseT |
Definition at line 33 of file ogl_canvascustomsprite.hxx.
typedef ::comphelper::WeakComponentImplHelper< css::rendering::XCanvasFont > oglcanvas::CanvasFontBaseT |
Definition at line 26 of file ogl_canvasfont.hxx.
typedef std::shared_ptr<IBufferContext> oglcanvas::IBufferContextSharedPtr |
Definition at line 32 of file ogl_buffercontext.hxx.
typedef ::canvas::CanvasBase< SpriteCanvasDeviceBaseT, CanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObject > oglcanvas::SpriteCanvasBaseT |
Definition at line 55 of file ogl_spritecanvas.hxx.
Definition at line 50 of file ogl_spritecanvas.hxx.
Definition at line 111 of file ogl_spritecanvas.hxx.
typedef ::comphelper::WeakComponentImplHelper< css::rendering::XTextLayout > oglcanvas::TextLayoutBaseT |
Definition at line 23 of file ogl_textlayout.hxx.
typedef ::cppu::WeakComponentImplHelper< css::rendering::XSpriteCanvas, css::rendering::XGraphicDevice, css::lang::XMultiServiceFactory, css::rendering::XBufferController, css::awt::XWindowListener, css::util::XUpdatable, css::beans::XPropertySet, css::lang::XServiceName > oglcanvas::WindowGraphicDeviceBase_Base |
Definition at line 45 of file ogl_spritecanvas.hxx.
void oglcanvas::renderComplexPolyPolygon | ( | const ::basegfx::B2DPolyPolygon & | rPolyPoly | ) |
triangulates polygon before
Definition at line 27 of file ogl_canvastools.cxx.
References basegfx::B2DPolyPolygon::areControlPointsUsed(), basegfx::B2DPolyPolygon::getB2DRange(), and basegfx::B2DPolyPolygon::getDefaultAdaptiveSubdivision().
void oglcanvas::renderOSD | ( | const std::vector< double > & | rNumbers, |
double | scale | ||
) |
Definition at line 122 of file ogl_canvastools.cxx.
References basegfx::B2DHomMatrix::identity(), basegfx::utils::number2PolyPolygon(), renderPolyPolygon(), basegfx::B2DHomMatrix::scale(), scale, basegfx::B2DHomMatrix::shearX(), basegfx::B2DPolyPolygon::transform(), basegfx::B2DHomMatrix::translate(), and y.
Referenced by oglcanvas::CanvasCustomSprite::renderSprite().
void oglcanvas::renderPolyPolygon | ( | const ::basegfx::B2DPolyPolygon & | rPolyPoly | ) |
only use this for line polygons.
better not leave triangulation to OpenGL. also, ignores texturing
Definition at line 68 of file ogl_canvastools.cxx.
References basegfx::B2DPolyPolygon::areControlPointsUsed(), basegfx::B2DPolyPolygon::count(), basegfx::B2DPolyPolygon::getB2DPolygon(), basegfx::B2DPolyPolygon::getDefaultAdaptiveSubdivision(), and i.
Referenced by renderOSD().
void oglcanvas::setupState | ( | const ::basegfx::B2DHomMatrix & | rTransform, |
GLenum | eSrcBlend, | ||
GLenum | eDstBlend, | ||
const com::sun::star::rendering::ARGBColor & | rColor | ||
) |
void oglcanvas::setupState | ( | const ::basegfx::B2DHomMatrix & | rTransform, |
GLenum | eSrcBlend, | ||
GLenum | eDstBlend, | ||
const rendering::ARGBColor & | rColor | ||
) |
Definition at line 92 of file ogl_canvastools.cxx.
|
static |
Definition at line 383 of file ogl_spritedevicehelper.cxx.
Referenced by setupUniforms(), oglcanvas::SpriteDeviceHelper::useLinearGradientShader(), oglcanvas::SpriteDeviceHelper::useRadialGradientShader(), and oglcanvas::SpriteDeviceHelper::useRectangularGradientShader().
|
static |
Definition at line 439 of file ogl_spritedevicehelper.cxx.
References setupUniforms().
|
static |
Definition at line 398 of file ogl_spritedevicehelper.cxx.
References setupUniforms().