salmisc.cxx (9f62ea84) salmisc.cxx (5f27b83c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 274 unchanged lines hidden (view full) ---

283}
284
285// -----------------------------------------------------------------------------
286
287// ---------------------
288// - StretchAndConvert -
289// ---------------------
290
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 274 unchanged lines hidden (view full) ---

283}
284
285// -----------------------------------------------------------------------------
286
287// ---------------------
288// - StretchAndConvert -
289// ---------------------
290
291BitmapBuffer* StretchAndConvert( const BitmapBuffer& rSrcBuffer, const SalTwoRect& rTwoRect,
292 sal_uLong nDstBitmapFormat, BitmapPalette* pDstPal, ColorMask* pDstMask )
291BitmapBuffer* StretchAndConvert(
292 const BitmapBuffer& rSrcBuffer, const SalTwoRect& rTwoRect,
293 sal_uLong nDstBitmapFormat, const BitmapPalette* pDstPal, const ColorMask* pDstMask )
293{
294 FncGetPixel pFncGetPixel;
295 FncSetPixel pFncSetPixel;
296 BitmapBuffer* pDstBuffer = new BitmapBuffer;
297 long i;
298
299 // set function for getting pixels
300 switch( BMP_SCANLINE_FORMAT( rSrcBuffer.mnFormat ) )

--- 212 unchanged lines hidden ---
294{
295 FncGetPixel pFncGetPixel;
296 FncSetPixel pFncSetPixel;
297 BitmapBuffer* pDstBuffer = new BitmapBuffer;
298 long i;
299
300 // set function for getting pixels
301 switch( BMP_SCANLINE_FORMAT( rSrcBuffer.mnFormat ) )

--- 212 unchanged lines hidden ---