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

const UINT32 colorFormatList[]
static
Initial value:
= {
}
#define PIXEL_FORMAT_BGRX32
Definition: color.h:74
#define PIXEL_FORMAT_ARGB32
Definition: color.h:69
#define PIXEL_FORMAT_RGBX32
Definition: color.h:76
#define PIXEL_FORMAT_ABGR32
Definition: color.h:71
#define PIXEL_FORMAT_XBGR32
Definition: color.h:72
#define PIXEL_FORMAT_RGB16
Definition: color.h:87
#define PIXEL_FORMAT_XRGB32
Definition: color.h:70
#define PIXEL_FORMAT_BGR15
Definition: color.h:92
#define PIXEL_FORMAT_BGR16
Definition: color.h:88
#define PIXEL_FORMAT_BGR24
Definition: color.h:84
#define PIXEL_FORMAT_RGB15
Definition: color.h:90
#define PIXEL_FORMAT_RGB24
Definition: color.h:83