Commit 837dae3f authored by Adam Petaccia's avatar Adam Petaccia Committed by Alexandre Julliard

gdiplus: Test for GdipGetFontStyle.

parent 1bf91971
......@@ -104,6 +104,7 @@ static void test_logfont(void)
GpStatus stat;
GpGraphics *graphics;
HDC hdc = GetDC(0);
INT style;
GdipCreateFromHDC(hdc, &graphics);
memset(&lfw, 0, sizeof(LOGFONTW));
......@@ -173,6 +174,14 @@ todo_wine {
expect(0, lfw2.lfQuality);
expect(0, lfw2.lfPitchAndFamily);
todo_wine
{
stat = GdipGetFontStyle(font, &style);
expect(Ok, stat);
ok (style == (FontStyleItalic | FontStyleUnderline | FontStyleStrikeout),
"Expected , got %d\n", style);
}
GdipDeleteFont(font);
GdipDeleteGraphics(graphics);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment