Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
3 votes
1 answer
105 views

I tried drawing a rounded rectangle via the renderTarget, but encountered an issue where the image disappears every other frame—what could be the cause? #include <d2d1_1.h> #include <d2d1_2.h&...
3 votes
1 answer
169 views

I tried a lot of png images and all of them fade in color Window on the left, original image on the right #include <Windows.h> #include <d3d11.h> #include <d3d11_4.h> #include <...
2 votes
1 answer
314 views

I am developing a desktop application on WinUI 3. My task is to play a fade animation on a TextBlock (smoothly lower the opacity to zero), then perform some action (for example, change the text), and ...
1 vote
0 answers
262 views

I have the following code written in C#/WinUI 3: <Grid Name="_MainGrid"> <Rectangle Name="_Test" Width="500" Height="500" Fill="Green"/&...
0 votes
2 answers
2k views

can you please explain how to use shadows in a desktop application on WinUI 3? I have looked at the MSDN documentation and it suggests using the ThemeShadow and DropShadow classes. I figured out the ...
0 votes
2 answers
183 views

I am using DirectComposition in conjunction with DirectManipulation to render things. I have some text present on the DirectCompositionVisuals which are chained vertically. I want to pull the pixel ...
0 votes
0 answers
100 views

I am new to windows world and trying to learn direct manipulation. I am able to handle the scroll and screen updating in that case. With zoom direct manipulation maps existing pixel to new pixel size. ...
0 votes
0 answers
405 views

I am trying to draw cppwinrt Lottie animation into my Direct2D app, but can't understand how to do this... It's possible draw this animation (WinRT::Windows::UI::Composition::Visual) and get data ...
0 votes
0 answers
304 views

I am trying to use this Acrylic Effect in an OpenGL/GLFW Context, the only approach I can think of is rendering the backdrop of the window by Direct Composition and saving it in memory, which can be ...
0 votes
2 answers
628 views

I just implemented dcomp into my d3d11 application, and after attempting to compile I was met with 1.5k errors all related to d2d. I don't use d2d in my application at all and was confused, apon ...
0 votes
0 answers
521 views

I am porting a toolkit (namely the EFL) engine from pure GDI to Direct2D. More precisely, I am adding a Direct2D engine. The purpose is to have a faster engine than the GDI one. This toolkit is cross ...
1 vote
0 answers
442 views

My main goal is to create Acrylic effect like in Windows UWP Settings UI in C++ for windows. For creating back visual I'm using private API DwmpCreateSharedVirtualDesktopVisual, this works. But now ...
2 votes
1 answer
771 views

I was trying to port a C# code from .NET 4.8 to .NET 5, older version of .NET was using Microsoft.Windows.SDK.Contracts, In .NET 5 Microsoft.Windows.SDK.Contracts is replaced by Target Framework ...
0 votes
1 answer
90 views

I am writing a Win32 application (C++) using DirectComposition and DirectManipulation. I have sucessfully created a my own Scroll View control by setting viewport and content visuals. It all works ...
1 vote
0 answers
583 views

Visuals in UWP/WinUI can have a Clip applied to them which is an instance of a CompositionClip. One of the types of CompositionClip is a GeometricClip which can have a Geometry of various types ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /