Lines Matching refs:poly
59 ::basegfx::B2DPolygon poly; in calcSnake()
60 poly.append( ::basegfx::B2DPoint( 0.0, 0.0 ) ); in calcSnake()
61 poly.append( ::basegfx::B2DPoint( 0.0, line ) ); in calcSnake()
62 poly.append( ::basegfx::B2DPoint( 1.0, line ) ); in calcSnake()
63 poly.append( ::basegfx::B2DPoint( 1.0, 0.0 ) ); in calcSnake()
64 poly.setClosed(true); in calcSnake()
65 res.append(poly); in calcSnake()
74 ::basegfx::B2DPolygon poly; in calcSnake()
75 poly.append( ::basegfx::B2DPoint( offset, line ) ); in calcSnake()
76 poly.append( ::basegfx::B2DPoint( offset, in calcSnake()
78 poly.append( ::basegfx::B2DPoint( offset + col, in calcSnake()
80 poly.append( ::basegfx::B2DPoint( offset + col, line ) ); in calcSnake()
81 poly.setClosed(true); in calcSnake()
82 res.append(poly); in calcSnake()
99 ::basegfx::B2DPolygon poly; in calcHalfDiagonalSnake()
101 poly.append( ::basegfx::B2DPoint( 0.0, 0.0 ) ); in calcHalfDiagonalSnake()
102 poly.append( ::basegfx::B2DPoint( 0.0, edge ) ); in calcHalfDiagonalSnake()
103 poly.append( ::basegfx::B2DPoint( edge, 0.0 ) ); in calcHalfDiagonalSnake()
104 poly.setClosed(true); in calcHalfDiagonalSnake()
105 res.append(poly); in calcHalfDiagonalSnake()
111 poly.clear(); in calcHalfDiagonalSnake()
112 poly.append( ::basegfx::B2DPoint( 0.0, 0.0 ) ); in calcHalfDiagonalSnake()
113 poly.append( ::basegfx::B2DPoint( 0.0, height ) ); in calcHalfDiagonalSnake()
114 poly.append( ::basegfx::B2DPoint( len + a, height ) ); in calcHalfDiagonalSnake()
115 poly.append( ::basegfx::B2DPoint( len + a, 0.0 ) ); in calcHalfDiagonalSnake()
116 poly.setClosed(true); in calcHalfDiagonalSnake()
132 poly.transform( aTransform ); in calcHalfDiagonalSnake()
133 res.append(poly); in calcHalfDiagonalSnake()
142 ::basegfx::B2DPolygon poly; in calcHalfDiagonalSnake()
144 poly.append( ::basegfx::B2DPoint( 0.0, 1.0 ) ); in calcHalfDiagonalSnake()
145 poly.append( ::basegfx::B2DPoint( edge, 1.0 ) ); in calcHalfDiagonalSnake()
146 poly.append( ::basegfx::B2DPoint( 1.0, edge ) ); in calcHalfDiagonalSnake()
147 poly.append( ::basegfx::B2DPoint( 1.0, 0.0 ) ); in calcHalfDiagonalSnake()
148 poly.setClosed(true); in calcHalfDiagonalSnake()
149 res.append(poly); in calcHalfDiagonalSnake()
155 poly.clear(); in calcHalfDiagonalSnake()
156 poly.append( ::basegfx::B2DPoint( 0.0, 0.0 ) ); in calcHalfDiagonalSnake()
157 poly.append( ::basegfx::B2DPoint( 0.0, height ) ); in calcHalfDiagonalSnake()
158 poly.append( ::basegfx::B2DPoint( len + a, height ) ); in calcHalfDiagonalSnake()
159 poly.append( ::basegfx::B2DPoint( len + a, 0.0 ) ); in calcHalfDiagonalSnake()
160 poly.setClosed(true); in calcHalfDiagonalSnake()
175 poly.transform( aTransform ); in calcHalfDiagonalSnake()
176 res.append(poly); in calcHalfDiagonalSnake()