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)
 
FREERDP_API HGDI_DC gdi_CreateDC (UINT32 format)
 
FREERDP_API HGDI_DC gdi_CreateCompatibleDC (HGDI_DC hdc)
 
FREERDP_API HGDIOBJECT gdi_SelectObject (HGDI_DC hdc, HGDIOBJECT hgdiobject)
 
FREERDP_API BOOL gdi_DeleteObject (HGDIOBJECT hgdiobject)
 
FREERDP_API BOOL gdi_DeleteDC (HGDI_DC hdc)
 

Function Documentation

FREERDP_API 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:

FREERDP_API 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:

FREERDP_API 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:

FREERDP_API 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:

FREERDP_API 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.

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:

FREERDP_API 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: