FreeRDP
xf_graphics.c File Reference
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <winpr/crt.h>
#include <freerdp/codec/bitmap.h>
#include <freerdp/codec/rfx.h>
#include "xf_graphics.h"
#include "xf_gdi.h"
#include <freerdp/log.h>

Macros

#define TAG   CLIENT_TAG("x11")
 

Functions

BOOL xf_decode_color (xfContext *xfc, const UINT32 srcColor, XColor *color)
 
static BOOL xf_Bitmap_New (rdpContext *context, rdpBitmap *bitmap)
 
static void xf_Bitmap_Free (rdpContext *context, rdpBitmap *bitmap)
 
static BOOL xf_Bitmap_Paint (rdpContext *context, rdpBitmap *bitmap)
 
static BOOL xf_Bitmap_SetSurface (rdpContext *context, rdpBitmap *bitmap, BOOL primary)
 
static BOOL xf_Pointer_New (rdpContext *context, rdpPointer *pointer)
 
static void xf_Pointer_Free (rdpContext *context, rdpPointer *pointer)
 
static BOOL xf_Pointer_Set (rdpContext *context, const rdpPointer *pointer)
 
static BOOL xf_Pointer_SetNull (rdpContext *context)
 
static BOOL xf_Pointer_SetDefault (rdpContext *context)
 
static BOOL xf_Pointer_SetPosition (rdpContext *context, UINT32 x, UINT32 y)
 
static BOOL xf_Glyph_New (rdpContext *context, const rdpGlyph *glyph)
 
static void xf_Glyph_Free (rdpContext *context, rdpGlyph *glyph)
 
static BOOL xf_Glyph_Draw (rdpContext *context, const rdpGlyph *glyph, INT32 x, INT32 y, INT32 w, INT32 h, INT32 sx, INT32 sy, BOOL fOpRedundant)
 
static BOOL xf_Glyph_BeginDraw (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height, UINT32 bgcolor, UINT32 fgcolor, BOOL fOpRedundant)
 
static BOOL xf_Glyph_EndDraw (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height, UINT32 bgcolor, UINT32 fgcolor)
 
BOOL xf_register_pointer (rdpGraphics *graphics)
 
BOOL xf_register_graphics (rdpGraphics *graphics)
 
UINT32 xf_get_local_color_format (xfContext *xfc, BOOL aligned)
 

Macro Definition Documentation

#define TAG   CLIENT_TAG("x11")

FreeRDP: A Remote Desktop Protocol Implementation X11 Graphical Objects

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2016 Thincast Technologies GmbH Copyright 2016 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m

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 xf_Bitmap_Free ( rdpContext *  context,
rdpBitmap *  bitmap 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL xf_decode_color ( xfContext *  xfc,
const UINT32  srcColor,
XColor *  color 
)

Here is the call graph for this function:

Here is the caller graph for this function:

UINT32 xf_get_local_color_format ( xfContext *  xfc,
BOOL  aligned 
)

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL xf_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 call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL xf_Pointer_SetDefault ( rdpContext *  context)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL xf_Pointer_SetNull ( rdpContext *  context)
static

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL xf_register_graphics ( rdpGraphics *  graphics)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL xf_register_pointer ( rdpGraphics *  graphics)

FreeRDP: A Remote Desktop Protocol Implementation X11 Graphical Objects

Copyright 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.

Here is the call graph for this function:

Here is the caller graph for this function: