Windows2003-3790/windows/advcore/gdiplus/engine/flat/flatddi.cpp

75 lines
1.1 KiB
C++
Raw Permalink Normal View History

2001-01-01 00:00:00 +01:00
/**************************************************************************\
*
* Copyright (c) 1998 Microsoft Corporation
*
* Module Name:
*
* flatddi.cpp
*
* Abstract:
*
* Flat GDI+ DDI API wrappers
*
* Revision History:
*
* 1/14/2k ericvan
* Created it.
*
\**************************************************************************/
#include "precomp.hpp"
DpPath*
WINGDIPAPI
DpcCreateWidenedPath(
const DpPath* path,
const DpPen* pen,
DpContext* context,
BOOL outline
)
{
ASSERT(path && pen);
// context can be NULL
return GpPath::DriverCreateWidenedPath(
path,
pen,
context,
outline
);
}
VOID
WINGDIPAPI
DpcDeletePath(
DpPath* path
)
{
ASSERT(path);
GpPath::DriverDeletePath(path);
}
DpPath*
WINGDIPAPI
DpcClonePath(
DpPath* path
)
{
ASSERT(path);
return GpPath::DriverClonePath(path);
}
VOID
WINGDIPAPI
DpcTransformPath(
DpPath* path,
GpMatrix* matrix
)
{
ASSERT(path); // matrix can be NULL.
GpPath::DriverTransformPath(path, matrix);
}