wpf - Filling a trapezoid with a bitmap brush -


i looking fill trapezoid bitmap brush appears 3d-like. map each of vertices corners of bitmap , paint accordingly.

i know there nothing readily available in wpf looking quick , dirty solution gives @ least simulation of effect. ideas welcome except i'd refrain using wpf-3d (unless proposed solution utterly simple).

you're looking planerator.

it control uses wpf's 3d capabilities create "plane projection" of it's contents:

enter image description here

usage:

<pl:planerator rotationy="35">     <stackpanel orientation="horizontal" ... >         <stackpanel>             <label  fontsize="24" content=" " foreground="#ff000000"/>              <border ... >                 <mediaelement x:name="mymediaelement" />             </border>         </stackpanel>          <listbox ... />      </stackpanel> </pl:planerator> 

full source code included in link above.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -