xtablend.cxx (3e407bd8) xtablend.cxx (33b19716)
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

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

189 VirtualDevice aVirtualDevice;
190 const drawinglayer::geometry::ViewInformation2D aNewViewInformation2D;
191
192 aVirtualDevice.SetOutputSizePixel(aSize);
193 aVirtualDevice.SetDrawMode(rStyleSettings.GetHighContrastMode()
194 ? DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL | DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT
195 : DRAWMODE_DEFAULT);
196
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

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

189 VirtualDevice aVirtualDevice;
190 const drawinglayer::geometry::ViewInformation2D aNewViewInformation2D;
191
192 aVirtualDevice.SetOutputSizePixel(aSize);
193 aVirtualDevice.SetDrawMode(rStyleSettings.GetHighContrastMode()
194 ? DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL | DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT
195 : DRAWMODE_DEFAULT);
196
197 if(rStyleSettings.GetUIPreviewUsesCheckeredBackground())
197 if(rStyleSettings.GetPreviewUsesCheckeredBackground())
198 {
199 const Point aNull(0, 0);
200 static const sal_uInt32 nLen(8);
201 static const Color aW(COL_WHITE);
202 static const Color aG(0xef, 0xef, 0xef);
203
204 aVirtualDevice.DrawCheckered(aNull, aSize, nLen, aW, aG);
205 }

--- 28 unchanged lines hidden ---
198 {
199 const Point aNull(0, 0);
200 static const sal_uInt32 nLen(8);
201 static const Color aW(COL_WHITE);
202 static const Color aG(0xef, 0xef, 0xef);
203
204 aVirtualDevice.DrawCheckered(aNull, aSize, nLen, aW, aG);
205 }

--- 28 unchanged lines hidden ---