FreeRDP
|
#include <freerdp/config.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <winpr/assert.h>
#include <freerdp/freerdp.h>
#include <freerdp/gdi/gdi.h>
#include <freerdp/gdi/pen.h>
#include <freerdp/gdi/bitmap.h>
#include <freerdp/gdi/region.h>
#include "drawing.h"
#include "clipping.h"
#include "line.h"
Functions | |
static BOOL | gdi_rop_color (UINT32 rop, BYTE *pixelPtr, UINT32 pen, UINT32 format) |
BOOL | gdi_LineTo (HGDI_DC hdc, UINT32 nXEnd, UINT32 nYEnd) |
BOOL | gdi_PolylineTo (HGDI_DC hdc, GDI_POINT *lppt, DWORD cCount) |
BOOL | gdi_Polyline (HGDI_DC hdc, GDI_POINT *lppt, UINT32 cPoints) |
BOOL | gdi_PolyPolyline (HGDI_DC hdc, GDI_POINT *lppt, const UINT32 *lpdwPolyPoints, DWORD cCount) |
BOOL | gdi_MoveToEx (HGDI_DC hdc, UINT32 X, UINT32 Y, HGDI_POINT lpPoint) |
BOOL gdi_LineTo | ( | HGDI_DC | hdc, |
UINT32 | nXEnd, | ||
UINT32 | nYEnd | ||
) |
FreeRDP: A Remote Desktop Protocol Implementation GDI Line Functions
Copyright 2010-2011 Marc-Andre Moreau marca Copyright 2016 Armin Novak ndre .more au@g mail. comarmin Copyright 2016 Thincast Technologies GmbH .nov ak@th inca st.co m
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.
BOOL gdi_MoveToEx | ( | HGDI_DC | hdc, |
UINT32 | X, | ||
UINT32 | Y, | ||
HGDI_POINT | lpPoint | ||
) |
Move pen from the current device context to a new position.
hdc | device context |
X | x position |
Y | y position |
Draw one or more straight lines
hdc | device context |
lppt | array of points |
cPoints | number of points |
Draw one or more straight lines
hdc | device context |
lppt | array of points |
cCount | number of points |
BOOL gdi_PolyPolyline | ( | HGDI_DC | hdc, |
GDI_POINT * | lppt, | ||
const UINT32 * | lpdwPolyPoints, | ||
DWORD | cCount | ||
) |
Draw multiple series of connected line segments
hdc | device context |
lppt | array of points |
lpdwPolyPoints | array of numbers of points per series |
cCount | count of entries in lpdwPolyPoints |
|
static |
FreeRDP: A Remote Desktop Protocol Implementation GDI Line Functions
Copyright 2010-2011 Marc-Andre Moreau marca Copyright 2016 Armin Novak ndre .more au@g mail. comarmin Copyright 2016 Thincast Technologies GmbH .nov ak@th inca st.co m
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.