win2d Questions
1
Solved
I need a reliable method to get the height of the text contained in a RichTextBlock, even before it is actually drawn on the scene.
Using the normal Measure() method produces a weird result, as it...
Congruence asked 22/4, 2019 at 21:33
2
Solved
I am writing an application for Windows 10 using Win2D and I'm trying to draw a shape which scales dynamically to fit whatever text happens to be in it.
What I'd like to do is work out how big a p...
2
Solved
I need to use win2D in my cppwinrt project. Using the Win2D sample file as a model I’ve tried to mimic its setup, putting in the package file for win2d from that project, duplicating the custom bui...
2
Solved
I've been working on an app that can provide Color Replacement, and had a lot of help from @Jet Chopper on a solution. He's provided me the following code which essentially uses a ControlSpectrum c...
Restivo asked 3/2, 2018 at 15:19
2
Solved
<Grid>
<Image x:Name="BackgroundImage" Source="/Assets/background.png" />
<Rectangle x:Name="ClippingRect" Margin="50" Fill="#30f0" />
</Grid>
How do I apply alpha mask,...
Loam asked 24/1, 2017 at 12:10
1
Solved
I would like to know how to calculate the height of a given a font (with its properties, like size, weight, style...) in a Window Universal Application using Win2D.
I previously used a CanvasTextL...
3
Solved
How can I apply an effect to a ListView where the top 30px graduate from fully transparent to fully opaque? The idea is that as you scroll down, the top items gradually fade away.
I am building a ...
Determinative asked 13/7, 2016 at 20:24
1
I have a windows universal app where I am rendering a scene with DirectX. I want to make use of the Scrollviewer and therefore I render my scene behind the Scrollviewer and want to calculate the sc...
Grape asked 7/8, 2015 at 15:26
1
© 2022 - 2024 — McMap. All rights reserved.