FreeRDP
gdi/graphics.c File Reference
#include <winpr/crt.h>
#include <freerdp/log.h>
#include <freerdp/gdi/dc.h>
#include <freerdp/gdi/shape.h>
#include <freerdp/gdi/region.h>
#include <freerdp/gdi/bitmap.h>
#include "clipping.h"
#include "drawing.h"
#include "brush.h"
#include "graphics.h"

Macros

#define TAG   FREERDP_TAG("gdi")
 

Functions

HGDI_BITMAP gdi_create_bitmap (rdpGdi *gdi, UINT32 nWidth, UINT32 nHeight, UINT32 SrcFormat, BYTE *data)
 
static BOOL gdi_Bitmap_New (rdpContext *context, rdpBitmap *bitmap)
 
static void gdi_Bitmap_Free (rdpContext *context, rdpBitmap *bitmap)
 
static BOOL gdi_Bitmap_Paint (rdpContext *context, rdpBitmap *bitmap)
 
static BOOL gdi_Bitmap_Decompress (rdpContext *context, rdpBitmap *bitmap, const BYTE *pSrcData, UINT32 DstWidth, UINT32 DstHeight, UINT32 bpp, UINT32 length, BOOL compressed, UINT32 codecId)
 
static BOOL gdi_Bitmap_SetSurface (rdpContext *context, rdpBitmap *bitmap, BOOL primary)
 
static BOOL gdi_Glyph_New (rdpContext *context, const rdpGlyph *glyph)
 
static void gdi_Glyph_Free (rdpContext *context, rdpGlyph *glyph)
 
static BOOL gdi_Glyph_Draw (rdpContext *context, const rdpGlyph *glyph, INT32 x, INT32 y, INT32 w, INT32 h, INT32 sx, INT32 sy, BOOL fOpRedundant)
 
static BOOL gdi_Glyph_SetBounds (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height)
 
static BOOL gdi_Glyph_BeginDraw (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height, UINT32 bgcolor, UINT32 fgcolor, BOOL fOpRedundant)
 
static BOOL gdi_Glyph_EndDraw (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height, UINT32 bgcolor, UINT32 fgcolor)
 
BOOL gdi_register_graphics (rdpGraphics *graphics)
 

Macro Definition Documentation

#define TAG   FREERDP_TAG("gdi")

FreeRDP: A Remote Desktop Protocol Implementation 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 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2016 Thincast Technologies GmbH

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 BOOL gdi_Bitmap_Decompress ( rdpContext *  context,
rdpBitmap *  bitmap,
const BYTE pSrcData,
UINT32  DstWidth,
UINT32  DstHeight,
UINT32  bpp,
UINT32  length,
BOOL  compressed,
UINT32  codecId 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void gdi_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 gdi_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 gdi_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 gdi_Bitmap_SetSurface ( rdpContext *  context,
rdpBitmap *  bitmap,
BOOL  primary 
)
static

Here is the caller graph for this function:

HGDI_BITMAP gdi_create_bitmap ( rdpGdi *  gdi,
UINT32  width,
UINT32  height,
UINT32  format,
BYTE data 
)

FreeRDP: A Remote Desktop Protocol Implementation 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 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2016 Thincast Technologies GmbH

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:

static BOOL gdi_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 gdi_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 gdi_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 gdi_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 gdi_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 BOOL gdi_Glyph_SetBounds ( rdpContext *  context,
INT32  x,
INT32  y,
INT32  width,
INT32  height 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL gdi_register_graphics ( rdpGraphics *  graphics)

Here is the call graph for this function:

Here is the caller graph for this function: