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:
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
Post a Comment