發表文章

目前顯示的是有「RGN」標籤的文章

Geometric algorithms region pointer Whether the coordinates are within the shape area algorithm How to check if a given point lies inside or outside a polygon?

How to create an algorithm that can determine if a point is contained in an irregular polygon defined by the points of its corners ray casting algorithm https://en.wikipedia.org/wiki/Ray_casting https://www.researchgate.net/figure/Illustration-of-the-Ray-Casting-Algorithm_fig5_259468883 https://gistbok.ucgis.org/bok-topics/geometric-primitives-and-algorithms Computational Geometry Algorithms and Applications https://www.geeksforgeeks.org/geometric-algorithms/ https://www.geeksforgeeks.org/c-program-find-area-triangle/ https://demonstrations.wolfram.com/AnEfficientTestForAPointToBeInAConvexPolygon/ https://www.sciencedirect.com/science/article/pii/S0925772115000759 https://www.geeksforgeeks.org/how-to-check-if-a-given-point-lies-inside-a-polygon/ ray casting algorithm Geometric algorithms region pointer Whether the coordinates are within the shape area https://www.scribd.com/document/56214673/Ray-Casting-Algorithm https://rosettacode.org/wiki/Ray-casting_algorithm https://stackoverflow....

gui window regions SetWindowRgn SelectClipPath SelectClipRgn OffsetClipRgn ExcludeClipRect IntersetClipRec SelectClipPath

 gui window regions   SetWindowRgn SelectClipPath     OffsetClipRgn ExcludeClipRect   SelectClipPath ExcludeClipRect https://www.codeproject.com/Articles/2095/A-Guide-to-WIN32-Clipping-Regions https://stackoverflow.com/questions/38891350/search-icon-in-edit-control-overlapped-by-input-area https://learn.microsoft.com/zh-tw/windows/win32/api/wingdi/nf-wingdi-excludecliprect?redirectedfrom=MSDN https://stackoverflow.com/questions/70930821/mfc-how-to-add-clear-button-inside-cedit https://www.codeproject.com/Articles/35722/MFC-Feature-Pack-CMFCEditBrowseCtrl https://www.codeproject.com/Articles/738/Enhanced-Focus-Edit-Control-with-Input-Filtering https://stackoverflow.com/questions/17941527/changing-the-background-of-an-edit-control-on-getting-focus https://stackoverflow.com/questions/8695185/why-my-edit-control-looks-odd-in-my-win32-c-application-using-no-mfc  https://www.codeproject.com/Articles/20193/The-Ultimate-Toolbox-Edit-Control-Extensions htt...

algorithm windows dc handle system HWND selectObject Device Contexts

 algorithm windows dc handle system HWND selectObject Device Contexts https://learn.microsoft.com/zh-tw/cpp/mfc/relationship-between-a-cpp-window-object-and-an-hwnd?view=msvc-170 capable of drawing lines, arrows, rectangles, and ellipses. It is also capable of writing and editing text, cut-and-paste figures as well as saving and loading the drawings. The following screenshot depicts a classic example of the Draw Application: https://learn.microsoft.com/en-us/windows/win32/gdi/using-filled-shapes https://www.codeproject.com/articles/1698/ms-spy-style-window-finder?fid=3083&df=90&mpp=25&prof=true&sort=position&view=normal&spc=relaxed&fr=26 https://www.codeproject.com/Articles/8216/Writing-Win32-Apps-with-C-V2-part-1 https://www.codeproject.com/Articles/1944/Guide-to-WIN32-Regions windows mouse  notification system  region pointer grab cursor HDC Handle of Window Handle to Device Context http://www.cs.sjsu.edu/~pearce/modules/lectures/mfc/chp4/cha...

mouse cursor movements showing a trail of cursors cursor trail tracking animated cursor effects

 mouse cursor movements  showing a trail of cursors cursor trail tracking animated cursor effects 8 CSS & JavaScript Snippets for Creating Unique Cursor Effects https://speckyboy.com/css-javascript-cursor-effects/ https://onextrapixel.com/20-codepen-solutions-for-awesome-mouse-effects/ 20 Codepen Solutions for Awesome Mouse Effects https://codemyui.com/rainbow-mouse-trail/

