FreeRDP
pf_graphics.c File Reference
#include <winpr/crt.h>
#include <freerdp/codec/bitmap.h>
#include "pf_graphics.h"
#include "pf_log.h"
#include "pf_gdi.h"
#include "pf_context.h"
#include <freerdp/gdi/dc.h>
#include <freerdp/gdi/shape.h>
#include <freerdp/gdi/region.h>
#include <freerdp/gdi/bitmap.h>
#include <freerdp/graphics.h>
#include <freerdp/log.h>

Macros

#define TAG   PROXY_TAG("graphics")
 

Functions

static BOOL pf_Bitmap_New (rdpContext *context, rdpBitmap *bitmap)
 
static void pf_Bitmap_Free (rdpContext *context, rdpBitmap *bitmap)
 
static BOOL pf_Bitmap_Paint (rdpContext *context, rdpBitmap *bitmap)
 
static BOOL pf_Bitmap_SetSurface (rdpContext *context, rdpBitmap *bitmap, BOOL primary)
 
static BOOL pf_Pointer_New (rdpContext *context, rdpPointer *pointer)
 
static void pf_Pointer_Free (rdpContext *context, rdpPointer *pointer)
 
static BOOL pf_Pointer_Set (rdpContext *context, const rdpPointer *pointer)
 
static BOOL pf_Pointer_SetNull (rdpContext *context)
 
static BOOL pf_Pointer_SetDefault (rdpContext *context)
 
static BOOL pf_Pointer_SetPosition (rdpContext *context, UINT32 x, UINT32 y)
 
static BOOL pf_Glyph_New (rdpContext *context, const rdpGlyph *glyph)
 
static void pf_Glyph_Free (rdpContext *context, rdpGlyph *glyph)
 
static BOOL pf_Glyph_Draw (rdpContext *context, const rdpGlyph *glyph, INT32 x, INT32 y, INT32 w, INT32 h, INT32 sx, INT32 sy, BOOL fOpRedundant)
 
static BOOL pf_Glyph_BeginDraw (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height, UINT32 bgcolor, UINT32 fgcolor, BOOL fOpRedundant)
 
static BOOL pf_Glyph_EndDraw (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height, UINT32 bgcolor, UINT32 fgcolor)
 
BOOL pf_register_pointer (rdpGraphics *graphics)
 
BOOL pf_register_graphics (rdpGraphics *graphics)
 

Macro Definition Documentation

#define TAG   PROXY_TAG("graphics")

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Proxy Server

Copyright 2019 Mati Shabtay matis.nosp@m.habt.nosp@m.ay@gm.nosp@m.ail..nosp@m.com Copyright 2019 Kobi Mizrachi kmizr.nosp@m.achi.nosp@m.18@gm.nosp@m.ail..nosp@m.com Copyright 2019 Idan Freiberg speid.nosp@m.y@gm.nosp@m.ail.c.nosp@m.om

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

static void pf_Bitmap_Free ( rdpContext *  context,
rdpBitmap *  bitmap 
)
static

Here is the caller graph for this function:

static BOOL pf_Bitmap_New ( rdpContext *  context,
rdpBitmap *  bitmap 
)
static

Here is the caller graph for this function:

static BOOL pf_Bitmap_Paint ( rdpContext *  context,
rdpBitmap *  bitmap 
)
static

Here is the caller graph for this function:

static BOOL pf_Bitmap_SetSurface ( rdpContext *  context,
rdpBitmap *  bitmap,
BOOL  primary 
)
static

Here is the caller graph for this function:

static BOOL pf_Glyph_BeginDraw ( rdpContext *  context,
INT32  x,
INT32  y,
INT32  width,
INT32  height,
UINT32  bgcolor,
UINT32  fgcolor,
BOOL  fOpRedundant 
)
static

Here is the caller graph for this function:

static BOOL pf_Glyph_Draw ( rdpContext *  context,
const rdpGlyph *  glyph,
INT32  x,
INT32  y,
INT32  w,
INT32  h,
INT32  sx,
INT32  sy,
BOOL  fOpRedundant 
)
static

Here is the caller graph for this function:

static BOOL pf_Glyph_EndDraw ( rdpContext *  context,
INT32  x,
INT32  y,
INT32  width,
INT32  height,
UINT32  bgcolor,
UINT32  fgcolor 
)
static

Here is the caller graph for this function:

static void pf_Glyph_Free ( rdpContext *  context,
rdpGlyph *  glyph 
)
static

Here is the caller graph for this function:

static BOOL pf_Glyph_New ( rdpContext *  context,
const rdpGlyph *  glyph 
)
static

Here is the caller graph for this function:

static void pf_Pointer_Free ( rdpContext *  context,
rdpPointer *  pointer 
)
static

Here is the caller graph for this function:

static BOOL pf_Pointer_New ( rdpContext *  context,
rdpPointer *  pointer 
)
static

Here is the caller graph for this function:

static BOOL pf_Pointer_Set ( rdpContext *  context,
const rdpPointer *  pointer 
)
static

Here is the caller graph for this function:

static BOOL pf_Pointer_SetDefault ( rdpContext *  context)
static

Here is the caller graph for this function:

static BOOL pf_Pointer_SetNull ( rdpContext *  context)
static

Here is the caller graph for this function:

static BOOL pf_Pointer_SetPosition ( rdpContext *  context,
UINT32  x,
UINT32  y 
)
static

Here is the caller graph for this function:

BOOL pf_register_graphics ( rdpGraphics *  graphics)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL pf_register_pointer ( rdpGraphics *  graphics)

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Proxy Server

Copyright 2019 Mati Shabtay matis.nosp@m.habt.nosp@m.ay@gm.nosp@m.ail..nosp@m.com Copyright 2019 Kobi Mizrachi kmizr.nosp@m.achi.nosp@m.18@gm.nosp@m.ail..nosp@m.com Copyright 2019 Idan Freiberg speid.nosp@m.y@gm.nosp@m.ail.c.nosp@m.om

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.

Here is the call graph for this function:

Here is the caller graph for this function: