> > The Win32 pure_api demo draws a filled triangle using> > agg::renderer_scanline_p_solid. How do you render a outline triangle ?Change> > the renderer or use a different technique entirely ? The rounded_rectexample> > does just this ->> This demo only shows how to create a rendering buffer "manually", withoutusing> agg_platform_support stuff. I think it‘s a good idea to explain once the> principle of interaction between physical memory and renderers and then> concentrate on more complicated stuff in all other examples. The exampleshide> creating the buffer and attaching it to agg::rendering_buffer. In otherwords,> in all platform independent examples the agg::rendering_buffer object(attached> and ready to use) is already provided. When you understand how to createand> use agg::rendering_buffer (which is shown in the pure_api) you will easilyread> all other examples based on agg::platform_support.>
时间: 2024-10-17 17:43:57