FreeRDP
wf_graphics.c File Reference
#include <freerdp/config.h>
#include <winpr/crt.h>
#include <freerdp/codecs.h>
#include <freerdp/log.h>
#include "wf_gdi.h"
#include "wf_graphics.h"

Macros

#define TAG   CLIENT_TAG("windows")
 

Functions

HBITMAP wf_create_dib (wfContext *wfc, UINT32 width, UINT32 height, UINT32 srcFormat, const BYTE *data, BYTE **pdata)
 
wfBitmapwf_image_new (wfContext *wfc, UINT32 width, UINT32 height, UINT32 format, const BYTE *data)
 
void wf_image_free (wfBitmap *image)
 
static BOOL wf_Bitmap_New (rdpContext *context, rdpBitmap *bitmap)
 
static void wf_Bitmap_Free (rdpContext *context, rdpBitmap *bitmap)
 
static BOOL wf_Bitmap_Paint (rdpContext *context, rdpBitmap *bitmap)
 
static BOOL wf_Bitmap_SetSurface (rdpContext *context, rdpBitmap *bitmap, BOOL primary)
 
static BOOL flip_bitmap (const BYTE *src, BYTE *dst, UINT32 scanline, UINT32 nHeight)
 
static BOOL wf_Pointer_New (rdpContext *context, rdpPointer *pointer)
 
static void wf_Pointer_Free (rdpContext *context, rdpPointer *pointer)
 
static BOOL wf_Pointer_Set (rdpContext *context, rdpPointer *pointer)
 
static BOOL wf_Pointer_SetNull (rdpContext *context)
 
static BOOL wf_Pointer_SetDefault (rdpContext *context)
 
static BOOL wf_Pointer_SetPosition (rdpContext *context, UINT32 x, UINT32 y)
 
BOOL wf_register_pointer (rdpGraphics *graphics)
 
BOOL wf_register_graphics (rdpGraphics *graphics)
 

Macro Definition Documentation

◆ TAG

#define TAG   CLIENT_TAG("windows")

FreeRDP: A Remote Desktop Protocol Implementation Windows Graphical Objects

Copyright 2010-2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ flip_bitmap()

static BOOL flip_bitmap ( const BYTE src,
BYTE dst,
UINT32  scanline,
UINT32  nHeight 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_Bitmap_Free()

static void wf_Bitmap_Free ( rdpContext *  context,
rdpBitmap *  bitmap 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_Bitmap_New()

static BOOL wf_Bitmap_New ( rdpContext *  context,
rdpBitmap *  bitmap 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_Bitmap_Paint()

static BOOL wf_Bitmap_Paint ( rdpContext *  context,
rdpBitmap *  bitmap 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_Bitmap_SetSurface()

static BOOL wf_Bitmap_SetSurface ( rdpContext *  context,
rdpBitmap *  bitmap,
BOOL  primary 
)
static
Here is the caller graph for this function:

◆ wf_create_dib()

HBITMAP wf_create_dib ( wfContext *  wfc,
UINT32  width,
UINT32  height,
UINT32  format,
const BYTE data,
BYTE **  pdata 
)

FreeRDP: A Remote Desktop Protocol Implementation Windows Graphical Objects

Copyright 2010-2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

See: http://msdn.microsoft.com/en-us/library/dd183376 if biHeight is positive, the bitmap is bottom-up if biHeight is negative, the bitmap is top-down Since we get top-down bitmaps, let's keep it that way

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_image_free()

void wf_image_free ( wfBitmap image)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_image_new()

wfBitmap* wf_image_new ( wfContext *  wfc,
UINT32  width,
UINT32  height,
UINT32  format,
const BYTE data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_Pointer_Free()

static void wf_Pointer_Free ( rdpContext *  context,
rdpPointer *  pointer 
)
static
Here is the caller graph for this function:

◆ wf_Pointer_New()

static BOOL wf_Pointer_New ( rdpContext *  context,
rdpPointer *  pointer 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wf_Pointer_Set()

static BOOL wf_Pointer_Set ( rdpContext *  context,
rdpPointer *  pointer 
)
static
Here is the caller graph for this function:

◆ wf_Pointer_SetDefault()

static BOOL wf_Pointer_SetDefault ( rdpContext *  context)
static
Here is the caller graph for this function:

◆ wf_Pointer_SetNull()

static BOOL wf_Pointer_SetNull ( rdpContext *  context)
static
Here is the caller graph for this function:

◆ wf_Pointer_SetPosition()

static BOOL wf_Pointer_SetPosition ( rdpContext *  context,
UINT32  x,
UINT32  y 
)
static
Here is the caller graph for this function:

◆ wf_register_graphics()

BOOL wf_register_graphics ( rdpGraphics *  graphics)
Here is the call graph for this function:

◆ wf_register_pointer()

BOOL wf_register_pointer ( rdpGraphics *  graphics)
Here is the call graph for this function:
Here is the caller graph for this function: