多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 类型 | C++类型 | aardio类型 |备注 | | --- | --- |--- | | \_In\_  HWND hWnd | addr hwnd |实际是int类型, \_In\_ 是定议的宏 | | \_In\_  const POINT \*lppt | struct lppt |结构体 | | \_In\_ HBRUSH hbr | pointer hBrush |指针 | ## 函数 ``` // 补充函数 //BOOL Polyline(_In_ HDC hdc,_In_ const POINT *lppt,_In_ int cPoints); ::Polyline = g.api("Polyline","int(ptr hdc,struct lppt,int cPoints)"); //BOOL PolylineTo(_In_ HDC hdc,_In_ const POINT *lppt,_In_ DWORD cCount); ::PolylineTo = g.api("PolylineTo","int(ptr hdc,struct lppt,int cCount)"); //BOOL PolyPolyline(_In_ HDC hdc,_In_ const POINT *lppt,_In_ const DWORD *lpdwPolyPoints,_In_ DWORD cCount); ::PolyPolyline = g.api("PolyPolyline","int(ptr hdc,struct lppt,int lpdwPolyPoints,int cCount)"); ::SetTextCharacterExtra = g.api("SetTextCharacterExtra","int(ptr hdc,int extra)"); ::Rectangle = g.api("Rectangle","int(ptr hdc,int left,int top,int right,int bottom)"); ::SetMapMode = g.api("SetMapMode","int(ptr hdc,int iMode)"); ::GetMapMode = g.api("GetMapMode","int(ptr hdc)"); ::SetViewportOrgEx = g.api("SetViewportOrgEx","bool(ptr hdc,int x,int y,struct& lpPoint)"); ::GetViewportOrgEx = g.api("GetViewportOrgEx","bool(ptr hdc,struct& lpPoint)"); ::SetWindowOrgEx = g.api("SetWindowOrgEx","bool(ptr hdc,int x,int y,struct& lpPoint)"); ::GetWindowOrgEx = g.api("GetWindowOrgEx","bool(ptr hdc,struct& lpPoint)"); ::SetViewportExtEx = g.api("SetViewportExtEx","bool(ptr hdc,int nXExtent,int nYExtent,struct& lpSize)"); ::SetWindowExtEx = g.api("SetWindowExtEx","bool(ptr hdc,int nXExtent,int nYExtent,struct& lpSize)"); ::GetViewportExtEx = g.api("GetViewportExtEx","bool(ptr hdc,struct& lpSize)"); ::GetWindowExtEx = g.api("GetWindowExtEx","bool(ptr hdc,struct& lpSize)"); ::DPtoLP = g.api("DPtoLP","int(ptr hdc,struct& lpPoint,int c)"); ::LPtoDP = g.api("LPtoDP","int(ptr hdc,struct& lpPoint,int c)"); ::SetROP2 = g.api("SetROP2","int(ptr hdc,int rop2)"); // HWND SetCapture(HWND hWnd); ::SetCapture = u.api("SetCapture","addr(addr hWnd)"); //BOOL ReleaseCapture(); ::ReleaseCapture = u.api("ReleaseCapture","bool()"); BOOL GetTextMetrics(HDC hdc,LPTEXTMETRIC lptm); ::GetTextMetrics = u.api("GetTextMetrics","bool(ptr hdc,struct &lptm)"); //矩形相关 ::InvertRect = u.api("FrameRect","int(ptr hdc,struct& lpRect,pointer hBrush)"); ::SetRect = u.api("SetRect","bool(struct& lpRect,int xLeft,int yTop,int xRight,int yBottom)"); ::InflateRect = u.api("InflateRect","bool(struct& lpRect,int dx,int dy)"); ::SetRectEmpty = u.api("SetRectEmpty","bool(struct& lpRect)"); ::CopyRect = u.api("CopyRect","bool(struct& lprcDst,struct& lprcSrc)"); ::IntersectRect = u.api("IntersectRect","bool(struct& lpRect,struct& lprcSrc1,struct& lprcSrc2)"); ::UnionRect = u.api("UnionRect","bool(struct& lprcDst,struct& lprcSrc1,struct& lprcSrc2)"); ::IsRectEmpty = u.api("IsRectEmpty","bool(struct& lpRect)"); ```