FreeRDP
dc.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <freerdp/freerdp.h>
#include <freerdp/gdi/gdi.h>
#include <freerdp/gdi/region.h>
#include <freerdp/gdi/dc.h>

Functions

HGDI_DC gdi_GetDC (void)
 
HGDI_DC gdi_CreateDC (UINT32 format)
 
HGDI_DC gdi_CreateCompatibleDC (HGDI_DC hdc)
 
HGDIOBJECT gdi_SelectObject (HGDI_DC hdc, HGDIOBJECT hgdiobject)
 
BOOL gdi_DeleteObject (HGDIOBJECT hgdiobject)
 
BOOL gdi_DeleteDC (HGDI_DC hdc)
 

Function Documentation

HGDI_DC gdi_CreateCompatibleDC ( HGDI_DC  hdc)

Create a new device context compatible with the given device context.
http://msdn.microsoft.com/en-us/library/dd183489/

Parameters
hdcdevice context
Returns
new compatible device context

Here is the call graph for this function:

Here is the caller graph for this function:

HGDI_DC gdi_CreateDC ( UINT32  format)

Create a device context.
http://msdn.microsoft.com/en-us/library/dd144871/

Returns
new device context

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL gdi_DeleteDC ( HGDI_DC  hdc)

Delete device context.
http://msdn.microsoft.com/en-us/library/dd183533/

Parameters
hdcdevice context
Returns
nonzero if successful, 0 otherwise

Here is the caller graph for this function:

BOOL gdi_DeleteObject ( HGDIOBJECT  hgdiobject)

Delete a GDI object.
http://msdn.microsoft.com/en-us/library/dd183539/

Parameters
hgdiobjectGDI object
Returns
nonzero if successful, 0 otherwise

Here is the caller graph for this function:

HGDI_DC gdi_GetDC ( void  )

FreeRDP: A Remote Desktop Protocol Implementation GDI Device Context Functions

Copyright 2010-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. Get the current device context (a new one is created each time).
http://msdn.microsoft.com/en-us/library/dd144871/

Returns
current device context

Here is the call graph for this function:

Here is the caller graph for this function:

HGDIOBJECT gdi_SelectObject ( HGDI_DC  hdc,
HGDIOBJECT  hgdiobject 
)

Select a GDI object in the current device context.
http://msdn.microsoft.com/en-us/library/dd162957/

Parameters
hdcdevice context
hgdiobjectnew selected GDI object
Returns
previous selected GDI object

Here is the caller graph for this function: