FreeRDP
TestGdiCreate.c File Reference
#include <freerdp/gdi/gdi.h>
#include <freerdp/gdi/dc.h>
#include <freerdp/gdi/pen.h>
#include <freerdp/gdi/region.h>
#include <freerdp/gdi/bitmap.h>
#include <winpr/crt.h>
#include "line.h"
#include "brush.h"
#include "drawing.h"

Functions

static int test_gdi_GetDC (void)
 
static int test_gdi_CreateCompatibleDC (void)
 
static int test_gdi_CreateBitmap (void)
 
static int test_gdi_CreateCompatibleBitmap (void)
 
static int test_gdi_CreatePen (void)
 
static int test_gdi_CreateSolidBrush (void)
 
static int test_gdi_CreatePatternBrush (void)
 
static int test_gdi_CreateRectRgn (void)
 
static int test_gdi_CreateRect (void)
 
static BOOL test_gdi_GetPixel (void)
 
static BOOL test_gdi_SetPixel (void)
 
static int test_gdi_SetROP2 (void)
 
static int test_gdi_MoveToEx (void)
 
int TestGdiCreate (int argc, char *argv[])
 

Variables

static const UINT32 colorFormatList []
 
static const UINT32 colorFormatCount = sizeof(colorFormatList) / sizeof(colorFormatList[0])
 

Function Documentation

◆ test_gdi_CreateBitmap()

static int test_gdi_CreateBitmap ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_CreateCompatibleBitmap()

static int test_gdi_CreateCompatibleBitmap ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_CreateCompatibleDC()

static int test_gdi_CreateCompatibleDC ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_CreatePatternBrush()

static int test_gdi_CreatePatternBrush ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_CreatePen()

static int test_gdi_CreatePen ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_CreateRect()

static int test_gdi_CreateRect ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_CreateRectRgn()

static int test_gdi_CreateRectRgn ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_CreateSolidBrush()

static int test_gdi_CreateSolidBrush ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_GetDC()

static int test_gdi_GetDC ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_GetPixel()

static BOOL test_gdi_GetPixel ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_MoveToEx()

static int test_gdi_MoveToEx ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_SetPixel()

static BOOL test_gdi_SetPixel ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_gdi_SetROP2()

static int test_gdi_SetROP2 ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestGdiCreate()

int TestGdiCreate ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

Variable Documentation

◆ colorFormatCount

const UINT32 colorFormatCount = sizeof(colorFormatList) / sizeof(colorFormatList[0])
static

◆ colorFormatList

PIXEL_FORMAT_XRGB32
#define PIXEL_FORMAT_XRGB32
Definition: color.h:64
PIXEL_FORMAT_ARGB32
#define PIXEL_FORMAT_ARGB32
Definition: color.h:63
PIXEL_FORMAT_BGR16
#define PIXEL_FORMAT_BGR16
Definition: color.h:78
PIXEL_FORMAT_RGB24
#define PIXEL_FORMAT_RGB24
Definition: color.h:73
PIXEL_FORMAT_ABGR32
#define PIXEL_FORMAT_ABGR32
Definition: color.h:65
PIXEL_FORMAT_RGB16
#define PIXEL_FORMAT_RGB16
Definition: color.h:77
PIXEL_FORMAT_XBGR32
#define PIXEL_FORMAT_XBGR32
Definition: color.h:66
PIXEL_FORMAT_BGR24
#define PIXEL_FORMAT_BGR24
Definition: color.h:74
PIXEL_FORMAT_BGRX32
#define PIXEL_FORMAT_BGRX32
Definition: color.h:68
PIXEL_FORMAT_RGB15
#define PIXEL_FORMAT_RGB15
Definition: color.h:80
PIXEL_FORMAT_RGBX32
#define PIXEL_FORMAT_RGBX32
Definition: color.h:70
PIXEL_FORMAT_BGR15
#define PIXEL_FORMAT_BGR15
Definition: color.h:82