Lines Matching refs:rContext

168             GraphicsContext& rContext( getCurrentContext() );  in setLineDash()  local
170 comphelper::sequenceToContainer(rContext.DashArray,dashes); in setLineDash()
230 GraphicsContext& rContext( getCurrentContext() ); in strokePath() local
232 aPath.transform( rContext.Transformation ); in strokePath()
234 if( rContext.DashArray.empty() ) in strokePath()
236 ASSERT_TRUE(rContext.LineColor.Alpha == 1.0 && in strokePath()
237 rContext.LineColor.Red == 0.0 && in strokePath()
238 rContext.LineColor.Green == 1.0 && in strokePath()
239 rContext.LineColor.Blue == 0.0) << "Line color is green"; in strokePath()
241 ASSERT_TRUE(rtl::math::approxEqual(rContext.LineWidth, 28.3)) << "Line width is 0"; in strokePath()
250 ASSERT_TRUE(rContext.DashArray.size() == 4 && in strokePath()
251 rtl::math::approxEqual(rContext.DashArray[0],14.3764) && in strokePath()
252 rContext.DashArray[0] == rContext.DashArray[1] && in strokePath()
253 rContext.DashArray[1] == rContext.DashArray[2] && in strokePath()
254rContext.DashArray[2] == rContext.DashArray[3]) << "Dash array cons ists of four entries"; in strokePath()
256 ASSERT_TRUE(rContext.LineColor.Alpha == 1.0 && in strokePath()
257 rContext.LineColor.Red == 0.0 && in strokePath()
258 rContext.LineColor.Green == 0.0 && in strokePath()
259 rContext.LineColor.Blue == 0.0) << "Line color is black"; in strokePath()
261 ASSERT_TRUE(rContext.LineWidth == 0) << "Line width is 0"; in strokePath()
268 … ASSERT_TRUE(rContext.BlendMode == rendering::BlendMode::NORMAL) << "Blend mode is normal"; in strokePath()
269 … ASSERT_TRUE(rContext.LineJoin == rendering::PathJoinType::ROUND) << "Join type is round"; in strokePath()
270 ASSERT_TRUE(rContext.LineCap == rendering::PathCapType::BUTT) << "Cap type is butt"; in strokePath()
271 ASSERT_TRUE(rContext.MiterLimit == 10) << "Line miter limit is 10"; in strokePath()
272 ASSERT_TRUE(rContext.Flatness == 1) << "Flatness is 0"; in strokePath()
273 ASSERT_TRUE(rContext.FontId == 0) << "Font id is 0"; in strokePath()
278 GraphicsContext& rContext( getCurrentContext() ); in fillPath() local
280 aPath.transform( rContext.Transformation ); in fillPath()
282 ASSERT_TRUE(rContext.FillColor.Alpha == 1.0 && in fillPath()
283 rContext.FillColor.Red == 0.0 && in fillPath()
284 rContext.FillColor.Green == 0.0 && in fillPath()
285 rContext.FillColor.Blue == 0.0) << "Fill color is black"; in fillPath()
286 … ASSERT_TRUE(rContext.BlendMode == rendering::BlendMode::NORMAL) << "Blend mode is normal"; in fillPath()
287 ASSERT_TRUE(rContext.Flatness == 10) << "Flatness is 10"; in fillPath()
288 ASSERT_TRUE(rContext.FontId == 0) << "Font id is 0"; in fillPath()
293 GraphicsContext& rContext( getCurrentContext() ); in eoFillPath() local
295 aPath.transform( rContext.Transformation ); in eoFillPath()
297 ASSERT_TRUE(rContext.FillColor.Alpha == 1.0 && in eoFillPath()
298 rContext.FillColor.Red == 1.0 && in eoFillPath()
299 rContext.FillColor.Green == 0.0 && in eoFillPath()
300 rContext.FillColor.Blue == 0.0) << "Fill color is black"; in eoFillPath()
301 … ASSERT_TRUE(rContext.BlendMode == rendering::BlendMode::NORMAL) << "Blend mode is normal"; in eoFillPath()
302 ASSERT_TRUE(rContext.Flatness == 1) << "Flatness is 0"; in eoFillPath()
303 ASSERT_TRUE(rContext.FontId == 0) << "Font id is 0"; in eoFillPath()