DrawHelper.hxx (b9e67834) DrawHelper.hxx (95a18594)
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

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

19 *
20 *************************************************************/
21
22#ifndef SFX_SIDEBAR_DRAW_HELPER_HXX
23#define SFX_SIDEBAR_DRAW_HELPER_HXX
24
25#include "vcl/window.hxx"
26
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

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

19 *
20 *************************************************************/
21
22#ifndef SFX_SIDEBAR_DRAW_HELPER_HXX
23#define SFX_SIDEBAR_DRAW_HELPER_HXX
24
25#include "vcl/window.hxx"
26
27#include <tools/SvBorder.hxx>
27#include <tools/svborder.hxx>
28
28
29
30class Color;
31
32namespace sfx2 { namespace sidebar {
33
34class Paint;
35
36/** Some convenience functions for painting backgrounds and borders.
37*/
38class DrawHelper
39{
40public:
41 static void DrawBorder (
42 OutputDevice& rDevice,
43 const Rectangle rBox,
44 const SvBorder aBorderSize,
45 const Paint& rHorizontalPaint,
46 const Paint& rVerticalPaint);
29class Color;
30
31namespace sfx2 { namespace sidebar {
32
33class Paint;
34
35/** Some convenience functions for painting backgrounds and borders.
36*/
37class DrawHelper
38{
39public:
40 static void DrawBorder (
41 OutputDevice& rDevice,
42 const Rectangle rBox,
43 const SvBorder aBorderSize,
44 const Paint& rHorizontalPaint,
45 const Paint& rVerticalPaint);
46 static void DrawBevelBorder (
47 OutputDevice& rDevice,
48 const Rectangle rBox,
49 const SvBorder aBorderSize,
50 const Paint& rTopLeftPaint,
51 const Paint& rCenterPaint,
52 const Paint& rBottomRightPaint);
47 static void DrawHorizontalLine(
48 OutputDevice& rDevice,
49 const sal_Int32 nLeft,
50 const sal_Int32 nRight,
51 const sal_Int32 nY,
52 const sal_Int32 nHeight,
53 const Paint& rPaint);
54 static void DrawVerticalLine(

--- 18 unchanged lines hidden ---
53 static void DrawHorizontalLine(
54 OutputDevice& rDevice,
55 const sal_Int32 nLeft,
56 const sal_Int32 nRight,
57 const sal_Int32 nY,
58 const sal_Int32 nHeight,
59 const Paint& rPaint);
60 static void DrawVerticalLine(

--- 18 unchanged lines hidden ---