Twinside / Rasterific

A drawing engine in Haskell
BSD 3-Clause "New" or "Revised" License
140 stars 11 forks source link

Images #9

Closed jeffreyrosenbluth closed 10 years ago

jeffreyrosenbluth commented 10 years ago

Is it possible to rotate an image?

Twinside commented 10 years ago

It should be possible through the withTransformation function.

the drawImage & drawImageAtSize are weird beast, because the image drawing is implemented as a texture, and there is a need to keep the texture and the geometry synchronized, hence the use of withTransformation.

jeffreyrosenbluth commented 10 years ago

Thanks, I'll have a look. btw - I think diagrams-rasterific is pretty much finished and in good working order! Once the image branch gets merged in that is.

Make some diagrams :D

On Tue, Apr 8, 2014 at 11:54 AM, Vincent notifications@github.com wrote:

It should be possible through the (withTransformation)[ https://github.com/Twinside/Rasterific/blob/master/src/Graphics/Rasterific.hs#L233] function.

the drawImage & drawImageAtSize are weird beast, because the image drawing is implemented as a texture, and there is a need to keep the texture and the geometry synchronized, hence the use of withTransformation.

Reply to this email directly or view it on GitHubhttps://github.com/Twinside/Rasterific/issues/9#issuecomment-39865657 .

Twinside commented 10 years ago

Once diagrams-rasterific is ready, I'll upload the new version of Rasterific on Hackage

jeffreyrosenbluth commented 10 years ago

Great, thank - I'll let you know when it's ready

On Tue, Apr 8, 2014 at 4:11 PM, Vincent notifications@github.com wrote:

Once diagrams-rasterific is ready, I'll upload the new version of Rasterific on Hackage

Reply to this email directly or view it on GitHubhttps://github.com/Twinside/Rasterific/issues/9#issuecomment-39895859 .

jeffreyrosenbluth commented 10 years ago

Everything has been merged into head necessary for diagrams-rasterific. So anytime you want to upload Rasterific / FontyFruity to hackage that would be great.

On Tue, Apr 8, 2014 at 4:54 PM, Jeffrey Rosenbluth < jeffrey.rosenbluth@gmail.com> wrote:

Great, thank - I'll let you know when it's ready

On Tue, Apr 8, 2014 at 4:11 PM, Vincent notifications@github.com wrote:

Once diagrams-rasterific is ready, I'll upload the new version of Rasterific on Hackage

Reply to this email directly or view it on GitHubhttps://github.com/Twinside/Rasterific/issues/9#issuecomment-39895859 .

Twinside commented 10 years ago

Aaaand Done