Lines Matching refs:pCairo
121 static void setColor( Cairo* pCairo, in setColor() argument
128 cairo_set_source_rgba( pCairo, in setColor()
135 cairo_set_source_rgb( pCairo, in setColor()
737 Cairo* pCairo, in doOperation() argument
755 cairo_save( pCairo ); in doOperation()
793 cairo_set_source( pCairo, pPattern ); in doOperation()
795 cairo_set_operator( pCairo, CAIRO_OPERATOR_SOURCE ); in doOperation()
796 cairo_fill( pCairo ); in doOperation()
798 cairo_restore( pCairo ); in doOperation()
827 cairo_save( pCairo ); in doOperation()
828 cairo_clip( pCairo ); in doOperation()
831 cairo_rectangle( pCairo, rBounds.getMinX(), rBounds.getMinY(), in doOperation()
833 setColor(pCairo,pPolyImpl->getValues().maColors[0]); in doOperation()
834 cairo_fill(pCairo); in doOperation()
836 cairo_transform( pCairo, &aTextureMatrix ); in doOperation()
865 setColor(pCairo, lerp(pColors[nIndex], pColors[nIndex+1], fAlpha)); in doOperation()
866 cairo_rectangle( pCairo, -1+fT, -1+fT, 2-2*fT, 2-2*fT ); in doOperation()
867 cairo_fill(pCairo); in doOperation()
870 cairo_restore( pCairo ); in doOperation()
879 cairo_save( pCairo ); in doOperation()
881 cairo_transform( pCairo, &aTextureMatrix ); in doOperation()
882 cairo_set_source( pCairo, pPattern ); in doOperation()
883 cairo_fill( pCairo ); in doOperation()
884 cairo_restore( pCairo ); in doOperation()
892 cairo_fill( pCairo ); in doOperation()
896 cairo_stroke( pCairo ); in doOperation()
900 cairo_clip( pCairo ); in doOperation()
906 static void clipNULL( Cairo *pCairo ) in clipNULL() argument
917 cairo_get_matrix( pCairo, &aOrigMatrix ); in clipNULL()
918 cairo_set_matrix( pCairo, &aIdentityMatrix ); in clipNULL()
920 cairo_reset_clip( pCairo ); in clipNULL()
921 cairo_rectangle( pCairo, 0, 0, 1, 1 ); in clipNULL()
922 cairo_clip( pCairo ); in clipNULL()
923 cairo_rectangle( pCairo, 2, 0, 1, 1 ); in clipNULL()
924 cairo_clip( pCairo ); in clipNULL()
927 cairo_set_matrix( pCairo, &aOrigMatrix ); in clipNULL()
932 Cairo* pCairo, in doPolyPolygonImplementation() argument
945 cairo_get_matrix( pCairo, &aOrigMatrix ); in doPolyPolygonImplementation()
947 cairo_set_matrix( pCairo, &aIdentityMatrix ); in doPolyPolygonImplementation()
949 cairo_set_fill_rule( pCairo, in doPolyPolygonImplementation()
985 cairo_move_to( pCairo, nX, nY ); in doPolyPolygonImplementation()
1006 cairo_curve_to( pCairo, nAX, nAY, nBX, nBY, nX, nY ); in doPolyPolygonImplementation()
1008 cairo_line_to( pCairo, nX, nY ); in doPolyPolygonImplementation()
1016 cairo_close_path( pCairo ); in doPolyPolygonImplementation()
1019 cairo_set_matrix( pCairo, &aOrigMatrix ); in doPolyPolygonImplementation()
1020 doOperation( aOperation, pCairo, pTextures, pDevice, aPolyPolygon.getB2DRange() ); in doPolyPolygonImplementation()
1021 cairo_set_matrix( pCairo, &aIdentityMatrix ); in doPolyPolygonImplementation()
1026 clipNULL( pCairo ); in doPolyPolygonImplementation()
1033 doOperation( aOperation, pCairo, pTextures, pDevice, aPolyPolygon.getB2DRange() ); in doPolyPolygonImplementation()
1035 cairo_set_matrix( pCairo, &aOrigMatrix ); in doPolyPolygonImplementation()
1038 clipNULL( pCairo ); in doPolyPolygonImplementation()
1045 Cairo* pCairo ) const in doPolyPolygonPath()
1050 if( !pCairo ) in doPolyPolygonPath()
1051 pCairo = mpCairo.get(); in doPolyPolygonPath()
1077 pCairo, pTextures, in doPolyPolygonPath()
1090 pCairo, pTextures, in doPolyPolygonPath()
1335 CairoSharedPtr pCairo = pScaledSurface->getCairo(); in implDrawBitmapSurface() local
1337 cairo_set_operator( pCairo.get(), CAIRO_OPERATOR_SOURCE ); in implDrawBitmapSurface()
1339 cairo_scale( pCairo.get(), (dWidth+0.5)/rSize.Width, (dHeight+0.5)/rSize.Height ); in implDrawBitmapSurface()
1340 cairo_set_source_surface( pCairo.get(), pSurface->getCairoSurface().get(), 0, 0 ); in implDrawBitmapSurface()
1341 cairo_paint( pCairo.get() ); in implDrawBitmapSurface()
1531 cairo_t* pCairo = cairo_create( pImageSurface ); in getData() local
1532 … cairo_set_source_surface( pCairo, mpSurface->getCairoSurface().get(), -rect.X1, -rect.Y1); in getData()
1533 cairo_paint( pCairo ); in getData()
1534 cairo_destroy( pCairo ); in getData()