Lines Matching refs:black_path
310 FPDF_PAGEOBJECT black_path = FPDFPageObj_CreateNewPath(400, 100); in TEST_F() local
311 EXPECT_TRUE(FPDFPath_SetFillColor(black_path, 0, 0, 0, 200)); in TEST_F()
312 EXPECT_TRUE(FPDFPath_SetDrawMode(black_path, FPDF_FILLMODE_ALTERNATE, 0)); in TEST_F()
313 EXPECT_TRUE(FPDFPath_LineTo(black_path, 400, 200)); in TEST_F()
314 EXPECT_TRUE(FPDFPath_LineTo(black_path, 300, 100)); in TEST_F()
315 EXPECT_TRUE(FPDFPath_Close(black_path)); in TEST_F()
319 ASSERT_EQ(3, FPDFPath_CountSegments(black_path)); in TEST_F()
321 segment = FPDFPath_GetPathSegment(black_path, 0); in TEST_F()
327 segment = FPDFPath_GetPathSegment(black_path, 1); in TEST_F()
333 segment = FPDFPath_GetPathSegment(black_path, 2); in TEST_F()
340 EXPECT_EQ(nullptr, FPDFPath_GetPathSegment(black_path, 3)); in TEST_F()
342 FPDFPage_InsertObject(page, black_path); in TEST_F()
412 FPDF_PAGEOBJECT black_path = FPDFPageObj_CreateNewPath(20, 50); in TEST_F() local
413 EXPECT_TRUE(FPDFPath_SetFillColor(black_path, 0, 0, 0, 100)); in TEST_F()
414 EXPECT_TRUE(FPDFPath_SetDrawMode(black_path, FPDF_FILLMODE_ALTERNATE, 0)); in TEST_F()
415 EXPECT_TRUE(FPDFPath_LineTo(black_path, 30, 80)); in TEST_F()
416 EXPECT_TRUE(FPDFPath_LineTo(black_path, 40, 10)); in TEST_F()
417 EXPECT_TRUE(FPDFPath_Close(black_path)); in TEST_F()
418 FPDFPage_InsertObject(page, black_path); in TEST_F()