all groups > dotnet windows forms > august 2005 >
You're in the

dotnet windows forms

group:

Scale transform and texture bitmaps


Scale transform and texture bitmaps Alejandro Serrano
8/31/2005 12:00:00 AM
dotnet windows forms:
I've got a GDI+ image made of squares, circles and basic shapes. When I make an ScaleTransform on
it, everything works fine, but texture bitmaps are also scaled, so it looks horrible!! Is there any
way to scale the image but not the textures brush?

Thanks in advance,
Re: Scale transform and texture bitmaps Lloyd Dupont
9/1/2005 12:00:00 AM
good question hey!
while I haven't test at all, a quick glance at TextureBrush' s propertie
revealed a 'Transform' property which could very well be the key to the
solution of your problem ;-)

--
"A preoccupation with the next world pretty clearly signals an inability to
cope credibly with this one."

[quoted text, click to view]

AddThis Social Bookmark Button