Home
last modified time | relevance | path

Searched refs:red_rect (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler_embeddertest.cpp56 FPDF_PAGEOBJECT red_rect = FPDFPageObj_CreateNewRect(10, 10, 20, 20); in TEST_F() local
57 ASSERT_TRUE(red_rect); in TEST_F()
58 EXPECT_TRUE(FPDFPath_SetFillColor(red_rect, 255, 0, 0, 255)); in TEST_F()
59 EXPECT_TRUE(FPDFPath_SetDrawMode(red_rect, FPDF_FILLMODE_ALTERNATE, 0)); in TEST_F()
60 FPDFPage_InsertObject(page, red_rect); in TEST_F()
/external/pdfium/fpdfsdk/
Dfpdfedit_embeddertest.cpp234 FPDF_PAGEOBJECT red_rect = FPDFPageObj_CreateNewRect(10, 10, 20, 20); in TEST_F() local
235 ASSERT_NE(nullptr, red_rect); in TEST_F()
237 EXPECT_FALSE(FPDFPath_SetStrokeColor(red_rect, 100, 100, 100, 300)); in TEST_F()
238 EXPECT_FALSE(FPDFPath_SetFillColor(red_rect, 200, 256, 200, 0)); in TEST_F()
241 EXPECT_TRUE(FPDFPath_SetFillColor(red_rect, 255, 0, 0, 255)); in TEST_F()
242 EXPECT_TRUE(FPDFPath_SetDrawMode(red_rect, FPDF_FILLMODE_ALTERNATE, 0)); in TEST_F()
243 FPDFPage_InsertObject(page, red_rect); in TEST_F()
406 FPDF_PAGEOBJECT red_rect = FPDFPageObj_CreateNewRect(20, 100, 50, 50); in TEST_F() local
407 EXPECT_TRUE(FPDFPath_SetFillColor(red_rect, 255, 0, 0, 255)); in TEST_F()
408 EXPECT_TRUE(FPDFPath_SetDrawMode(red_rect, FPDF_FILLMODE_ALTERNATE, 0)); in TEST_F()
[all …]