delphi controls setwindowrgn windows api "rotary" image animated border size window SetRectEmpty SetWindowRgn SubtractRect TabbedTextOutA TabbedTextOutW

https://stackoverflow.com/questions/5160151/how-can-i-control-the-border-size-of-a-window https://stackoverflow.com/questions/8972761/delphi-cutting-glass https://stackoverflow.com/questions/11675374/how-to-make-tframe-with-rounded-corners https://stackoverflow.com/questions/5755719/rounded-and-titled-tpanel-in-delphi-7 https://github.com/juliomar/awesome-delphi/tree/master#graphic AggPas http://www.crossgl.com/aggpas/documentation/index.html AggPas - Delphi VCL API High Fidelity 2D Graphics Object Pascal port of a High Quality Rendering Engine for C++ (D2009 & D2010) of AggPas library AggPas is an Object Pascal native port of the Anti-Grain Geometry library - AGG, originally Graphics32 https://github.com › graphics32 Graphics32 is a graphics library for Delphi and Lazarus. Optimized for 32-bit pixel formats, it provides fast operations with pixels and graphic primitives Image32 Image32 - A 2D graphics library written in Delphi Pascal https://github.com › AngusJohnson › I...ima...

Window Content Size Avail Content Region GetContentRegionAvail Content Region x window system device context mouse CursorPosition position calculation area GetContentRegionAvail

 https://www.codeproject.com/Articles/1944/Guide-to-WIN32-Regions  https://github.com/ocornut/imgui/issues/1281 https://github.com/ocornut/imgui Content Region shape windows MS rgn GetWindowRgn  GetContentRegionMaxAbs / GetContentRegionAvail https://github.com/ocornut/imgui/issues/1490 https://en.wikipedia.org/wiki/Pick%27s_theorem shape Content Region Coordinates in the graph Position area Region Avail Using pgfplots to make economic graphs shape Region graph area Region Avail make economic graphs Find Area Between Curves Graphs How to Translate a Shape on a Coordinate Grid Using a Vector whether two shapes overlap window MS  shapes are overlapping https://www.geeksforgeeks.org/find-two-rectangles-overlap/ Retrieving Raw Mouse Input with GLFW

Graphics Windows GDI Region framergn FillRgn FrameRgn InvertRgn

 Graphics Windows GDI Region  framergn FillRgn FrameRgn InvertRgn https://learn.microsoft.com/en-us/windows/win32/gdi/region-functions  https://github.com/wuxc/pywin32doc/blob/master/md/win32gui.md framergn regions setcapture windowfrompoint ptinregion offsetrgn https://www.codeproject.com/Articles/1944/Guide-to-WIN32-Regions https://learn.microsoft.com/en-us/windows/win32/gdi/combining-regions https://www.codeproject.com/Articles/291/Creating-Holes-in-a-Window https://www.flipcode.com/archives/Win32_Window_Skinning.shtml   WindowPicker - Pick any window using mouse and highlight window region https://binaryworld.net/Main/CodeDetail.aspx?CodeId=3753 https://www.codeproject.com/Tips/127813/Using-SetCapture-and-ReleaseCapture-correctly-usua http://www.flounder.com/setwindowrgn.htm Custom VCL Control for getting window handles. (Spy++ style reticle) – Chapman World https://chapmanworld.com/2018/10/04/custom-vcl-control-for-getting-window-handles-spy-style-reticle/

