sdrconnectorprimitive2d.cxx (f6e50924) sdrconnectorprimitive2d.cxx (64b14621)
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

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

46
47 // add line
48 if(getSdrLSTAttribute().getLine().isDefault())
49 {
50 // create invisible line for HitTest/BoundRect
51 appendPrimitive2DReferenceToPrimitive2DSequence(aRetval,
52 createHiddenGeometryPrimitives2D(
53 false,
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

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

46
47 // add line
48 if(getSdrLSTAttribute().getLine().isDefault())
49 {
50 // create invisible line for HitTest/BoundRect
51 appendPrimitive2DReferenceToPrimitive2DSequence(aRetval,
52 createHiddenGeometryPrimitives2D(
53 false,
54 basegfx::B2DPolyPolygon(getUnitPolygon())));
55 }
56 else
57 {
58 appendPrimitive2DReferenceToPrimitive2DSequence(aRetval,
54 basegfx::B2DPolyPolygon(getUnitPolygon())));
55 }
56 else
57 {
58 appendPrimitive2DReferenceToPrimitive2DSequence(aRetval,
59 createPolygonLinePrimitive(
60 getUnitPolygon(),
59 createPolygonLinePrimitive(
60 getUnitPolygon(),
61 basegfx::B2DHomMatrix(),
62 getSdrLSTAttribute().getLine(),
63 getSdrLSTAttribute().getLineStartEnd()));
64 }
65
66 // add text
67 if(!getSdrLSTAttribute().getText().isDefault())
68 {
69 appendPrimitive2DReferenceToPrimitive2DSequence(aRetval,

--- 51 unchanged lines hidden ---
61 getSdrLSTAttribute().getLine(),
62 getSdrLSTAttribute().getLineStartEnd()));
63 }
64
65 // add text
66 if(!getSdrLSTAttribute().getText().isDefault())
67 {
68 appendPrimitive2DReferenceToPrimitive2DSequence(aRetval,

--- 51 unchanged lines hidden ---