FreeRDP
include/freerdp/graphics.h File Reference
#include <stdlib.h>
#include <freerdp/api.h>
#include <freerdp/types.h>
#include <freerdp/freerdp.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  rdpBitmap
 
struct  rdpPointer
 
struct  rdpGlyph
 
struct  rdpGraphics
 

Typedefs

typedef BOOL(* pBitmap_New) (rdpContext *context, rdpBitmap *bitmap)
 
typedef void(* pBitmap_Free) (rdpContext *context, rdpBitmap *bitmap)
 
typedef BOOL(* pBitmap_Paint) (rdpContext *context, rdpBitmap *bitmap)
 
typedef BOOL(* pBitmap_Decompress) (rdpContext *context, rdpBitmap *bitmap, const BYTE *data, UINT32 width, UINT32 height, UINT32 bpp, UINT32 length, BOOL compressed, UINT32 codec_id)
 
typedef BOOL(* pBitmap_SetSurface) (rdpContext *context, rdpBitmap *bitmap, BOOL primary)
 
typedef BOOL(* pPointer_New) (rdpContext *context, rdpPointer *pointer)
 
typedef void(* pPointer_Free) (rdpContext *context, rdpPointer *pointer)
 
typedef BOOL(* pPointer_Set) (rdpContext *context, const rdpPointer *pointer)
 
typedef BOOL(* pPointer_SetNull) (rdpContext *context)
 
typedef BOOL(* pPointer_SetDefault) (rdpContext *context)
 
typedef BOOL(* pPointer_SetPosition) (rdpContext *context, UINT32 x, UINT32 y)
 
typedef BOOL(* pGlyph_New) (rdpContext *context, const rdpGlyph *glyph)
 
typedef void(* pGlyph_Free) (rdpContext *context, rdpGlyph *glyph)
 
typedef BOOL(* pGlyph_Draw) (rdpContext *context, const rdpGlyph *glyph, INT32 x, INT32 y, INT32 w, INT32 h, INT32 sx, INT32 sy, BOOL fOpRedundant)
 
typedef BOOL(* pGlyph_BeginDraw) (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height, UINT32 bgcolor, UINT32 fgcolor, BOOL fOpRedundant)
 
typedef BOOL(* pGlyph_EndDraw) (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height, UINT32 bgcolor, UINT32 fgcolor)
 
typedef BOOL(* pGlyph_SetBounds) (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height)
 

Functions

FREERDP_API rdpBitmap * Bitmap_Alloc (rdpContext *context)
 
FREERDP_API BOOL Bitmap_SetRectangle (rdpBitmap *bitmap, UINT16 left, UINT16 top, UINT16 right, UINT16 bottom)
 
FREERDP_API BOOL Bitmap_SetDimensions (rdpBitmap *bitmap, UINT16 width, UINT16 height)
 
FREERDP_API rdpPointer * Pointer_Alloc (rdpContext *context)
 
FREERDP_API rdpGlyph * Glyph_Alloc (rdpContext *context, INT32 x, INT32 y, UINT32 cx, UINT32 cy, UINT32 cb, const BYTE *aj)
 
FREERDP_API void graphics_register_bitmap (rdpGraphics *graphics, rdpBitmap *bitmap)
 
FREERDP_API void graphics_register_pointer (rdpGraphics *graphics, rdpPointer *pointer)
 
FREERDP_API void graphics_register_glyph (rdpGraphics *graphics, rdpGlyph *glyph)
 
FREERDP_API rdpGraphics * graphics_new (rdpContext *context)
 
FREERDP_API void graphics_free (rdpGraphics *graphics)
 

Typedef Documentation

typedef BOOL(* pBitmap_Decompress) (rdpContext *context, rdpBitmap *bitmap, const BYTE *data, UINT32 width, UINT32 height, UINT32 bpp, UINT32 length, BOOL compressed, UINT32 codec_id)
typedef void(* pBitmap_Free) (rdpContext *context, rdpBitmap *bitmap)
typedef BOOL(* pBitmap_New) (rdpContext *context, rdpBitmap *bitmap)
typedef BOOL(* pBitmap_Paint) (rdpContext *context, rdpBitmap *bitmap)
typedef BOOL(* pBitmap_SetSurface) (rdpContext *context, rdpBitmap *bitmap, BOOL primary)
typedef BOOL(* pGlyph_BeginDraw) (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height, UINT32 bgcolor, UINT32 fgcolor, BOOL fOpRedundant)
typedef BOOL(* pGlyph_Draw) (rdpContext *context, const rdpGlyph *glyph, INT32 x, INT32 y, INT32 w, INT32 h, INT32 sx, INT32 sy, BOOL fOpRedundant)
typedef BOOL(* pGlyph_EndDraw) (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height, UINT32 bgcolor, UINT32 fgcolor)
typedef void(* pGlyph_Free) (rdpContext *context, rdpGlyph *glyph)
typedef BOOL(* pGlyph_New) (rdpContext *context, const rdpGlyph *glyph)
typedef BOOL(* pGlyph_SetBounds) (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height)
typedef void(* pPointer_Free) (rdpContext *context, rdpPointer *pointer)
typedef BOOL(* pPointer_New) (rdpContext *context, rdpPointer *pointer)
typedef BOOL(* pPointer_Set) (rdpContext *context, const rdpPointer *pointer)
typedef BOOL(* pPointer_SetDefault) (rdpContext *context)
typedef BOOL(* pPointer_SetNull) (rdpContext *context)
typedef BOOL(* pPointer_SetPosition) (rdpContext *context, UINT32 x, UINT32 y)

Function Documentation

FREERDP_API rdpBitmap* Bitmap_Alloc ( rdpContext *  context)

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

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 caller graph for this function:

FREERDP_API BOOL Bitmap_SetDimensions ( rdpBitmap *  bitmap,
UINT16  width,
UINT16  height 
)

Here is the caller graph for this function:

FREERDP_API BOOL Bitmap_SetRectangle ( rdpBitmap *  bitmap,
UINT16  left,
UINT16  top,
UINT16  right,
UINT16  bottom 
)

Here is the caller graph for this function:

FREERDP_API rdpGlyph* Glyph_Alloc ( rdpContext *  context,
INT32  x,
INT32  y,
UINT32  cx,
UINT32  cy,
UINT32  cb,
const BYTE aj 
)

Here is the caller graph for this function:

FREERDP_API void graphics_free ( rdpGraphics *  graphics)

Here is the caller graph for this function:

FREERDP_API rdpGraphics* graphics_new ( rdpContext *  context)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API void graphics_register_bitmap ( rdpGraphics *  graphics,
rdpBitmap *  bitmap 
)

Here is the caller graph for this function:

FREERDP_API void graphics_register_glyph ( rdpGraphics *  graphics,
rdpGlyph *  glyph 
)

Here is the caller graph for this function:

FREERDP_API void graphics_register_pointer ( rdpGraphics *  graphics,
rdpPointer *  pointer 
)

Here is the caller graph for this function:

FREERDP_API rdpPointer* Pointer_Alloc ( rdpContext *  context)

Here is the caller graph for this function: