xtabhtch.cxx (3e407bd8) | xtabhtch.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 --- 193 unchanged lines hidden (view full) --- 202 VirtualDevice aVirtualDevice; 203 const drawinglayer::geometry::ViewInformation2D aNewViewInformation2D; 204 205 aVirtualDevice.SetOutputSizePixel(rSize); 206 aVirtualDevice.SetDrawMode(rStyleSettings.GetHighContrastMode() 207 ? DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL | DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT 208 : DRAWMODE_DEFAULT); 209 | 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 --- 193 unchanged lines hidden (view full) --- 202 VirtualDevice aVirtualDevice; 203 const drawinglayer::geometry::ViewInformation2D aNewViewInformation2D; 204 205 aVirtualDevice.SetOutputSizePixel(rSize); 206 aVirtualDevice.SetDrawMode(rStyleSettings.GetHighContrastMode() 207 ? DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL | DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT 208 : DRAWMODE_DEFAULT); 209 |
210 if(rStyleSettings.GetUIPreviewUsesCheckeredBackground()) | 210 if(rStyleSettings.GetPreviewUsesCheckeredBackground()) |
211 { 212 const Point aNull(0, 0); 213 static const sal_uInt32 nLen(8); 214 static const Color aW(COL_WHITE); 215 static const Color aG(0xef, 0xef, 0xef); 216 217 aVirtualDevice.DrawCheckered(aNull, rSize, nLen, aW, aG); 218 } --- 31 unchanged lines hidden --- | 211 { 212 const Point aNull(0, 0); 213 static const sal_uInt32 nLen(8); 214 static const Color aW(COL_WHITE); 215 static const Color aG(0xef, 0xef, 0xef); 216 217 aVirtualDevice.DrawCheckered(aNull, rSize, nLen, aW, aG); 218 } --- 31 unchanged lines hidden --- |