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, 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, const rdpBitmap *bitmap)
 
FREERDP_API void graphics_register_pointer (rdpGraphics *graphics, const rdpPointer *pointer)
 
FREERDP_API void graphics_register_glyph (rdpGraphics *graphics, const rdpGlyph *glyph)
 
FREERDP_API rdpGraphics * graphics_new (rdpContext *context)
 
FREERDP_API void graphics_free (rdpGraphics *graphics)
 

Typedef Documentation

◆ pBitmap_Decompress

typedef BOOL(* pBitmap_Decompress) (rdpContext *context, rdpBitmap *bitmap, const BYTE *data, UINT32 width, UINT32 height, UINT32 bpp, UINT32 length, BOOL compressed, UINT32 codec_id)

◆ pBitmap_Free

typedef void(* pBitmap_Free) (rdpContext *context, rdpBitmap *bitmap)

◆ pBitmap_New

typedef BOOL(* pBitmap_New) (rdpContext *context, rdpBitmap *bitmap)

◆ pBitmap_Paint

typedef BOOL(* pBitmap_Paint) (rdpContext *context, rdpBitmap *bitmap)

◆ pBitmap_SetSurface

typedef BOOL(* pBitmap_SetSurface) (rdpContext *context, rdpBitmap *bitmap, BOOL primary)

◆ pGlyph_BeginDraw

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

◆ pGlyph_Draw

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

◆ pGlyph_EndDraw

typedef BOOL(* pGlyph_EndDraw) (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height, UINT32 bgcolor, UINT32 fgcolor)

◆ pGlyph_Free

typedef void(* pGlyph_Free) (rdpContext *context, rdpGlyph *glyph)

◆ pGlyph_New

typedef BOOL(* pGlyph_New) (rdpContext *context, rdpGlyph *glyph)

◆ pGlyph_SetBounds

typedef BOOL(* pGlyph_SetBounds) (rdpContext *context, INT32 x, INT32 y, INT32 width, INT32 height)

◆ pPointer_Free

typedef void(* pPointer_Free) (rdpContext *context, rdpPointer *pointer)

◆ pPointer_New

typedef BOOL(* pPointer_New) (rdpContext *context, rdpPointer *pointer)

◆ pPointer_Set

typedef BOOL(* pPointer_Set) (rdpContext *context, const rdpPointer *pointer)

◆ pPointer_SetDefault

typedef BOOL(* pPointer_SetDefault) (rdpContext *context)

◆ pPointer_SetNull

typedef BOOL(* pPointer_SetNull) (rdpContext *context)

◆ pPointer_SetPosition

typedef BOOL(* pPointer_SetPosition) (rdpContext *context, UINT32 x, UINT32 y)

Function Documentation

◆ Bitmap_Alloc()

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:

◆ Bitmap_SetDimensions()

FREERDP_API BOOL Bitmap_SetDimensions ( rdpBitmap *  bitmap,
UINT16  width,
UINT16  height 
)
Here is the caller graph for this function:

◆ Bitmap_SetRectangle()

FREERDP_API BOOL Bitmap_SetRectangle ( rdpBitmap *  bitmap,
UINT16  left,
UINT16  top,
UINT16  right,
UINT16  bottom 
)
Here is the caller graph for this function:

◆ Glyph_Alloc()

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:

◆ graphics_free()

FREERDP_API void graphics_free ( rdpGraphics *  graphics)
Here is the caller graph for this function:

◆ graphics_new()

FREERDP_API rdpGraphics* graphics_new ( rdpContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ graphics_register_bitmap()

FREERDP_API void graphics_register_bitmap ( rdpGraphics *  graphics,
const rdpBitmap *  bitmap 
)
Here is the caller graph for this function:

◆ graphics_register_glyph()

FREERDP_API void graphics_register_glyph ( rdpGraphics *  graphics,
const rdpGlyph *  glyph 
)
Here is the caller graph for this function:

◆ graphics_register_pointer()

FREERDP_API void graphics_register_pointer ( rdpGraphics *  graphics,
const rdpPointer *  pointer 
)
Here is the caller graph for this function:

◆ Pointer_Alloc()

FREERDP_API rdpPointer* Pointer_Alloc ( rdpContext *  context)
Here is the caller graph for this function: