gdiplus: Test for GdipGetFontStyle.
This commit is contained in:
parent
1bf919717d
commit
837dae3f73
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue