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

Functions

FREERDP_API HGDI_DC gdi_GetDC (void)
 Get the current device context (a new one is created each time). msdn{dd144871}. More...
 
FREERDP_API HGDI_DC gdi_CreateDC (UINT32 format)
 Create a device context. msdn{dd144871}. More...
 
FREERDP_API HGDI_DC gdi_CreateCompatibleDC (HGDI_DC hdc)
 Create a new device context compatible with the given device context. msdn{dd183489}. More...
 
FREERDP_API HGDIOBJECT gdi_SelectObject (HGDI_DC hdc, HGDIOBJECT hgdiobject)
 Select a GDI object in the current device context. msdn{dd162957}. More...
 
FREERDP_API BOOL gdi_DeleteObject (HGDIOBJECT hgdiobject)
 Delete a GDI object. msdn{dd183539}. More...
 
FREERDP_API BOOL gdi_DeleteDC (HGDI_DC hdc)
 Delete device context. msdn{dd183533}. More...
 

Function Documentation

◆ gdi_CreateCompatibleDC()

FREERDP_API HGDI_DC gdi_CreateCompatibleDC ( HGDI_DC  hdc)

Create a new device context compatible with the given device context. msdn{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:

◆ gdi_CreateDC()

FREERDP_API HGDI_DC gdi_CreateDC ( UINT32  format)

Create a device context. msdn{dd144871}.

Returns
new device context
Here is the call graph for this function:

◆ gdi_DeleteDC()

FREERDP_API BOOL gdi_DeleteDC ( HGDI_DC  hdc)

Delete device context. msdn{dd183533}.

Parameters
hdcdevice context
Returns
nonzero if successful, 0 otherwise
Here is the caller graph for this function:

◆ gdi_DeleteObject()

FREERDP_API BOOL gdi_DeleteObject ( HGDIOBJECT  hgdiobject)

Delete a GDI object. msdn{dd183539}.

Parameters
hgdiobjectGDI object
Returns
nonzero if successful, 0 otherwise
Here is the caller graph for this function:

◆ gdi_GetDC()

FREERDP_API HGDI_DC gdi_GetDC ( void  )

Get the current device context (a new one is created each time). msdn{dd144871}.

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.

Returns
current device context
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdi_SelectObject()

FREERDP_API HGDIOBJECT gdi_SelectObject ( HGDI_DC  hdc,
HGDIOBJECT  hgdiobject 
)

Select a GDI object in the current device context. msdn{dd162957}.

Parameters
hdcdevice context
hgdiobjectnew selected GDI object
Returns
previous selected GDI object
Here is the caller graph for this function: