Показать сообщение отдельно
Старый 19.08.2011, 17:38
i.o. вне форума Посмотреть профиль Отправить личное сообщение для i.o. Найти все сообщения от i.o.
  № 4  
Ответить с цитированием
i.o.
 
Аватар для i.o.

Регистрация: Apr 2010
Адрес: Earth
Сообщений: 1,897
Видимо ты не прочитал апдейт
Цитата:
*Update*

Sometimes you’re an idiot and you spend a lot of time reinventing the wheel because you misread one little line of documentation. This is one of those times where I get to be that idiot. I invented a solution for bilinear resampling in Flash Player when I didn’t need to. You can actually get the same results pretty simply using just BitmapData.draw() method with smoothing on (I had read this didn’t work when down sizing), but it requires creating a temp BitmapData object if the source you’re feeding the BitmapData.draw() method is not another BitmapData object (i.e. a DisplayObject). Here’s what that scenario would look like
Другими словами, он говорит, что поспешил и изобрел велосипед. Что делать, в принципе, не нужно было, т.к. Адоби уже позаботилась об этом, предоставив аргумент smothing в BitmapData.draw(), о чем я и написал выше.


Последний раз редактировалось i.o.; 19.08.2011 в 17:42.