blend

Poor results with source-over alpha blending (HTML5 canvas)

两盒软妹~` 提交于 2019-12-04 05:26:57
Edit: I don't necessarily need a solution to this problem--rather I'd like to understand why it's occurring. I don't see why I should be getting the odd results below... Although this question is directed towards an issue I'm having with an HTML5 canvas application, I think the problem is less specific. I have an HTML5 canvas app that allows you to stamp images on the screen. These images are 32bit PNG's, so I'm working with transparency. If I stamp a highly transparent image in the same location many times (roughly 100), I end up with an absolutely terrible result: The color of the image that

Blend for Visual Studio 2012 - No design view

夙愿已清 提交于 2019-12-04 00:09:33
I have a normal WPF MVVM-Light application, that I tried opening in Blend (first time I used Blend for Visual Studio 2012 on my Windows 8 machine). However, I'm not able to open the Design View, which pretty much renders Blend useless. One issue I read was that it happens when your application's Output Type is set to Console, which isn't the case for me. Anyone else seen this? Apparantly, Blend included in VS2012 only supports Windows 8 Apps. However, there's a preview been released for Blend + Sketchflow that allows other platforms here : http://www.microsoft.com/en-us/download/details.aspx

Comparison Visual studio 2015 and Blend for Visual Studio [closed]

核能气质少年 提交于 2019-12-03 23:43:00
Closed . This question is opinion-based. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it can be answered with facts and citations by editing this post . Closed 3 years ago . I am a newbie about Windows store apps development. What is the main function and benefits of Blend for Visual Studio. There is already a XAML designer and all tools embedded in Visual Studio. Why there is a need for Blend for Visual Studio? What is the main advantage of Blend for Visual Studio? Because in many videos I watched, People prefer to use Blend for

Checking image feature alignment

≡放荡痞女 提交于 2019-12-03 21:28:19
I have written my own software in C# for performing microscopy imaging. See this screenshot . The images that can be seen there are of the same sample but recorded through physically different detectors. It s crucial for my experiments that these images be exactly aligned. I thought the easiest would be to somehow blend/substract the two bitmaps but this doesn't give me good results. Therefore I am looking for a better way to do this. It might be useful to point out that the images exist as arrays of intensities in memory and are converted to bitmaps for on-screen painting to my self written

Convert a geometry to a path in wpf (with blend ?)

狂风中的少年 提交于 2019-12-03 20:31:32
问题 my question is simple. how can I convert this code: <Path> <Path.Data> <EllipseGeometry Center="5,4" RadiusX="4" RadiusY="4"/> </Path.Data> </Path> into something like <Path Data="M 0 5 L 3 10 10 0"/> (please note that the second one produces a checkmark, not an ellipse. It was just for illustration purposes, and my goal is just that: find what sequence gives an ellipse) edit: I also read the doc about Bezier curves in xaml and am fully aware that I could simply produce the right code by

DesignTime data not showing in Blend when bound against CollectionViewSource

北战南征 提交于 2019-12-03 06:08:25
I have a datatemplate for a viewmodel where an itemscontrol is bound against a CollectionViewSource (to enable sorting in xaml). <DataTemplate x:Key="equipmentDataTemplate"> <Viewbox> <Viewbox.Resources> <CollectionViewSource x:Key="viewSource" Source="{Binding Modules}"> <CollectionViewSource.SortDescriptions> <scm:SortDescription PropertyName="ID" Direction="Ascending"/> </CollectionViewSource.SortDescriptions> </CollectionViewSource> </Viewbox.Resources> <ItemsControl ItemsSource="{Binding Source={StaticResource viewSource}}" Height="{DynamicResource equipmentHeight}" ItemTemplate="

Change User Agent on WPF/XAML Web Browser control?

风流意气都作罢 提交于 2019-12-02 18:24:43
问题 Is it possible to change the user agent on the XAML webbrowser control? The code as currently written looks like this: <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="WpfApplication5.Window1" x:Name="Window" Title="Test01 - Browser" Width="1024" Height="600"> <Grid x:Name="LayoutRoot"> <WebBrowser x:Name="webBrowser" Source="http://gmail.com"/> </Grid> </Window> Is it possible to change the user agent of

Why the leading “#FF” in hexadecimal color values?

纵饮孤独 提交于 2019-12-01 05:44:00
I'm using Expression Blend 3 and writing some of the XAML by hand, specifically the color values of controls. I have a list of RGB colors already converted to hexadecimal. I just need to insert the hex value into my XAML. Initially, I pasted the hex value from an email into the appropriate properties. Before I could finish, Blend started having a fit, underlining the color property with a squiggle and a tooltip telling me "Token is not valid." After some research, I found placing a pound sign ("#") in front of the hex value resolved this issue. In the process of researching this problem, I

Blend in Visual Studio 2015 - No Design View

拥有回忆 提交于 2019-12-01 04:29:45
I am tying to build an app in Visual Studio 2015 in C# and I want to create a User Interface using Blend. But it shows me only the code in MainPage.xaml, not the graphic view. What should I do ? Here's how it looks Craig Taylor You have to change the target version of the app to build 10240. The default is set to build 10586, and the designer will not load. JRJ Follow these steps: Close the editor on the page. Right-click on the HTML page to be editted in the "Solution Explorer". Select Open With . Find the entry HTML (Web Forms) Editor and click on it. (Optional) Click Set as Default . Click

CALayer compositingFilter, iOS 5 and CoreImage

烈酒焚心 提交于 2019-12-01 04:26:56
The API Docs for CALayer state: (I'm not sure if the docs are up to date??) compositingFilter A CoreImage filter used to composite the receiver’s contents with the background. Animatable. @property(retain) id compositingFilter ... Special Considerations While the CALayer class exposes this property, Core Image is not available in iOS. Currently the filters available for this property are undefined. But CoreImage IS available on iOS5, so could I add a CoreImage filter to a CALayer and add that layer to another layer and expect it to work? I want to add a sublayer to a layer and have it use a