ReactOS 0.4.16-dev-306-g647d351
pen.h
Go to the documentation of this file.
1#pragma once
2
3/* Internal interface */
4
5typedef BRUSH PEN, *PPEN;
6
10 VOID);
11
12PPEN
15 VOID);
16
17#define PEN_UnlockPen(pPenObj) GDIOBJ_vUnlockObject((POBJ)pPenObj)
18#define PEN_ShareUnlockPen(ppen) GDIOBJ_vDereferenceObject((POBJ)ppen)
19
20PPEN
23
24INT
27 _In_ PPEN pPen,
30
32
33#define IntIsEffectiveWidePen(pbrLine) ( \
34 (pbrLine)->lWidth > 1 && \
35 ((pbrLine->flAttrs & BR_IS_OLDSTYLEPEN) || \
36 ((pbrLine)->ulPenStyle & PS_TYPE_MASK) == PS_GEOMETRIC) \
37)
static HPEN hpen
Definition: brush.hpp:16
Definition: bufpool.h:45
#define _Out_
Definition: no_sal2.h:160
#define _In_
Definition: no_sal2.h:158
int Count
Definition: noreturn.cpp:7
#define FASTCALL
Definition: nt_native.h:50
INT NTAPI PEN_GetObject(_In_ PPEN pPen, _In_ INT Count, _Out_ PLOGPEN Buffer)
PPEN NTAPI PEN_AllocExtPenWithHandle(VOID)
Definition: pen.c:44
PPEN FASTCALL PEN_ShareLockPen(HPEN hpen)
Definition: pen.c:61
PPEN NTAPI PEN_AllocPenWithHandle(VOID)
Definition: pen.c:27
VOID FASTCALL AddPenLinesBounds(PDC, int, POINT *)
Definition: line.c:19
BRUSH * PPEN
Definition: pen.h:5
BRUSH PEN
Definition: pen.h:5
Definition: polytest.cpp:41
#define NTAPI
Definition: typedefs.h:36
int32_t INT
Definition: typedefs.h:58