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 <winpr/crypto.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 BYTE prand (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

◆ prand()

static BYTE prand ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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: include/freerdp/codec/color.h:74
#define PIXEL_FORMAT_ARGB32
Definition: include/freerdp/codec/color.h:69
#define PIXEL_FORMAT_RGBX32
Definition: include/freerdp/codec/color.h:76
#define PIXEL_FORMAT_ABGR32
Definition: include/freerdp/codec/color.h:71
#define PIXEL_FORMAT_XBGR32
Definition: include/freerdp/codec/color.h:72
#define PIXEL_FORMAT_RGB16
Definition: include/freerdp/codec/color.h:87
#define PIXEL_FORMAT_XRGB32
Definition: include/freerdp/codec/color.h:70
#define PIXEL_FORMAT_BGR15
Definition: include/freerdp/codec/color.h:92
#define PIXEL_FORMAT_BGR16
Definition: include/freerdp/codec/color.h:88
#define PIXEL_FORMAT_BGR24
Definition: include/freerdp/codec/color.h:84
#define PIXEL_FORMAT_RGB15
Definition: include/freerdp/codec/color.h:90
#define PIXEL_FORMAT_RGB24
Definition: include/freerdp/codec/color.h:83