You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
761 B
29 lines
761 B
/******************************Module*Header*******************************\
|
|
* Module Name: CAntialias.cpp
|
|
*
|
|
* This file contains the code to support the functionality test harness
|
|
* for GDI+. This includes menu options and calling the appropriate
|
|
* functions for execution.
|
|
*
|
|
* Created: 05-May-2000 - Jeff Vezina [t-jfvez]
|
|
*
|
|
* Copyright (c) 2000 Microsoft Corporation
|
|
*
|
|
\**************************************************************************/
|
|
#include "CAntialias.h"
|
|
|
|
CAntialias::CAntialias(BOOL bRegression)
|
|
{
|
|
strcpy(m_szName,"Antialias");
|
|
m_bRegression=bRegression;
|
|
}
|
|
|
|
CAntialias::~CAntialias()
|
|
{
|
|
|
|
}
|
|
|
|
void CAntialias::Set(Graphics *g)
|
|
{
|
|
g->SetSmoothingMode(m_bUseSetting ? SmoothingModeAntiAlias : SmoothingModeNone);
|
|
}
|