round rect Corner button rectangular region rounded corners Round Border CreateRoundRectRgn rectangular region rounded corners.

  round rect Corner button rectangular region rounded corners Round Border The CreateRoundRectRgn function creates a rectangular region with rounded corners. CreatePolyPolygonRgn CreatePolygonRgn CreateRectRgn CreateRectRgnIndirect DeleteObject ExtCreateRegion GetRegionData Region Functions Regions Overview SelectObject https://stackoverflow.com/questions/11675374/how-to-make-tframe-with-rounded-corners https://github.com/pauloalvis/Delphi-PraButtonStyle https://stackoverflow.com/questions/28486521/rounded-edges-in-button-c-sharp-winforms https://stackoverflow.com/questions/21121968/how-do-i-create-button-with-rounded-corners-edges-on-winform-c https://stackoverflow.com/questions/5755719/rounded-and-titled-tpanel-in-delphi-7 https://stackoverflow.com/questions/11675374/how-to-make-tframe-with-rounded-corners https://stackoverflow.com/questions/42345751/firemonkey-hide-overflow-of-round-corners-using-stylebook https://stackoverflow.com/questions/61159652/is-there-a-way-to-shape-a-bu...

delphi form Transparent blur Msimg32.dll AlphaBlend

 https://stackoverflow.com/questions/5964701/how-to-draw-a-translucent-image-on-a-form transparent background http://delphiexamples.com/forms/transpform.html  https://sourceforge.net/projects/widget32/ https://parnassus.co/transparent-graphics-with-pure-gdi-part-2-and-introducing-the-ttransparentcanvas-class/  Form com área transparente no Lazarus/Windows  http://fanzinepas.blogspot.com/2012/06/form-com-area-transparente-no.html THandle CreateRectRgn CreateRectRgn SetWindowRgn Winuser.h https://www.codeguru.com/cplusplus/transparent-listbox/ https://stackoverflow.com/questions/48511634/partially-transparent-window-opengl-win32   winapi Transparent form layer GetMonitorInfo https://www.experts-exchange.com/articles/1783/Win32-Semi-Transparent-Window.html Layered Windows https://docs.microsoft.com/en-us/previous-versions/ms997507(v=msdn.10)?redirectedfrom=MSDN https://www.codeproject.com/Articles/1822/Per-Pixel-Alpha-Blend-in-C  http://suyamasoft.blue.coocan....

How can I change the background color of a button WinAPI C++

 Rectangles, Regions, and Clipping rectangular region CreateRoundRectRgn   https://miffyzzang.tistory.com/378 CreateWindow("button","",WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON | BS_BITMAP | BS_OWNERDRAW,   100,100,70,30,hWnd,(HMENU)IDC_BUTTON, hInst,NULL); Creating Owner-Drawn Controls - Windows Programming BS_OWNERDRAW   SetButtonStyle SetWindowRgn https://stackoverflow.com/questions/18745447/how-can-i-change-the-background-color-of-a-button-winapi-c https://www.pablosoftwaresolutions.com/html/cimagebutton.html #pragma comment( \     linker, \     "/manifestdependency:\"type='win32' \     name='Microsoft.Windows.Common-Controls' \     version='6.0.0.0' \     processorArchitecture='*' \     publicKeyToken='6595b64144ccf1df' \     language='*'\"") https://www.pablosoftwaresolutions.com/html/ccolorbutton.html https://stackoverflow.com/questions/17678261/how-t...

...show controls with rounded corners?

 https://www.swissdelphicenter.ch/en/showcode.php?id=921  www.teamb.com  Autor: P. Below Homepage: http://www.teamb.com [ Print tip ]          Tip Rating (38):            procedure MakeRounded(Control: TWinControl); var   R: TRect;   Rgn: HRGN; begin   with Control do   begin     R := ClientRect;     rgn := CreateRoundRectRgn(R.Left, R.Top, R.Right, R.Bottom, 20, 20);     Perform(EM_GETRECT, 0, lParam(@r));     InflateRect(r, - 5, - 5);     Perform(EM_SETRECTNP, 0, lParam(@r));     SetWindowRgn(Handle, rgn, True);     Invalidate;   end; end; procedure TForm1.Button1Click(Sender: TObject); begin   // TMemo:   Memo1.BorderStyle := bsNone;   MakeRounded(Memo1);   // TEdit:   Edit2.BorderStyle := bsNone;   MakeRounded(Edit2);   // TPanel:   Make...