Lines Matching refs:rendering

101                              rendering::XGraphicDevice* pDevice )  in init()
141 void CanvasHelper::useStates( const rendering::ViewState& viewState, in useStates()
142 const rendering::RenderState& renderState, in useStates()
183 case rendering::CompositeOperation::CLEAR: in useStates()
186 case rendering::CompositeOperation::SOURCE: in useStates()
189 case rendering::CompositeOperation::DESTINATION: in useStates()
192 case rendering::CompositeOperation::OVER: in useStates()
195 case rendering::CompositeOperation::UNDER: in useStates()
198 case rendering::CompositeOperation::INSIDE: in useStates()
201 case rendering::CompositeOperation::INSIDE_REVERSE: in useStates()
204 case rendering::CompositeOperation::OUTSIDE: in useStates()
207 case rendering::CompositeOperation::OUTSIDE_REVERSE: in useStates()
210 case rendering::CompositeOperation::ATOP: in useStates()
213 case rendering::CompositeOperation::ATOP_REVERSE: in useStates()
216 case rendering::CompositeOperation::XOR: in useStates()
219 case rendering::CompositeOperation::ADD: in useStates()
222 case rendering::CompositeOperation::SATURATE: in useStates()
254 void CanvasHelper::drawPoint( const rendering::XCanvas* , in drawPoint()
256 const rendering::ViewState& , in drawPoint()
257 const rendering::RenderState& ) in drawPoint()
261 void CanvasHelper::drawLine( const rendering::XCanvas* /*pCanvas*/, in drawLine()
264 const rendering::ViewState& viewState, in drawLine()
265 const rendering::RenderState& renderState ) in drawLine()
282 void CanvasHelper::drawBezier( const rendering::XCanvas* , in drawBezier()
285 const rendering::ViewState& viewState, in drawBezier()
286 const rendering::RenderState& renderState ) in drawBezier()
319 … static SurfaceSharedPtr surfaceFromXBitmap( const uno::Reference< rendering::XBitmap >& xBitmap ) in surfaceFromXBitmap()
332 static ::BitmapEx bitmapExFromXBitmap( const uno::Reference< rendering::XBitmap >& xBitmap ) in bitmapExFromXBitmap()
335 uno::Reference<rendering::XIntegerReadOnlyBitmap> xIntBmp(xBitmap, in bitmapExFromXBitmap()
401 …static SurfaceSharedPtr surfaceFromXBitmap( const uno::Reference< rendering::XBitmap >& xBitmap, c… in surfaceFromXBitmap()
738 const uno::Sequence< rendering::Texture >* pTextures, in doOperation()
746 const ::com::sun::star::rendering::Texture& aTexture ( (*pTextures)[0] ); in doOperation()
773 if( aTexture.RepeatModeX == rendering::TexturingMode::REPEAT && in doOperation()
774 aTexture.RepeatModeY == rendering::TexturingMode::REPEAT ) in doOperation()
778 else if ( aTexture.RepeatModeX == rendering::TexturingMode::NONE && in doOperation()
779 aTexture.RepeatModeY == rendering::TexturingMode::NONE ) in doOperation()
783 else if ( aTexture.RepeatModeX == rendering::TexturingMode::CLAMP && in doOperation()
784 aTexture.RepeatModeY == rendering::TexturingMode::CLAMP ) in doOperation()
933 const uno::Sequence< rendering::Texture >* pTextures, in doPolyPolygonImplementation()
935 rendering::FillRule eFillrule ) in doPolyPolygonImplementation()
950 eFillrule == rendering::FillRule_EVEN_ODD ? in doPolyPolygonImplementation()
1041 …void CanvasHelper::doPolyPolygonPath( const uno::Reference< rendering::XPolyPolygon2D >& xPolyPoly… in doPolyPolygonPath()
1044 const uno::Sequence< rendering::Texture >* pTextures, in doPolyPolygonPath()
1096 …uno::Reference< rendering::XCachedPrimitive > CanvasHelper::drawPolyPolygon( const rendering::XCan… in drawPolyPolygon()
1097 … const uno::Reference< rendering::XPolyPolygon2D >& xPolyPolygon, in drawPolyPolygon()
1098 … const rendering::ViewState& viewState, in drawPolyPolygon()
1099 … const rendering::RenderState& renderState ) in drawPolyPolygon()
1122 return uno::Reference< rendering::XCachedPrimitive >(NULL); in drawPolyPolygon()
1125 …uno::Reference< rendering::XCachedPrimitive > CanvasHelper::strokePolyPolygon( const rendering::XC… in strokePolyPolygon()
1126 … const uno::Reference< rendering::XPolyPolygon2D >& xPolyPolygon, in strokePolyPolygon()
1127 … const rendering::ViewState& viewState, in strokePolyPolygon()
1128 … const rendering::RenderState& renderState, in strokePolyPolygon()
1129 … const rendering::StrokeAttributes& strokeAttributes ) in strokePolyPolygon()
1151 case rendering::PathCapType::BUTT: in strokePolyPolygon()
1154 case rendering::PathCapType::ROUND: in strokePolyPolygon()
1157 case rendering::PathCapType::SQUARE: in strokePolyPolygon()
1166 case rendering::PathJoinType::NONE: in strokePolyPolygon()
1168 case rendering::PathJoinType::MITER: in strokePolyPolygon()
1171 case rendering::PathJoinType::ROUND: in strokePolyPolygon()
1174 case rendering::PathJoinType::BEVEL: in strokePolyPolygon()
1200 return uno::Reference< rendering::XCachedPrimitive >(NULL); in strokePolyPolygon()
1203 …uno::Reference< rendering::XCachedPrimitive > CanvasHelper::strokeTexturedPolyPolygon( const rende… in strokeTexturedPolyPolygon()
1204 … const uno::Reference< rendering::XPolyPolygon2D >& /*xPolyPolygon*/, in strokeTexturedPolyPolygon()
1205 … const rendering::ViewState& /*viewState*/, in strokeTexturedPolyPolygon()
1206 … const rendering::RenderState& /*renderState*/, in strokeTexturedPolyPolygon()
1207 … const uno::Sequence< rendering::Texture >& /*textures*/, in strokeTexturedPolyPolygon()
1208 … const rendering::StrokeAttributes& /*strokeAttributes*/ ) in strokeTexturedPolyPolygon()
1211 return uno::Reference< rendering::XCachedPrimitive >(NULL); in strokeTexturedPolyPolygon()
1214 …uno::Reference< rendering::XCachedPrimitive > CanvasHelper::strokeTextureMappedPolyPolygon( const in strokeTextureMappedPolyPolygon()
1215 … const uno::Reference< rendering::XPolyPolygon2D >& /*xPolyPolygon*/, in strokeTextureMappedPolyPolygon()
1216 … const rendering::ViewState& /*viewState*/, in strokeTextureMappedPolyPolygon()
1217 … const rendering::RenderState& /*renderState*/, in strokeTextureMappedPolyPolygon()
1218 … const uno::Sequence< rendering::Texture >& /*textures*/, in strokeTextureMappedPolyPolygon()
1220 … const rendering::StrokeAttributes& /*strokeAttributes*/ ) in strokeTextureMappedPolyPolygon()
1223 return uno::Reference< rendering::XCachedPrimitive >(NULL); in strokeTextureMappedPolyPolygon()
1226 …uno::Reference< rendering::XPolyPolygon2D > CanvasHelper::queryStrokeShapes( const rendering::XC… in queryStrokeShapes()
1227 … const uno::Reference< rendering::XPolyPolygon2D >& /*xPolyPolygon*/, in queryStrokeShapes()
1228 … const rendering::ViewState& /*viewState*/, in queryStrokeShapes()
1229 … const rendering::RenderState& /*renderState*/, in queryStrokeShapes()
1230 … const rendering::StrokeAttributes& /*strokeAttributes*/ ) in queryStrokeShapes()
1233 return uno::Reference< rendering::XPolyPolygon2D >(NULL); in queryStrokeShapes()
1236 …uno::Reference< rendering::XCachedPrimitive > CanvasHelper::fillPolyPolygon( const rendering::XCan… in fillPolyPolygon()
1237 … const uno::Reference< rendering::XPolyPolygon2D >& xPolyPolygon, in fillPolyPolygon()
1238 … const rendering::ViewState& viewState, in fillPolyPolygon()
1239 … const rendering::RenderState& renderState ) in fillPolyPolygon()
1260 return uno::Reference< rendering::XCachedPrimitive >(NULL); in fillPolyPolygon()
1263 …uno::Reference< rendering::XCachedPrimitive > CanvasHelper::fillTexturedPolyPolygon( const renderi… in fillTexturedPolyPolygon()
1264 … const uno::Reference< rendering::XPolyPolygon2D >& xPolyPolygon, in fillTexturedPolyPolygon()
1265 … const rendering::ViewState& viewState, in fillTexturedPolyPolygon()
1266 … const rendering::RenderState& renderState, in fillTexturedPolyPolygon()
1267 … const uno::Sequence< rendering::Texture >& textures ) in fillTexturedPolyPolygon()
1278 return uno::Reference< rendering::XCachedPrimitive >(NULL); in fillTexturedPolyPolygon()
1281 …uno::Reference< rendering::XCachedPrimitive > CanvasHelper::fillTextureMappedPolyPolygon( const re… in fillTextureMappedPolyPolygon()
1282 … const uno::Reference< rendering::XPolyPolygon2D >& /*xPolyPolygon*/, in fillTextureMappedPolyPolygon()
1283 … const rendering::ViewState& /*viewState*/, in fillTextureMappedPolyPolygon()
1284 … const rendering::RenderState& /*renderState*/, in fillTextureMappedPolyPolygon()
1285 … const uno::Sequence< rendering::Texture >& /*textures*/, in fillTextureMappedPolyPolygon()
1289 return uno::Reference< rendering::XCachedPrimitive >(NULL); in fillTextureMappedPolyPolygon()
1292 …uno::Reference< rendering::XCachedPrimitive > CanvasHelper::implDrawBitmapSurface( const rendering in implDrawBitmapSurface()
1294 const rendering::ViewState& viewState, in implDrawBitmapSurface()
1295 const rendering::RenderState& renderState, in implDrawBitmapSurface()
1301 …uno::Reference< rendering::XCachedPrimitive > rv = uno::Reference< rendering::XCachedPrimitive >(N… in implDrawBitmapSurface()
1348 rv = uno::Reference< rendering::XCachedPrimitive >( in implDrawBitmapSurface()
1354 const_cast< rendering::XCanvas* >(pCanvas)) ); in implDrawBitmapSurface()
1409 …uno::Reference< rendering::XCachedPrimitive > CanvasHelper::drawBitmap( const rendering::XCanvas* … in drawBitmap()
1410 … const uno::Reference< rendering::XBitmap >& xBitmap, in drawBitmap()
1411 … const rendering::ViewState& viewState, in drawBitmap()
1412 … const rendering::RenderState& renderState ) in drawBitmap()
1419 uno::Reference< rendering::XCachedPrimitive > rv; in drawBitmap()
1431 rv = uno::Reference< rendering::XCachedPrimitive >(NULL); in drawBitmap()
1440 …uno::Reference< rendering::XCachedPrimitive > CanvasHelper::drawBitmapModulated( const rendering::… in drawBitmapModulated()
1441 … const uno::Reference< rendering::XBitmap >& xBitmap, in drawBitmapModulated()
1442 … const rendering::ViewState& viewState, in drawBitmapModulated()
1443 … const rendering::RenderState& renderState ) in drawBitmapModulated()
1450 uno::Reference< rendering::XCachedPrimitive > rv; in drawBitmapModulated()
1462 rv = uno::Reference< rendering::XCachedPrimitive >(NULL); in drawBitmapModulated()
1471 uno::Reference< rendering::XGraphicDevice > CanvasHelper::getDevice() in getDevice()
1473 return uno::Reference< rendering::XGraphicDevice >(mpDevice); in getDevice()
1476 void CanvasHelper::copyRect( const rendering::XCanvas* , in copyRect()
1477 … const uno::Reference< rendering::XBitmapCanvas >& /*sourceCanvas*/, in copyRect()
1479 const rendering::ViewState& /*sourceViewState*/, in copyRect()
1480 const rendering::RenderState& /*sourceRenderState*/, in copyRect()
1482 const rendering::ViewState& /*destViewState*/, in copyRect()
1483 const rendering::RenderState& /*destRenderState*/ ) in copyRect()
1496 …uno::Reference< rendering::XBitmap > CanvasHelper::getScaledBitmap( const geometry::RealSize2D& ne… in getScaledBitmap()
1505 …return uno::Reference< rendering::XBitmap >( new CanvasBitmap( ::basegfx::B2ISize( ::canvas::tools… in getScaledBitmap()
1515 return uno::Reference< rendering::XBitmap >(); in getScaledBitmap()
1518 uno::Sequence< sal_Int8 > CanvasHelper::getData( rendering::IntegerBitmapLayout& aLayout, in getData()
1548 const rendering::IntegerBitmapLayout& /*bitmapLayout*/, in setData()
1554 const rendering::IntegerBitmapLayout& /*bitmapLayout*/, in setPixel()
1559 …uno::Sequence< sal_Int8 > CanvasHelper::getPixel( rendering::IntegerBitmapLayout& /*bitmapLayout… in getPixel()
1565 uno::Reference< rendering::XBitmapPalette > CanvasHelper::getPalette() in getPalette()
1568 return uno::Reference< rendering::XBitmapPalette >(); in getPalette()
1573 …class CairoColorSpace : public cppu::WeakImplHelper1< com::sun::star::rendering::XIntegerBitmapCol…
1581 return rendering::ColorSpaceType::RGB; in getType()
1589 return rendering::RenderingIntent::PERCEPTUAL; in getRenderingIntent()
1596 …const uno::Reference< rendering::XColorSpace >& targetColorSpace ) throw (lang::IllegalArgumentExc… in convertColorSpace()
1601 uno::Sequence<rendering::ARGBColor> aIntermediate( in convertColorSpace()
1605 …virtual uno::Sequence< rendering::RGBColor > SAL_CALL convertToRGB( const uno::Sequence< double >&… in convertToRGB()
1611 static_cast<rendering::XColorSpace*>(this), 0); in convertToRGB()
1613 uno::Sequence< rendering::RGBColor > aRes(nLen/4); in convertToRGB()
1614 rendering::RGBColor* pOut( aRes.getArray() ); in convertToRGB()
1619 *pOut++ = rendering::RGBColor(0.0, 0.0, 0.0); in convertToRGB()
1621 *pOut++ = rendering::RGBColor(pIn[2]/fAlpha,pIn[1]/fAlpha,pIn[0]/fAlpha); in convertToRGB()
1626 …virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertToARGB( const uno::Sequence< double … in convertToARGB()
1632 static_cast<rendering::XColorSpace*>(this), 0); in convertToARGB()
1634 uno::Sequence< rendering::ARGBColor > aRes(nLen/4); in convertToARGB()
1635 rendering::ARGBColor* pOut( aRes.getArray() ); in convertToARGB()
1640 *pOut++ = rendering::ARGBColor(0.0, 0.0, 0.0, 0.0); in convertToARGB()
1642 … *pOut++ = rendering::ARGBColor(fAlpha,pIn[2]/fAlpha,pIn[1]/fAlpha,pIn[0]/fAlpha); in convertToARGB()
1647 …virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertToPARGB( const uno::Sequence< double… in convertToPARGB()
1653 static_cast<rendering::XColorSpace*>(this), 0); in convertToPARGB()
1655 uno::Sequence< rendering::ARGBColor > aRes(nLen/4); in convertToPARGB()
1656 rendering::ARGBColor* pOut( aRes.getArray() ); in convertToPARGB()
1659 *pOut++ = rendering::ARGBColor(pIn[3],pIn[2],pIn[1],pIn[1]); in convertToPARGB()
1664 …virtual uno::Sequence< double > SAL_CALL convertFromRGB( const uno::Sequence< rendering::RGBColor … in convertFromRGB()
1666 const rendering::RGBColor* pIn( rgbColor.getConstArray() ); in convertFromRGB()
1681 … uno::Sequence< double > SAL_CALL convertFromARGB( const uno::Sequence< rendering::ARGBColor >& rg… in convertFromARGB()
1683 const rendering::ARGBColor* pIn( rgbColor.getConstArray() ); in convertFromARGB()
1698 …uno::Sequence< double > SAL_CALL convertFromPARGB( const uno::Sequence< rendering::ARGBColor >& rg… in convertFromPARGB()
1700 const rendering::ARGBColor* pIn( rgbColor.getConstArray() ); in convertFromPARGB()
1730 …const uno::Reference< rendering::XColorSpace >& targetColorSpace ) throw (lang::IllegalArgumentExc… in convertFromIntegerColorSpace()
1739 static_cast<rendering::XColorSpace*>(this), 0); in convertFromIntegerColorSpace()
1756 uno::Sequence<rendering::ARGBColor> aIntermediate( in convertFromIntegerColorSpace()
1762 …const uno::Reference< rendering::XIntegerBitmapColorSpace >& targetColorSpace ) throw (lang::Illeg… in convertToIntegerColorSpace()
1774 uno::Sequence<rendering::ARGBColor> aIntermediate( in convertToIntegerColorSpace()
1779 …virtual uno::Sequence< rendering::RGBColor > SAL_CALL convertIntegerToRGB( const uno::Sequence< ::… in convertIntegerToRGB()
1785 static_cast<rendering::XColorSpace*>(this), 0); in convertIntegerToRGB()
1787 uno::Sequence< rendering::RGBColor > aRes(nLen/4); in convertIntegerToRGB()
1788 rendering::RGBColor* pOut( aRes.getArray() ); in convertIntegerToRGB()
1793 *pOut++ = rendering::RGBColor( in convertIntegerToRGB()
1798 *pOut++ = rendering::RGBColor(0,0,0); in convertIntegerToRGB()
1804 …virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertIntegerToARGB( const uno::Sequence< … in convertIntegerToARGB()
1810 static_cast<rendering::XColorSpace*>(this), 0); in convertIntegerToARGB()
1812 uno::Sequence< rendering::ARGBColor > aRes(nLen/4); in convertIntegerToARGB()
1813 rendering::ARGBColor* pOut( aRes.getArray() ); in convertIntegerToARGB()
1818 *pOut++ = rendering::ARGBColor( in convertIntegerToARGB()
1824 *pOut++ = rendering::ARGBColor(0,0,0,0); in convertIntegerToARGB()
1829 …virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertIntegerToPARGB( const uno::Sequence<… in convertIntegerToPARGB()
1835 static_cast<rendering::XColorSpace*>(this), 0); in convertIntegerToPARGB()
1837 uno::Sequence< rendering::ARGBColor > aRes(nLen/4); in convertIntegerToPARGB()
1838 rendering::ARGBColor* pOut( aRes.getArray() ); in convertIntegerToPARGB()
1841 *pOut++ = rendering::ARGBColor( in convertIntegerToPARGB()
1851 …ence< ::sal_Int8 > SAL_CALL convertIntegerFromRGB( const uno::Sequence< rendering::RGBColor >& rgb… in convertIntegerFromRGB()
1853 const rendering::RGBColor* pIn( rgbColor.getConstArray() ); in convertIntegerFromRGB()
1869 …nce< ::sal_Int8 > SAL_CALL convertIntegerFromARGB( const uno::Sequence< rendering::ARGBColor >& rg… in convertIntegerFromARGB()
1871 const rendering::ARGBColor* pIn( rgbColor.getConstArray() ); in convertIntegerFromARGB()
1887 …ce< ::sal_Int8 > SAL_CALL convertIntegerFromPARGB( const uno::Sequence< rendering::ARGBColor >& rg… in convertIntegerFromPARGB()
1889 const rendering::ARGBColor* pIn( rgbColor.getConstArray() ); in convertIntegerFromPARGB()
1912 pTags[0] = rendering::ColorComponentTag::RGB_BLUE; in CairoColorSpace()
1913 pTags[1] = rendering::ColorComponentTag::RGB_GREEN; in CairoColorSpace()
1914 pTags[2] = rendering::ColorComponentTag::RGB_RED; in CairoColorSpace()
1915 pTags[3] = rendering::ColorComponentTag::PREMULTIPLIED_ALPHA; in CairoColorSpace()
1924 …struct CairoColorSpaceHolder : public rtl::StaticWithInit<uno::Reference<rendering::XIntegerBitmap…
1927 uno::Reference<rendering::XIntegerBitmapColorSpace> operator()() in operator ()()
1934 rendering::IntegerBitmapLayout CanvasHelper::getMemoryLayout() in getMemoryLayout()
1937 return rendering::IntegerBitmapLayout(); // we're disposed in getMemoryLayout()
1940 rendering::IntegerBitmapLayout aLayout; in getMemoryLayout()
1963 const rendering::ViewState& viewState, in repaint()
1964 const rendering::RenderState& renderState ) in repaint()