fontworkgallery.cxx (35726d9d) fontworkgallery.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

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

132 if(!!aThumb)
133 {
134 VirtualDevice aVDev;
135 const Point aNull(0, 0);
136 const Size aSize(aThumb.GetSizePixel());
137
138 aVDev.SetOutputSizePixel(aSize);
139
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

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

132 if(!!aThumb)
133 {
134 VirtualDevice aVDev;
135 const Point aNull(0, 0);
136 const Size aSize(aThumb.GetSizePixel());
137
138 aVDev.SetOutputSizePixel(aSize);
139
140 if(rStyleSettings.GetUIPreviewUsesCheckeredBackground())
140 if(rStyleSettings.GetPreviewUsesCheckeredBackground())
141 {
142 static const sal_uInt32 nLen(8);
143 static const Color aW(COL_WHITE);
144 static const Color aG(0xef, 0xef, 0xef);
145
146 aVDev.DrawCheckered(aNull, aSize, nLen, aW, aG);
147 }
148 else

--- 672 unchanged lines hidden ---
141 {
142 static const sal_uInt32 nLen(8);
143 static const Color aW(COL_WHITE);
144 static const Color aG(0xef, 0xef, 0xef);
145
146 aVDev.DrawCheckered(aNull, aSize, nLen, aW, aG);
147 }
148 else

--- 672 unchanged lines hidden ---