![]() |
【转帖】gradient in hatches
gradient in hatches
gradient in hatches we're trying to map the gradient applied in the hatches in our app. the api's exposed in oddbhatch related to gradient seems to be missing some vital information, such as: is the gradient linear or radial? we examined the evaluategradientcolorat() method, but its not obvious to us as to how to map a 2d space to a single value, which is to be provided as input to this? oda guys, how do you do it? thanks gradientname() returns string indentifying one of 9 predefined gradients: linear cylindrical inverted cylindrical spherical hemispherical curved inverted spherical inverted hemispherical inverted curved sergey slezkin then how does one handle any user-defined gradient hatches? as i know autocad up to 2006 do not support user-defined gradients. maybe they will be supported in 2007. and corresponding interface methods were introduced into arx beforehand. from arx they migrated to dd. sergey slezkin thanks sergey. also wanted to enquire, if there is some standard place from where we can get the parameters for mapping these predefined gradients (for ex. radius length, position of radius and how it all changes with angle and centered peoperty etc). |
所有的时间均为北京时间。 现在的时间是 01:55 AM. |