├── .gitignore ├── README.md ├── agdoc ├── LICENSE ├── agdoc.cpp ├── agdoc_basics.cpp ├── agdoc_basics.h ├── agdoc_code_colorer.cpp ├── agdoc_code_colorer.h ├── agdoc_content_processor.cpp ├── agdoc_content_processor.h ├── agdoc_cross_reference_processor.cpp ├── agdoc_cross_reference_processor.h ├── agdoc_index_storage.cpp ├── agdoc_index_storage.h ├── agdoc_label_collector.cpp ├── agdoc_label_collector.h ├── agdoc_link_structurizer.cpp ├── agdoc_link_structurizer.h ├── agdoc_list_structurizer.cpp ├── agdoc_list_structurizer.h ├── agdoc_pair_quote_structurizer.cpp ├── agdoc_pair_quote_structurizer.h ├── agdoc_paragraph_structurizer.cpp ├── agdoc_paragraph_structurizer.h ├── agdoc_project_processor.cpp ├── agdoc_project_processor.h ├── agdoc_replacement_processor.cpp ├── agdoc_replacement_processor.h ├── agdoc_singleton_structurizer.cpp ├── agdoc_singleton_structurizer.h ├── agdoc_structure_processor.cpp ├── agdoc_structure_processor.h ├── agdoc_table_structurizer.cpp ├── agdoc_table_structurizer.h ├── agdoc_toc_structurizer.cpp ├── agdoc_toc_structurizer.h └── test_project │ ├── doc_source │ ├── aqua.png │ ├── code.gif │ ├── download.gif │ ├── image_on_the_left.png │ ├── image_on_the_right.png │ ├── inline_image.png │ ├── link2.gif │ ├── replacements │ ├── table.gif │ ├── test.agdoc │ ├── test.agproj │ ├── test.agproj.agidx │ └── test.styles │ ├── formatting_example.agtempl │ └── syntax_highlighting.agtempl ├── agg-2.4 ├── AUTHORS ├── CMakeLists.txt ├── ChangeLog ├── Makefile ├── Makefile.AmigaOS ├── Makefile.am ├── Makefile.in.BeOS ├── Makefile.in.CYGWIN_NT-5.0 ├── Makefile.in.CYGWIN_NT-5.1 ├── Makefile.in.Darwin ├── Makefile.in.Darwin.SDL ├── Makefile.in.IRIX64 ├── Makefile.in.Linux ├── Makefile.in.Linux.SDL ├── Makefile.in.MINGW32_NT-5.0 ├── Makefile.in.MINGW32_NT-5.1 ├── Makefile.in.SunOS ├── NEWS ├── README ├── agg2d │ ├── agg2d.cpp │ └── agg2d.h ├── autogen.sh ├── bin │ ├── AggConfig.cmake.in │ ├── AggConfigOutBuild.cmake.in │ ├── FindAgg.cmake │ ├── FindEXPAT.cmake │ ├── FindFreetype.cmake │ └── UseAgg.cmake.in ├── cmake_install.html ├── configure.in ├── copying ├── distclean ├── doc │ └── AggCP-Gradients1_readme.txt ├── examples │ ├── BeOS │ │ ├── Makefile │ │ └── readme.txt │ ├── CMakeLists.txt │ ├── Makefile.am │ ├── X11 │ │ ├── Makefile │ │ └── readme.txt │ ├── aa_demo.cpp │ ├── aa_test.cpp │ ├── agg2d_demo.cpp │ ├── alpha_gradient.cpp │ ├── alpha_mask.cpp │ ├── alpha_mask2.cpp │ ├── alpha_mask3.cpp │ ├── art │ │ ├── agg.bmp │ │ ├── agg.ppm │ │ ├── compositing.bmp │ │ ├── compositing.ppm │ │ ├── line_patterns.bmp.zip │ │ ├── shapes.txt │ │ ├── spheres.bmp │ │ ├── spheres.ppm │ │ └── timesi.zip │ ├── bezier_div.cpp │ ├── blend_color.cpp │ ├── blur.cpp │ ├── bspline.cpp │ ├── circles.cpp │ ├── component_rendering.cpp │ ├── compositing.cpp │ ├── compositing2.cpp │ ├── conv_contour.cpp │ ├── conv_dash_marker.cpp │ ├── conv_stroke.cpp │ ├── distortions.cpp │ ├── flash_rasterizer.cpp │ ├── flash_rasterizer2.cpp │ ├── freetype_test.cpp │ ├── gamma_correction.cpp │ ├── gamma_ctrl.cpp │ ├── gamma_tuner.cpp │ ├── gouraud.cpp │ ├── gouraud_mesh.cpp │ ├── gpc_test.cpp │ ├── gradient_focal.cpp │ ├── gradients.cpp │ ├── gradients_contour.cpp │ ├── graph_test.cpp │ ├── idea.cpp │ ├── image1.cpp │ ├── image_alpha.cpp │ ├── image_filters.cpp │ ├── image_filters2.cpp │ ├── image_fltr_graph.cpp │ ├── image_perspective.cpp │ ├── image_resample.cpp │ ├── image_transforms.cpp │ ├── interactive_polygon.cpp │ ├── interactive_polygon.h │ ├── line_patterns.cpp │ ├── line_patterns_clip.cpp │ ├── line_thickness.cpp │ ├── lion.cpp │ ├── lion_lens.cpp │ ├── lion_outline.cpp │ ├── macosx_carbon │ │ ├── Makefile │ │ └── readme.txt │ ├── macosx_sdl │ │ ├── Makefile │ │ └── readme.txt │ ├── make_arrows.cpp │ ├── make_gb_poly.cpp │ ├── mol_view.cpp │ ├── multi_clip.cpp │ ├── parse_lion.cpp │ ├── pattern_fill.cpp │ ├── pattern_perspective.cpp │ ├── pattern_resample.cpp │ ├── perspective.cpp │ ├── pixel_formats.h │ ├── polymorphic_renderer.cpp │ ├── raster_text.cpp │ ├── rasterizer_compound.cpp │ ├── rasterizers.cpp │ ├── rasterizers2.cpp │ ├── rounded_rect.cpp │ ├── scanline_boolean.cpp │ ├── scanline_boolean2.cpp │ ├── simple_blur.cpp │ ├── svg_viewer │ │ ├── agg_svg_exception.h │ │ ├── agg_svg_parser.cpp │ │ ├── agg_svg_parser.h │ │ ├── agg_svg_path_renderer.cpp │ │ ├── agg_svg_path_renderer.h │ │ ├── agg_svg_path_tokenizer.cpp │ │ ├── agg_svg_path_tokenizer.h │ │ └── svg_test.cpp │ ├── trans_curve1.cpp │ ├── trans_curve1_ft.cpp │ ├── trans_curve2.cpp │ ├── trans_curve2_ft.cpp │ ├── trans_polar.cpp │ ├── truetype_test.cpp │ ├── win32_api │ │ ├── Makefile │ │ ├── aa_demo │ │ │ ├── Makefile │ │ │ ├── aa_demo.dsp │ │ │ ├── aa_demo.dsw │ │ │ └── aa_demo.vcxproj │ │ ├── aa_test │ │ │ ├── Makefile │ │ │ ├── aa_test.dsp │ │ │ ├── aa_test.dsw │ │ │ └── aa_test.vcxproj │ │ ├── agg.props │ │ ├── agg2d_demo │ │ │ ├── Makefile │ │ │ └── agg2d_demo.vcxproj │ │ ├── alpha_gradient │ │ │ ├── Makefile │ │ │ ├── alpha_gradient.dsp │ │ │ ├── alpha_gradient.dsw │ │ │ └── alpha_gradient.vcxproj │ │ ├── alpha_mask │ │ │ ├── Makefile │ │ │ ├── alpha_mask.dsp │ │ │ ├── alpha_mask.dsw │ │ │ └── alpha_mask.vcxproj │ │ ├── alpha_mask2 │ │ │ ├── Makefile │ │ │ ├── alpha_mask2.dsp │ │ │ ├── alpha_mask2.dsw │ │ │ └── alpha_mask2.vcxproj │ │ ├── alpha_mask3 │ │ │ ├── Makefile │ │ │ ├── alpha_mask3.dsp │ │ │ ├── alpha_mask3.dsw │ │ │ └── alpha_mask3.vcxproj │ │ ├── bezier_div │ │ │ ├── Makefile │ │ │ ├── bezier_div.dsp │ │ │ ├── bezier_div.dsw │ │ │ └── bezier_div.vcxproj │ │ ├── blend_color │ │ │ ├── Makefile │ │ │ ├── blend_color.dsp │ │ │ ├── blend_color.dsw │ │ │ └── blend_color.vcxproj │ │ ├── blur │ │ │ ├── Makefile │ │ │ ├── blur.dsp │ │ │ ├── blur.dsw │ │ │ └── blur.vcxproj │ │ ├── bspline │ │ │ ├── Makefile │ │ │ ├── bspline.dsp │ │ │ ├── bspline.dsw │ │ │ └── bspline.vcxproj │ │ ├── circles │ │ │ ├── Makefile │ │ │ ├── circles.dsp │ │ │ ├── circles.dsw │ │ │ └── circles.vcxproj │ │ ├── component_rendering │ │ │ ├── Makefile │ │ │ ├── component_rendering.dsp │ │ │ ├── component_rendering.dsw │ │ │ └── component_rendering.vcxproj │ │ ├── compositing │ │ │ ├── Makefile │ │ │ ├── compositing.dsp │ │ │ ├── compositing.dsw │ │ │ ├── compositing.vcxproj │ │ │ └── readme │ │ ├── compositing2 │ │ │ ├── Makefile │ │ │ ├── compositing2.dsp │ │ │ ├── compositing2.dsw │ │ │ └── compositing2.vcxproj │ │ ├── conv_contour │ │ │ ├── Makefile │ │ │ ├── conv_contour.dsp │ │ │ ├── conv_contour.dsw │ │ │ └── conv_contour.vcxproj │ │ ├── conv_dash_marker │ │ │ ├── Makefile │ │ │ ├── conv_dash_marker.dsp │ │ │ ├── conv_dash_marker.dsw │ │ │ └── conv_dash_marker.vcxproj │ │ ├── conv_stroke │ │ │ ├── Makefile │ │ │ ├── conv_stroke.dsp │ │ │ ├── conv_stroke.dsw │ │ │ └── conv_stroke.vcxproj │ │ ├── distortions │ │ │ ├── Makefile │ │ │ ├── distortions.dsp │ │ │ ├── distortions.dsw │ │ │ ├── distortions.vcxproj │ │ │ └── readme │ │ ├── examples.dsw │ │ ├── examples.sln │ │ ├── flash_rasterizer │ │ │ ├── Makefile │ │ │ ├── flash_rasterizer.dsp │ │ │ ├── flash_rasterizer.dsw │ │ │ └── flash_rasterizer.vcxproj │ │ ├── flash_rasterizer2 │ │ │ ├── Makefile │ │ │ ├── flash_rasterizer2.dsp │ │ │ ├── flash_rasterizer2.dsw │ │ │ └── flash_rasterizer2.vcxproj │ │ ├── freetype_test │ │ │ ├── Makefile │ │ │ ├── freetype_test.dsp │ │ │ ├── freetype_test.dsw │ │ │ ├── freetype_test.vcxproj │ │ │ └── readme │ │ ├── gamma_correction │ │ │ ├── Makefile │ │ │ ├── gamma_correction.dsp │ │ │ ├── gamma_correction.dsw │ │ │ └── gamma_correction.vcxproj │ │ ├── gamma_ctrl │ │ │ ├── Makefile │ │ │ ├── gamma_ctrl.dsp │ │ │ ├── gamma_ctrl.dsw │ │ │ └── gamma_ctrl.vcxproj │ │ ├── gamma_tuner │ │ │ ├── Makefile │ │ │ ├── gamma_tuner.dsp │ │ │ ├── gamma_tuner.dsw │ │ │ └── gamma_tuner.vcxproj │ │ ├── gouraud │ │ │ ├── Makefile │ │ │ ├── gouraud.dsp │ │ │ ├── gouraud.dsw │ │ │ └── gouraud.vcxproj │ │ ├── gouraud_mesh │ │ │ ├── Makefile │ │ │ ├── gouraud_mesh.dsp │ │ │ ├── gouraud_mesh.dsw │ │ │ └── gouraud_mesh.vcxproj │ │ ├── gpc_test │ │ │ ├── Makefile │ │ │ ├── gpc_test.dsp │ │ │ ├── gpc_test.dsw │ │ │ └── gpc_test.vcxproj │ │ ├── gradient_focal │ │ │ ├── Makefile │ │ │ ├── gradient_focal.dsp │ │ │ ├── gradient_focal.dsw │ │ │ └── gradient_focal.vcxproj │ │ ├── gradients │ │ │ ├── Makefile │ │ │ ├── gradients.dsp │ │ │ ├── gradients.dsw │ │ │ ├── gradients.vcxproj │ │ │ └── settings.dat │ │ ├── graph_test │ │ │ ├── Makefile │ │ │ ├── graph_test.dsp │ │ │ ├── graph_test.dsw │ │ │ └── graph_test.vcxproj │ │ ├── idea │ │ │ ├── Makefile │ │ │ ├── idea.dsp │ │ │ ├── idea.dsw │ │ │ └── idea.vcxproj │ │ ├── image1 │ │ │ ├── Makefile │ │ │ ├── image1.dsp │ │ │ ├── image1.dsw │ │ │ ├── image1.vcxproj │ │ │ └── readme │ │ ├── image_alpha │ │ │ ├── Makefile │ │ │ ├── image_alpha.dsp │ │ │ ├── image_alpha.dsw │ │ │ ├── image_alpha.vcxproj │ │ │ └── readme │ │ ├── image_filters │ │ │ ├── Makefile │ │ │ ├── image_filters.dsp │ │ │ ├── image_filters.dsw │ │ │ ├── image_filters.vcxproj │ │ │ └── readme │ │ ├── image_filters2 │ │ │ ├── Makefile │ │ │ ├── image_filters2.dsp │ │ │ ├── image_filters2.dsw │ │ │ ├── image_filters2.vcxproj │ │ │ └── readme │ │ ├── image_fltr_graph │ │ │ ├── Makefile │ │ │ ├── image_fltr_graph.dsp │ │ │ ├── image_fltr_graph.dsw │ │ │ └── image_fltr_graph.vcxproj │ │ ├── image_perspective │ │ │ ├── Makefile │ │ │ ├── image_perspective.dsp │ │ │ ├── image_perspective.dsw │ │ │ ├── image_perspective.vcxproj │ │ │ └── readme │ │ ├── image_resample │ │ │ ├── Makefile │ │ │ ├── image_resample.dsp │ │ │ ├── image_resample.dsw │ │ │ ├── image_resample.vcxproj │ │ │ └── readme │ │ ├── image_transforms │ │ │ ├── Makefile │ │ │ ├── image_transforms.dsp │ │ │ ├── image_transforms.dsw │ │ │ ├── image_transforms.vcxproj │ │ │ └── readme! │ │ ├── line_patterns │ │ │ ├── Makefile │ │ │ ├── line_patterns.dsp │ │ │ ├── line_patterns.dsw │ │ │ └── line_patterns.vcxproj │ │ ├── line_patterns_clip │ │ │ ├── Makefile │ │ │ ├── line_patterns_clip.dsp │ │ │ ├── line_patterns_clip.dsw │ │ │ └── line_patterns_clip.vcxproj │ │ ├── line_thickness │ │ │ └── line_thickness.vcxproj │ │ ├── lion │ │ │ ├── Makefile │ │ │ ├── lion.dsp │ │ │ ├── lion.dsw │ │ │ └── lion.vcxproj │ │ ├── lion_lens │ │ │ ├── Makefile │ │ │ ├── lion_lens.dsp │ │ │ ├── lion_lens.dsw │ │ │ └── lion_lens.vcxproj │ │ ├── lion_outline │ │ │ ├── Makefile │ │ │ ├── lion_outline.dsp │ │ │ ├── lion_outline.dsw │ │ │ └── lion_outline.vcxproj │ │ ├── mol_view │ │ │ ├── Makefile │ │ │ ├── mol_view.dsp │ │ │ ├── mol_view.dsw │ │ │ ├── mol_view.vcxproj │ │ │ └── readme │ │ ├── multi_clip │ │ │ ├── Makefile │ │ │ ├── multi_clip.dsp │ │ │ ├── multi_clip.dsw │ │ │ └── multi_clip.vcxproj │ │ ├── pattern_fill │ │ │ ├── Makefile │ │ │ ├── pattern_fill.dsp │ │ │ ├── pattern_fill.dsw │ │ │ └── pattern_fill.vcxproj │ │ ├── pattern_perspective │ │ │ ├── pattern_perspective.dsp │ │ │ ├── pattern_perspective.dsw │ │ │ └── pattern_perspective.vcxproj │ │ ├── pattern_resample │ │ │ ├── Makefile │ │ │ ├── pattern_resample.dsp │ │ │ ├── pattern_resample.dsw │ │ │ └── pattern_resample.vcxproj │ │ ├── perspective │ │ │ ├── Makefile │ │ │ ├── perspective.dsp │ │ │ ├── perspective.dsw │ │ │ └── perspective.vcxproj │ │ ├── polymorphic_renderer │ │ │ ├── Makefile │ │ │ ├── polymorphic_renderer.dsp │ │ │ ├── polymorphic_renderer.dsw │ │ │ └── polymorphic_renderer.vcxproj │ │ ├── pure_api │ │ │ ├── StdAfx.cpp │ │ │ ├── StdAfx.h │ │ │ ├── pure_api.cpp │ │ │ ├── pure_api.dsp │ │ │ ├── pure_api.dsw │ │ │ ├── pure_api.h │ │ │ ├── pure_api.ico │ │ │ ├── pure_api.rc │ │ │ ├── pure_api.vcxproj │ │ │ ├── resource.h │ │ │ └── small.ico │ │ ├── raster_text │ │ │ ├── Makefile │ │ │ ├── raster_text.dsp │ │ │ ├── raster_text.dsw │ │ │ └── raster_text.vcxproj │ │ ├── rasterizer_compound │ │ │ ├── Makefile │ │ │ ├── rasterizer_compound.dsp │ │ │ ├── rasterizer_compound.dsw │ │ │ └── rasterizer_compound.vcxproj │ │ ├── rasterizers │ │ │ ├── Makefile │ │ │ ├── rasterizers.dsp │ │ │ ├── rasterizers.dsw │ │ │ └── rasterizers.vcxproj │ │ ├── rasterizers2 │ │ │ ├── Makefile │ │ │ ├── rasterizers2.dsp │ │ │ ├── rasterizers2.dsw │ │ │ └── rasterizers2.vcxproj │ │ ├── rounded_rect │ │ │ ├── Makefile │ │ │ ├── rounded_rect.dsp │ │ │ ├── rounded_rect.dsw │ │ │ └── rounded_rect.vcxproj │ │ ├── scanline_boolean │ │ │ ├── Makefile │ │ │ ├── scanline_boolean.dsp │ │ │ ├── scanline_boolean.dsw │ │ │ └── scanline_boolean.vcxproj │ │ ├── scanline_boolean2 │ │ │ ├── Makefile │ │ │ ├── scanline_boolean2.dsp │ │ │ ├── scanline_boolean2.dsw │ │ │ └── scanline_boolean2.vcxproj │ │ ├── simple_blur │ │ │ ├── Makefile │ │ │ ├── simple_blur.dsp │ │ │ ├── simple_blur.dsw │ │ │ └── simple_blur.vcxproj │ │ ├── svg_test │ │ │ ├── svg_test.dsp │ │ │ ├── svg_test.dsw │ │ │ └── svg_test.vcxproj │ │ ├── trans_curve1 │ │ │ ├── Makefile │ │ │ ├── trans_curve1.dsp │ │ │ ├── trans_curve1.dsw │ │ │ └── trans_curve1.vcxproj │ │ ├── trans_curve2 │ │ │ ├── Makefile │ │ │ ├── trans_curve2.dsp │ │ │ ├── trans_curve2.dsw │ │ │ └── trans_curve2.vcxproj │ │ ├── trans_polar │ │ │ ├── Makefile │ │ │ ├── trans_polar.dsp │ │ │ ├── trans_polar.dsw │ │ │ └── trans_polar.vcxproj │ │ └── truetype_test │ │ │ ├── Makefile │ │ │ ├── truetype_test.dsp │ │ │ ├── truetype_test.dsw │ │ │ └── truetype_test.vcxproj │ └── win32_api_dmc │ │ ├── Makefile │ │ └── readme ├── font_freetype │ ├── Makefile.am │ ├── agg_font_freetype.cpp │ ├── agg_font_freetype.h │ ├── agg_font_freetype2.cpp │ └── agg_font_freetype2.h ├── font_win32_tt │ ├── Makefile.am │ ├── agg_font_win32_tt.cpp │ └── agg_font_win32_tt.h ├── gpc │ ├── Makefile.am │ ├── VERSIONS.TXT │ ├── copying.txt │ ├── gpc.c │ └── gpc.h ├── include │ ├── Makefile.am │ ├── agg_alpha_mask_u8.h │ ├── agg_arc.h │ ├── agg_array.h │ ├── agg_arrowhead.h │ ├── agg_basics.h │ ├── agg_bezier_arc.h │ ├── agg_bitset_iterator.h │ ├── agg_blur.h │ ├── agg_bounding_rect.h │ ├── agg_bspline.h │ ├── agg_clip_liang_barsky.h │ ├── agg_color_gray.h │ ├── agg_color_rgba.h │ ├── agg_config.h │ ├── agg_conv_adaptor_vcgen.h │ ├── agg_conv_adaptor_vpgen.h │ ├── agg_conv_bspline.h │ ├── agg_conv_clip_polygon.h │ ├── agg_conv_clip_polyline.h │ ├── agg_conv_close_polygon.h │ ├── agg_conv_concat.h │ ├── agg_conv_contour.h │ ├── agg_conv_curve.h │ ├── agg_conv_dash.h │ ├── agg_conv_gpc.h │ ├── agg_conv_marker.h │ ├── agg_conv_marker_adaptor.h │ ├── agg_conv_segmentator.h │ ├── agg_conv_shorten_path.h │ ├── agg_conv_smooth_poly1.h │ ├── agg_conv_stroke.h │ ├── agg_conv_transform.h │ ├── agg_conv_unclose_polygon.h │ ├── agg_curves.h │ ├── agg_dda_line.h │ ├── agg_ellipse.h │ ├── agg_ellipse_bresenham.h │ ├── agg_embedded_raster_fonts.h │ ├── agg_font_cache_manager.h │ ├── agg_font_cache_manager2.h │ ├── agg_gamma_functions.h │ ├── agg_gamma_lut.h │ ├── agg_glyph_raster_bin.h │ ├── agg_gradient_lut.h │ ├── agg_gsv_text.h │ ├── agg_image_accessors.h │ ├── agg_image_filters.h │ ├── agg_line_aa_basics.h │ ├── agg_math.h │ ├── agg_math_stroke.h │ ├── agg_path_length.h │ ├── agg_path_storage.h │ ├── agg_path_storage_integer.h │ ├── agg_pattern_filters_rgba.h │ ├── agg_pixfmt_amask_adaptor.h │ ├── agg_pixfmt_base.h │ ├── agg_pixfmt_gray.h │ ├── agg_pixfmt_rgb.h │ ├── agg_pixfmt_rgb_packed.h │ ├── agg_pixfmt_rgba.h │ ├── agg_pixfmt_transposer.h │ ├── agg_rasterizer_cells_aa.h │ ├── agg_rasterizer_compound_aa.h │ ├── agg_rasterizer_outline.h │ ├── agg_rasterizer_outline_aa.h │ ├── agg_rasterizer_scanline_aa.h │ ├── agg_rasterizer_scanline_aa_nogamma.h │ ├── agg_rasterizer_sl_clip.h │ ├── agg_renderer_base.h │ ├── agg_renderer_markers.h │ ├── agg_renderer_mclip.h │ ├── agg_renderer_outline_aa.h │ ├── agg_renderer_outline_image.h │ ├── agg_renderer_primitives.h │ ├── agg_renderer_raster_text.h │ ├── agg_renderer_scanline.h │ ├── agg_rendering_buffer.h │ ├── agg_rendering_buffer_dynarow.h │ ├── agg_rounded_rect.h │ ├── agg_scanline_bin.h │ ├── agg_scanline_boolean_algebra.h │ ├── agg_scanline_p.h │ ├── agg_scanline_storage_aa.h │ ├── agg_scanline_storage_bin.h │ ├── agg_scanline_u.h │ ├── agg_shorten_path.h │ ├── agg_simul_eq.h │ ├── agg_span_allocator.h │ ├── agg_span_converter.h │ ├── agg_span_gouraud.h │ ├── agg_span_gouraud_gray.h │ ├── agg_span_gouraud_rgba.h │ ├── agg_span_gradient.h │ ├── agg_span_gradient_alpha.h │ ├── agg_span_gradient_contour.h │ ├── agg_span_gradient_image.h │ ├── agg_span_image_filter.h │ ├── agg_span_image_filter_gray.h │ ├── agg_span_image_filter_rgb.h │ ├── agg_span_image_filter_rgba.h │ ├── agg_span_interpolator_adaptor.h │ ├── agg_span_interpolator_linear.h │ ├── agg_span_interpolator_persp.h │ ├── agg_span_interpolator_trans.h │ ├── agg_span_pattern_gray.h │ ├── agg_span_pattern_rgb.h │ ├── agg_span_pattern_rgba.h │ ├── agg_span_solid.h │ ├── agg_span_subdiv_adaptor.h │ ├── agg_trans_affine.h │ ├── agg_trans_bilinear.h │ ├── agg_trans_double_path.h │ ├── agg_trans_perspective.h │ ├── agg_trans_single_path.h │ ├── agg_trans_viewport.h │ ├── agg_trans_warp_magnifier.h │ ├── agg_vcgen_bspline.h │ ├── agg_vcgen_contour.h │ ├── agg_vcgen_dash.h │ ├── agg_vcgen_markers_term.h │ ├── agg_vcgen_smooth_poly1.h │ ├── agg_vcgen_stroke.h │ ├── agg_vcgen_vertex_sequence.h │ ├── agg_vertex_sequence.h │ ├── agg_vpgen_clip_polygon.h │ ├── agg_vpgen_clip_polyline.h │ ├── agg_vpgen_segmentator.h │ ├── ctrl │ │ ├── Makefile.am │ │ ├── agg_bezier_ctrl.h │ │ ├── agg_cbox_ctrl.h │ │ ├── agg_ctrl.h │ │ ├── agg_gamma_ctrl.h │ │ ├── agg_gamma_spline.h │ │ ├── agg_polygon_ctrl.h │ │ ├── agg_rbox_ctrl.h │ │ ├── agg_scale_ctrl.h │ │ ├── agg_slider_ctrl.h │ │ └── agg_spline_ctrl.h │ ├── platform │ │ ├── Makefile.am │ │ ├── agg_platform_support.h │ │ ├── mac │ │ │ └── agg_mac_pmap.h │ │ └── win32 │ │ │ └── agg_win32_bmp.h │ └── util │ │ ├── Makefile.am │ │ ├── agg_color_conv.h │ │ ├── agg_color_conv_rgb16.h │ │ └── agg_color_conv_rgb8.h ├── install ├── libagg.m4 ├── libagg.pc.in ├── myapp │ ├── CMakeLists.txt │ ├── CMakeLists.txt.in │ ├── agg2d_demo.cpp │ ├── my_demo.cpp │ └── myproject.cmake └── src │ ├── CMakeLists.txt │ ├── ChangeLog │ ├── Makefile │ ├── Makefile.am │ ├── agg_arc.cpp │ ├── agg_arrowhead.cpp │ ├── agg_bezier_arc.cpp │ ├── agg_bspline.cpp │ ├── agg_color_rgba.cpp │ ├── agg_curves.cpp │ ├── agg_embedded_raster_fonts.cpp │ ├── agg_gsv_text.cpp │ ├── agg_image_filters.cpp │ ├── agg_line_aa_basics.cpp │ ├── agg_line_profile_aa.cpp │ ├── agg_rounded_rect.cpp │ ├── agg_sqrt_tables.cpp │ ├── agg_trans_affine.cpp │ ├── agg_trans_double_path.cpp │ ├── agg_trans_single_path.cpp │ ├── agg_trans_warp_magnifier.cpp │ ├── agg_vcgen_bspline.cpp │ ├── agg_vcgen_contour.cpp │ ├── agg_vcgen_dash.cpp │ ├── agg_vcgen_markers_term.cpp │ ├── agg_vcgen_smooth_poly1.cpp │ ├── agg_vcgen_stroke.cpp │ ├── agg_vpgen_clip_polygon.cpp │ ├── agg_vpgen_clip_polyline.cpp │ ├── agg_vpgen_segmentator.cpp │ ├── authors │ ├── autogen.sh │ ├── configure.in │ ├── copying │ ├── ctrl │ ├── Makefile.am │ ├── agg_bezier_ctrl.cpp │ ├── agg_cbox_ctrl.cpp │ ├── agg_gamma_ctrl.cpp │ ├── agg_gamma_spline.cpp │ ├── agg_polygon_ctrl.cpp │ ├── agg_rbox_ctrl.cpp │ ├── agg_scale_ctrl.cpp │ ├── agg_slider_ctrl.cpp │ └── agg_spline_ctrl.cpp │ ├── install │ ├── news │ ├── platform │ ├── AmigaOS │ │ ├── Makefile.am │ │ └── agg_platform_support.cpp │ ├── BeOS │ │ ├── Makefile.am │ │ └── agg_platform_support.cpp │ ├── Makefile.am │ ├── X11 │ │ ├── Makefile.am │ │ └── agg_platform_support.cpp │ ├── mac │ │ ├── Makefile.am │ │ ├── agg_mac_pmap.cpp │ │ └── agg_platform_support.cpp │ ├── sdl │ │ ├── Makefile.am │ │ └── agg_platform_support.cpp │ └── win32 │ │ ├── Makefile.am │ │ ├── agg_platform_support.cpp │ │ └── agg_win32_bmp.cpp │ └── readme └── agg-doc ├── agg.styles.css ├── basic_renderers ├── basic_renderers.agdoc.html ├── pixfmt_rgb24.gif ├── rendering_buffer1.gif ├── rendering_buffer2.gif ├── rendering_buffer3.gif ├── rendering_buffer4.gif ├── spectrum.png ├── spectrum_amask1.png └── spectrum_amask2.png ├── index.html ├── introduction ├── aliased_pix_accuracy.gif ├── aliased_subpix_accuracy.gif ├── anti_aliased.gif ├── cie_1931.jpg ├── introduction.agdoc.html ├── line_thickness.gif ├── qual_gdip_agg.gif ├── stereo_enlarged.gif ├── stereo_small.gif ├── subpixel_accuracy1.gif ├── subpixel_accuracy2.gif ├── subpixel_bresenham.gif └── typical_scheme.gif ├── link.gif └── scanlines ├── scanline_p.gif ├── scanline_u.gif └── scanlines.agdoc.html /.gitignore: -------------------------------------------------------------------------------- 1 | *\.o 2 | *\.a 3 | 4 | agg-2.4/examples/X11/ 5 | !agg-2.4/examples/X11/Makefile 6 | !agg-2.4/examples/X11/readme.txt 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Anti-grain Geometry 2 | =================== 3 | 4 | A read-only mirror of the antigrain SVN repository. 5 | 6 | The original Anti-grain Geometry project was a creation of Maxim Shemanarev back in 2006. 7 | 8 | For further information please visit http://www.antigrain.com 9 | -------------------------------------------------------------------------------- /agdoc/LICENSE: -------------------------------------------------------------------------------- 1 | This code was written by in Maxim Shemanarev 2005 and retrieved from http://www.antigrain.com/agdoc/ in Feb 2013. 2 | 3 | While the contents of this directory are available at :x 4 | -------------------------------------------------------------------------------- /agdoc/agdoc_content_processor.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Documenter - Version 1.0 3 | // Copyright (C) 2002 Maxim Shemanarev (McSeem) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGDOC_CONTENT_PROCESSOR_INCLUDED 17 | #define AGDOC_CONTENT_PROCESSOR_INCLUDED 18 | 19 | #include "agdoc_basics.h" 20 | 21 | namespace agdoc 22 | { 23 | 24 | //------------------------------------------------------------------ 25 | class content_processor 26 | { 27 | public: 28 | content_processor(const config& cfg, 29 | const element& e, 30 | content_storage& result); 31 | 32 | void start_element(const element& e); 33 | void end_element(const element& e); 34 | void content(const element&, const char_type* c, unsigned len); 35 | 36 | private: 37 | bool is_suppress_element(const char_type* name, unsigned name_len) const; 38 | 39 | const config& m_cfg; 40 | content_storage& m_result; 41 | const strset_type* m_suppress_list; 42 | const element* m_skip_element; 43 | }; 44 | 45 | } 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /agdoc/agdoc_link_structurizer.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Documenter - Version 1.0 3 | // Copyright (C) 2002 Maxim Shemanarev (McSeem) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGDOC_LINK_STRUCTURIZER_INCLUDED 17 | #define AGDOC_LINK_STRUCTURIZER_INCLUDED 18 | 19 | #include "agdoc_basics.h" 20 | 21 | namespace agdoc 22 | { 23 | 24 | 25 | //------------------------------------------------------------------ 26 | class link_structurizer 27 | { 28 | public: 29 | link_structurizer(const config& cfg, 30 | const element& e, 31 | content_storage& result); 32 | 33 | void start_element(const element& e); 34 | void end_element(const element& e); 35 | void content(const element& e, const char_type* c, unsigned len); 36 | 37 | private: 38 | bool is_linking_keyword(const char_type* str, unsigned len) const; 39 | 40 | bool is_link(const char_type* start, 41 | const char_type* str, 42 | unsigned len, 43 | unsigned* ret_len); 44 | 45 | void add_img(const char_type* str, unsigned len, const keyword& img); 46 | void add_link(const char_type* str, unsigned len); 47 | 48 | const config& m_cfg; 49 | content_storage& m_result; 50 | const element* m_skip_element; 51 | }; 52 | 53 | 54 | } 55 | 56 | #endif 57 | -------------------------------------------------------------------------------- /agdoc/agdoc_replacement_processor.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Documenter - Version 1.0 3 | // Copyright (C) 2002 Maxim Shemanarev (McSeem) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGDOC_REPLACEMENT_PROCESSOR_INCLUDED 17 | #define AGDOC_REPLACEMENT_PROCESSOR_INCLUDED 18 | 19 | #include "agdoc_basics.h" 20 | 21 | namespace agdoc 22 | { 23 | 24 | //------------------------------------------------------------------ 25 | class replacement_processor 26 | { 27 | public: 28 | replacement_processor(const config& cfg, 29 | const element& e, 30 | content_storage& result); 31 | 32 | void start_element(const element& e); 33 | void end_element(const element& e); 34 | void content(const element& e, const char_type* c, unsigned len); 35 | 36 | private: 37 | const config& m_cfg; 38 | content_storage& m_result; 39 | strmap_type m_replaces; 40 | const element* m_skip_element; 41 | const element* m_replace_element; 42 | const element* m_replaced; 43 | }; 44 | 45 | 46 | } 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /agdoc/agdoc_structure_processor.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Documenter - Version 1.0 3 | // Copyright (C) 2002 Maxim Shemanarev (McSeem) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGDOC_STRUCTURE_PROCESSOR_INCLUDED 17 | #define AGDOC_STRUCTURE_PROCESSOR_INCLUDED 18 | 19 | #include "agdoc_basics.h" 20 | 21 | namespace agdoc 22 | { 23 | //------------------------------------------------------------------ 24 | class structure_processor 25 | { 26 | public: 27 | structure_processor(const config& cfg, 28 | const element& e, 29 | content_storage& result); 30 | 31 | void start_element(const element& e); 32 | void end_element(const element& e); 33 | void content(const element& e, const char_type*, unsigned len); 34 | 35 | private: 36 | const config& m_cfg; 37 | content_storage& m_result; 38 | }; 39 | 40 | } 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /agdoc/agdoc_toc_structurizer.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Documenter - Version 1.0 3 | // Copyright (C) 2002 Maxim Shemanarev (McSeem) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGDOC_TOC_STRUCTURIZER_INCLUDED 17 | #define AGDOC_TOC_STRUCTURIZER_INCLUDED 18 | 19 | #include "agdoc_basics.h" 20 | 21 | namespace agdoc 22 | { 23 | 24 | //------------------------------------------------------------------ 25 | class toc_structurizer 26 | { 27 | public: 28 | toc_structurizer(const config& cfg, 29 | const element& e, 30 | content_storage& result); 31 | 32 | void start_element(const element& e); 33 | void end_element(const element& e); 34 | void content(const element&, const char_type* c, unsigned len); 35 | 36 | private: 37 | const config& m_cfg; 38 | content_storage& m_result; 39 | const element* m_root_element; 40 | const element* m_toc_element; 41 | int m_toc_level; 42 | }; 43 | 44 | 45 | } 46 | 47 | #endif 48 | 49 | -------------------------------------------------------------------------------- /agdoc/test_project/doc_source/aqua.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agdoc/test_project/doc_source/aqua.png -------------------------------------------------------------------------------- /agdoc/test_project/doc_source/code.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agdoc/test_project/doc_source/code.gif -------------------------------------------------------------------------------- /agdoc/test_project/doc_source/download.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agdoc/test_project/doc_source/download.gif -------------------------------------------------------------------------------- /agdoc/test_project/doc_source/image_on_the_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agdoc/test_project/doc_source/image_on_the_left.png -------------------------------------------------------------------------------- /agdoc/test_project/doc_source/image_on_the_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agdoc/test_project/doc_source/image_on_the_right.png -------------------------------------------------------------------------------- /agdoc/test_project/doc_source/inline_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agdoc/test_project/doc_source/inline_image.png -------------------------------------------------------------------------------- /agdoc/test_project/doc_source/link2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agdoc/test_project/doc_source/link2.gif -------------------------------------------------------------------------------- /agdoc/test_project/doc_source/replacements: -------------------------------------------------------------------------------- 1 | \replace 2 | { 3 | \DD {\b{DirectedDiversity\sup{\reg{}}}} 4 | \AGG {\href0[http://www.antigrain.com]{**==Anti-Grain== Geometry(C)**}} 5 | \TEX {**TvvEvvX**} 6 | } 7 | 8 | -------------------------------------------------------------------------------- /agdoc/test_project/doc_source/table.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agdoc/test_project/doc_source/table.gif -------------------------------------------------------------------------------- /agdoc/test_project/doc_source/test.agproj: -------------------------------------------------------------------------------- 1 | \ext[.html] 2 | \outdir[../output] 3 | \config[../formatting_example.agtempl] 4 | 5 | \process_files [test.styles; ext=.css; variables_only=true] 6 | \copy_files [*.gif *.png *.jp*g] 7 | \process_files [test.agdoc] 8 | 9 | 10 | %%* Below is an example of working with sub-directories 11 | 12 | \process_dir[code; src=../..] 13 | { 14 | \process_dir[include/] { \process_code[agg_affine_matrix.h; lang=cpp] } 15 | \process_dir[include/] { 16 | \process_code[*.h; lang=cpp] 17 | \process_dir[ctrl/] { \process_code[*.h; lang=cpp] } 18 | } 19 | 20 | \process_dir[src/] { \process_code[*.cpp; lang=cpp; exclude="*raster_fonts*"] } 21 | \process_dir[examples/] { \process_code[*.h *.cpp; lang=cpp] } 22 | } 23 | 24 | 25 | \process_dir[test] 26 | { 27 | \copy_files [*.gif *.png *.jp*g] 28 | \process_dir [images] 29 | { 30 | \copy_files [*.gif *.png *.jp*g] 31 | } 32 | \process_files [test.agdoc] 33 | } 34 | 35 | \process_files[site_map.agdoc] 36 | 37 | *%% 38 | -------------------------------------------------------------------------------- /agdoc/test_project/doc_source/test.agproj.agidx: -------------------------------------------------------------------------------- 1 | \outdir[test_project/output] 2 | \file[test.agdoc; ext=.html;]{ 3 | \toc 4 | { 5 | \toc1[Introduction; anchor="toc0001";]{ 6 | \toc2[Subtible of the Introduction; anchor="toc0002";]{} 7 | \toc2[The Proposal (Another subtitle); anchor="toc0003";]{}} 8 | \toc1[Example of code; anchor="toc0004";]{} 9 | \toc1[AGDoc Formatting; anchor="toc0005";]{ 10 | \toc2[Paragraphs; anchor="toc0006";]{} 11 | \toc2[Bold, Italic, Underline, Quoted, Code, etc...; anchor="toc0007";]{} 12 | \toc2[ Tables; anchor="toc0008";]{ 13 | \toc3[ Space separated values tables (ssv_table); anchor="toc0009";]{} 14 | \toc3[ Vertical bar separated tables (vbar_table); anchor="toc0010";]{} 15 | \toc3[ Empty line separated tables (eln_table); anchor="toc0011";]{}} 16 | \toc2[Linking; anchor="toc0012";]{} 17 | \toc2[Images; anchor="toc0013";]{ 18 | \toc3[Left aligned images; anchor="toc0014";]{} 19 | \toc3[Right aligned image; anchor="toc0015";]{} 20 | \toc3[Inline images; anchor="toc0016";]{} 21 | \toc3[Centered image; anchor="toc0017";]{ 22 | \toc4[Variant One; anchor="toc0018";]{} 23 | \toc4[Variant Two; anchor="toc0019";]{}} 24 | \toc3[External images; anchor="toc0020";]{}}} 25 | \toc1[Itemized lists; anchor="toc0021";]{ 26 | \toc2[Ordered lists; anchor="toc0022";]{} 27 | \toc2[Unordered lists; anchor="toc0023";]{} 28 | \toc2[Mixed and Nested lists; anchor="toc0024";]{}} 29 | } 30 | 31 | \title{AGDoc Test} 32 | \label[category="table"; anchor="TAB1";]{Table 1. Wiki- and TeX-like style formatting} 33 | \label[category="table"; anchor="TAB2";]{Table 2. Space separated values table} 34 | \label[category="table"; anchor="TAB3";]{Table 3. Vertical bar separated table} 35 | \label[category="table"; anchor="TAB4";]{Table 4. Empty line table} 36 | \label[category="figure"; anchor="FIG1";]{Left Image} 37 | 38 | } 39 | -------------------------------------------------------------------------------- /agg-2.4/AUTHORS: -------------------------------------------------------------------------------- 1 | Anti-Grain Geometry - Version 2.4 2 | Copyright (C) 2002-2005 Maxim Shemanarev (McSeem) 3 | -------------------------------------------------------------------------------- /agg-2.4/ChangeLog: -------------------------------------------------------------------------------- 1 | Visit http://antigrain.com/news -------------------------------------------------------------------------------- /agg-2.4/Makefile: -------------------------------------------------------------------------------- 1 | all: lib 2 | 3 | src/libagg.a: 4 | cd src; make 5 | 6 | lib: src/libagg.a 7 | 8 | clean: 9 | cd src; make clean 10 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = gpc src font_freetype font_win32_tt include examples 2 | 3 | pkgconfigdir = $(libdir)/pkgconfig 4 | pkgconfig_DATA = libagg.pc 5 | 6 | EXTRA_DIST = Makefile.AmigaOS \ 7 | Makefile.in.BeOS \ 8 | Makefile.in.CYGWIN_NT-5.0 \ 9 | Makefile.in.CYGWIN_NT-5.1 \ 10 | Makefile.in.Darwin \ 11 | Makefile.in.Darwin.SDL \ 12 | Makefile.in.IRIX64 \ 13 | Makefile.in.Linux \ 14 | Makefile.in.Linux.SDL \ 15 | Makefile.in.MINGW32_NT-5.0 \ 16 | Makefile.in.MINGW32_NT-5.1 \ 17 | Makefile.in.SunOS 18 | 19 | # M4 macro file for inclusion with autoconf 20 | m4datadir = $(datadir)/aclocal 21 | m4data_DATA = libagg.m4 22 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.in.BeOS: -------------------------------------------------------------------------------- 1 | AGGLIBS= -lagg 2 | AGGCXXFLAGS = -O1 3 | CXX = g++ 4 | C = cc 5 | LIB = ar -cru 6 | 7 | .PHONY : clean 8 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.in.CYGWIN_NT-5.0: -------------------------------------------------------------------------------- 1 | AGGLIBS= -lagg 2 | AGGCXXFLAGS = -O3 -I/usr/X11R6/include -L/usr/X11R6/lib 3 | CXX = g++ 4 | C = gcc 5 | #CXX = icc 6 | LIB = ar cr 7 | 8 | .PHONY : clean 9 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.in.CYGWIN_NT-5.1: -------------------------------------------------------------------------------- 1 | AGGLIBS= -lagg 2 | AGGCXXFLAGS = -O3 -I/usr/X11R6/include -L/usr/X11R6/lib 3 | CXX = g++ 4 | C = gcc 5 | #CXX = icc 6 | LIB = ar cr 7 | 8 | .PHONY : clean 9 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.in.Darwin: -------------------------------------------------------------------------------- 1 | AGGLIBS= -lagg 2 | AGGCXXFLAGS = -O3 -I/usr/X11R6/include -L/usr/X11R6/lib 3 | CXX = g++ 4 | C = gcc 5 | #CXX = icc 6 | LIB = ar cr -s 7 | 8 | .PHONY : clean 9 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.in.Darwin.SDL: -------------------------------------------------------------------------------- 1 | AGGLIBS= -lagg -L/usr/local/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL 2 | AGGCXXFLAGS = -O3 -I/Library/Frameworks/SDL.framework/Headers -L/usr/lib 3 | CXX = g++ 4 | C = gcc 5 | #CXX = icc 6 | LIB = ar cr -s 7 | 8 | .PHONY : clean 9 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.in.IRIX64: -------------------------------------------------------------------------------- 1 | AGGLIBS= -lagg 2 | AGGCXXFLAGS = 3 | CXX = CC 4 | C = cc 5 | LIB = CC -ar -o 6 | 7 | .PHONY : clean 8 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.in.Linux: -------------------------------------------------------------------------------- 1 | AGGLIBS= -lagg 2 | AGGCXXFLAGS = -O3 -I/usr/X11R6/include -L/usr/X11R6/lib 3 | CXX = g++ 4 | C = gcc 5 | #CXX = icc 6 | LIB = ar cr 7 | 8 | .PHONY : clean 9 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.in.Linux.SDL: -------------------------------------------------------------------------------- 1 | AGGLIBS= -lagg -lSDL 2 | AGGCXXFLAGS = -O3 -I/usr/include/SDL -L/usr/lib 3 | CXX = g++ 4 | C = gcc 5 | #CXX = icc 6 | LIB = ar cr 7 | 8 | .PHONY : clean 9 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.in.MINGW32_NT-5.0: -------------------------------------------------------------------------------- 1 | AGGLIBS= -lagg 2 | AGGCXXFLAGS = -O3 3 | CXX = g++ 4 | C = gcc 5 | #CXX = icc 6 | LIB = ar cr 7 | 8 | .PHONY : clean 9 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.in.MINGW32_NT-5.1: -------------------------------------------------------------------------------- 1 | AGGLIBS= -lagg 2 | AGGCXXFLAGS = -O3 3 | CXX = g++ 4 | C = gcc 5 | #CXX = icc 6 | LIB = ar cr 7 | 8 | .PHONY : clean 9 | -------------------------------------------------------------------------------- /agg-2.4/Makefile.in.SunOS: -------------------------------------------------------------------------------- 1 | AGGLIBS= -lagg 2 | AGGCXXFLAGS = -O3 -I/usr/openwin/include -L/usr/openwin/lib 3 | CXX = CC 4 | C = cc 5 | LIB = CC -xar -o 6 | 7 | .PHONY : clean 8 | -------------------------------------------------------------------------------- /agg-2.4/NEWS: -------------------------------------------------------------------------------- 1 | Visit http://antigrain.com/news -------------------------------------------------------------------------------- /agg-2.4/autogen.sh: -------------------------------------------------------------------------------- 1 | # autogen.sh 2 | # 3 | # invoke the auto* tools to create the configuration/build system 4 | 5 | # build aclocal.m4 6 | aclocal 7 | 8 | # build config.h 9 | autoheader 10 | 11 | # build the configure script 12 | autoconf 13 | 14 | # set up libtool 15 | libtoolize --force 16 | 17 | # invoke automake 18 | automake --foreign --add-missing --ignore-deps 19 | 20 | # and finally invoke our new configure 21 | ./configure $* 22 | 23 | # end 24 | -------------------------------------------------------------------------------- /agg-2.4/bin/AggConfig.cmake.in: -------------------------------------------------------------------------------- 1 | #set where AggConfig.cmake was found, all else relative to that. 2 | 3 | SET( AGG_FLAGS "" ) 4 | SET( AGG_INCLUDE_DIRS "" ) 5 | SET( AGG_LIBRARY_DIRS "" ) 6 | SET( AGG_LIBRARIES "" ) 7 | 8 | SET( AGG_FLAGS @AGG_FLAGS@ ) 9 | 10 | SET( AGG_INCLUDE_DIRS_CONFIG @AGG_INCLUDE_DIRS@ ) 11 | #convert relative to absolute 12 | FOREACH( includedir ${AGG_INCLUDE_DIRS_CONFIG} ) 13 | SET( AGG_INCLUDE_DIRS ${AGG_INCLUDE_DIRS} "@antigrain_SOURCE_DIR@/${includedir}" ) 14 | ENDFOREACH( includedir ) 15 | 16 | SET( AGG_LIBRARIES @AGG_LIBRARIES@ ) 17 | 18 | SET( AGG_LIBRARY_DIRS_CONFIG @AGG_LIBRARY_DIRS@ ) 19 | #convert relative to absolute 20 | FOREACH( libdir ${AGG_LIBRARY_DIRS_CONFIG} ) 21 | SET( AGG_LIBRARY_DIRS ${AGG_LIBRARY_DIRS} "${AGG_DIR_BIN}/../${libdir}" ) 22 | ENDFOREACH( libdir ) 23 | 24 | SET( AGG_USE_FILE ${AGG_DIR_BIN}/UseAgg.cmake ) 25 | 26 | #options that where set 27 | SET( agg_USE_GPC @agg_USE_GPC@ ) 28 | SET( agg_USE_FREETYPE @agg_USE_FREETYPE@ ) 29 | SET( agg_USE_EXPAT @agg_USE_EXPAT@ ) 30 | SET( agg_USE_AGG2D @agg_USE_AGG2D@ ) 31 | 32 | SET( AGG_DIR ${AGG_DIR} CACHE STRING "Agg root directory" FORCE ) 33 | SET( AGG_FLAGS ${AGG_FLAGS} CACHE STRING "Agg package flags" FORCE ) 34 | SET( AGG_INCLUDE_DIRS ${AGG_INCLUDE_DIRS} CACHE STRING "Agg package libs include paths" FORCE ) 35 | SET( AGG_LIBRARY_DIRS ${AGG_LIBRARY_DIRS} CACHE STRING "Agg package libs directory paths" FORCE ) 36 | SET( AGG_LIBRARIES ${AGG_LIBRARIES} CACHE STRING "Agg package libraries" FORCE ) 37 | -------------------------------------------------------------------------------- /agg-2.4/bin/AggConfigOutBuild.cmake.in: -------------------------------------------------------------------------------- 1 | #set where AggConfig.cmake was found, all else relative to that. 2 | # one higher as "bin" dir is all of agg 3 | 4 | SET( AGG_FLAGS "" ) 5 | SET( AGG_INCLUDE_DIRS "" ) 6 | SET( AGG_LIBRARY_DIRS "" ) 7 | SET( AGG_LIBRARIES "" ) 8 | 9 | SET( AGG_FLAGS @AGG_FLAGS@ ) 10 | 11 | SET( AGG_INCLUDE_DIRS_CONFIG @AGG_INCLUDE_DIRS@ ) 12 | #convert relative to absolute 13 | FOREACH( includedir ${AGG_INCLUDE_DIRS_CONFIG} ) 14 | SET( AGG_INCLUDE_DIRS ${AGG_INCLUDE_DIRS} "${AGG_DIR_BIN}/../agg/${includedir}" ) 15 | ENDFOREACH( includedir ) 16 | 17 | SET( AGG_LIBRARIES @AGG_LIBRARIES@ ) 18 | 19 | SET( AGG_LIBRARY_DIRS_CONFIG @AGG_LIBRARY_DIRS@ ) 20 | #convert relative to absolute 21 | FOREACH( libdir ${AGG_LIBRARY_DIRS_CONFIG} ) 22 | SET( AGG_LIBRARY_DIRS ${AGG_LIBRARY_DIRS} "${AGG_DIR_BIN}/../${libdir}" ) 23 | ENDFOREACH( libdir ) 24 | 25 | SET( AGG_USE_FILE ${AGG_DIR_BIN}/UseAgg.cmake ) 26 | 27 | #options that where set 28 | SET( agg_USE_GPC @agg_USE_GPC@ ) 29 | SET( agg_USE_FREETYPE @agg_USE_FREETYPE@ ) 30 | SET( agg_USE_EXPAT @agg_USE_EXPAT@ ) 31 | SET( agg_USE_AGG2D @agg_USE_AGG2D@ ) 32 | 33 | SET( AGG_DIR ${AGG_DIR} CACHE STRING "Agg root directory" FORCE ) 34 | SET( AGG_FLAGS ${AGG_FLAGS} CACHE STRING "Agg package flags" FORCE ) 35 | SET( AGG_INCLUDE_DIRS ${AGG_INCLUDE_DIRS} CACHE STRING "Agg package libs include paths" FORCE ) 36 | SET( AGG_LIBRARY_DIRS ${AGG_LIBRARY_DIRS} CACHE STRING "Agg package libs directory paths" FORCE ) 37 | SET( AGG_LIBRARIES ${AGG_LIBRARIES} CACHE STRING "Agg package libraries" FORCE ) 38 | -------------------------------------------------------------------------------- /agg-2.4/bin/FindEXPAT.cmake: -------------------------------------------------------------------------------- 1 | # - Find expat 2 | # Find the native EXPAT headers and libraries. 3 | # 4 | # EXPAT_INCLUDE_DIRS - where to find expat.h, etc. 5 | # EXPAT_LIBRARIES - List of libraries when using expat. 6 | # EXPAT_FOUND - True if expat found. 7 | 8 | # Look for the header file. 9 | FIND_PATH( EXPAT_INCLUDE_DIR expat.h 10 | $ENV{EXPAT_DIR}/Source/lib 11 | "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\expat_is1;Inno Setup: App Path]/Source/lib" 12 | ) 13 | 14 | # Look for the library. 15 | FIND_LIBRARY( EXPAT_LIBRARY NAMES expat libexpat 16 | PATHS 17 | $ENV{EXPAT_DIR}/Bin 18 | "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\expat_is1;Inno Setup: App Path]/bin" 19 | ) 20 | 21 | #MESSAGE ( "EXPAT_INCLUDE_DIR => ${EXPAT_INCLUDE_DIR}" ) 22 | #MESSAGE ( "EXPAT_LIBRARY => ${EXPAT_LIBRARY}" ) 23 | 24 | # handle the QUIETLY and REQUIRED arguments and set EXPAT_FOUND to TRUE if 25 | # all listed variables are TRUE 26 | INCLUDE(FindPackageHandleStandardArgs) 27 | FIND_PACKAGE_HANDLE_STANDARD_ARGS(EXPAT DEFAULT_MSG EXPAT_LIBRARY EXPAT_INCLUDE_DIR) 28 | 29 | # Copy the results to the output variables. 30 | IF(EXPAT_FOUND) 31 | SET(EXPAT_LIBRARIES ${EXPAT_LIBRARY}) 32 | SET(EXPAT_INCLUDE_DIRS ${EXPAT_INCLUDE_DIR}) 33 | ELSE(EXPAT_FOUND) 34 | SET(EXPAT_LIBRARIES) 35 | SET(EXPAT_INCLUDE_DIRS) 36 | ENDIF(EXPAT_FOUND) 37 | 38 | MARK_AS_ADVANCED(EXPAT_INCLUDE_DIR EXPAT_LIBRARY) 39 | -------------------------------------------------------------------------------- /agg-2.4/bin/UseAgg.cmake.in: -------------------------------------------------------------------------------- 1 | # 2 | # This module is provided as AGG_USE_FILE by AggConfig.cmake. It can 3 | # be included in a project to load the needed compiler and linker 4 | # settings to use AGG. 5 | # 6 | 7 | IF(NOT AGG_USE_FILE_INCLUDED) 8 | SET(AGG_USE_FILE_INCLUDED 1) 9 | 10 | # Add compiler flags needed to use AGG. 11 | SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${AGG_REQUIRED_C_FLAGS}") 12 | SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${AGG_REQUIRED_CXX_FLAGS}") 13 | 14 | # Add include directories needed to use AGG. 15 | INCLUDE_DIRECTORIES(${AGG_INCLUDE_DIRS}) 16 | 17 | # Add link directories needed to use AGG. 18 | LINK_DIRECTORIES(${AGG_LIBRARY_DIRS}) 19 | 20 | FOREACH( flag ${AGG_FLAGS} ) 21 | ADD_DEFINITIONS( ${flag} ) 22 | ENDFOREACH( flag ) 23 | 24 | LINK_LIBRARIES(${AGG_LIBRARIES}) 25 | 26 | #options that where set 27 | SET( agg_USE_GPC @agg_USE_GPC@ ) 28 | SET( agg_USE_FREETYPE @agg_USE_FREETYPE@ ) 29 | SET( agg_USE_EXPAT @agg_USE_EXPAT@ ) 30 | SET( agg_USE_AGG2D @agg_USE_AGG2D@ ) 31 | 32 | ENDIF(NOT AGG_USE_FILE_INCLUDED) 33 | 34 | 35 | -------------------------------------------------------------------------------- /agg-2.4/distclean: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | find . -iname '*.[oa]' -exec \rm -f {} \; 4 | find . -iname '*.ppm' -exec \rm -f {} \; 5 | find . -iname '*~' -exec \rm -f {} \; 6 | find . -iname 'gamma.*' -exec \rm -f {} \; 7 | find . -iname Debug -exec \rm -rf {} \; 8 | find . -iname Release -exec \rm -rf {} \; 9 | find . -iname '*.exe' -exec \rm -rf {} \; 10 | find . -iname '*.lib' -exec \rm -rf {} \; 11 | find . -iname '*.dll' -exec \rm -rf {} \; 12 | find . -iname '*.obj' -exec \rm -rf {} \; 13 | find . -iname '*.aps' -exec \rm -rf {} \; 14 | find . -iname '*.clw' -exec \rm -rf {} \; 15 | find . -iname '*.ilk' -exec \rm -rf {} \; 16 | find . -iname '*.ncb' -exec \rm -rf {} \; 17 | find . -iname '*.opt' -exec \rm -rf {} \; 18 | find . -iname '*.plg' -exec \rm -rf {} \; 19 | find . -iname '*.pch' -exec \rm -rf {} \; 20 | find . -iname '*.idb' -exec \rm -rf {} \; 21 | find . -iname '*.pdb' -exec \rm -rf {} \; 22 | find . -iname '*.res' -exec \rm -rf {} \; 23 | 24 | 25 | -------------------------------------------------------------------------------- /agg-2.4/examples/BeOS/readme.txt: -------------------------------------------------------------------------------- 1 | The Anti-Grain Geometry Project 2 | A high quality rendering engine for C++ 3 | http://antigrain.com 4 | 5 | Anti-Grain Geometry 6 | Copyright (C) 2002-2005 Maxim Shemanarev (McSeem) 7 | 8 | Permission to copy, use, modify, sell and distribute this software 9 | is granted provided this copyright notice appears in all copies. 10 | This software is provided "as is" without express or implied 11 | warranty, and with no claim as to its suitability for any purpose. 12 | 13 | By default only the examples that do not require extra dependancies are built. 14 | with the following commands: 15 | 16 | cd (AGGDIRECTORY)/examples/BeOS 17 | make clean 18 | make 19 | 20 | Some examples (freetype_test, trans_curve1_ft and trans_curve2_ft) require the Freetype Library, and can be built with: 21 | 22 | make freetype 23 | 24 | There is also an example (gpc_test) that requires the GPC library, build it with: 25 | 26 | make gpc 27 | 28 | Of course, to build ALL examples run: 29 | 30 | make all 31 | 32 | Alternatively you can also build the examples one by one, using the example name directly: 33 | 34 | make aa_demo 35 | make aa_test 36 | ... 37 | -------------------------------------------------------------------------------- /agg-2.4/examples/X11/readme.txt: -------------------------------------------------------------------------------- 1 | The Anti-Grain Geometry Project 2 | A high quality rendering engine for C++ 3 | http://antigrain.com 4 | 5 | Anti-Grain Geometry 6 | Copyright (C) 2002-2005 Maxim Shemanarev (McSeem) 7 | 8 | Permission to copy, use, modify, sell and distribute this software 9 | is granted provided this copyright notice appears in all copies. 10 | This software is provided "as is" without express or implied 11 | warranty, and with no claim as to its suitability for any purpose. 12 | 13 | By default only the examples that do not require extra dependancies are built. 14 | with the following commands: 15 | 16 | cd (AGGDIRECTORY)/examples/X11 17 | make clean 18 | make 19 | 20 | Some examples (freetype_test, trans_curve1_ft and trans_curve2_ft) require the Freetype Library, and can be built with: 21 | 22 | make freetype 23 | 24 | There is also an example (gpc_test) that requires the GPC library, build it with: 25 | 26 | make gpc 27 | 28 | Of course, to build ALL examples run: 29 | 30 | make all 31 | 32 | Alternatively you can also build the examples one by one, using the example name directly: 33 | 34 | make aa_demo 35 | make aa_test 36 | ... -------------------------------------------------------------------------------- /agg-2.4/examples/art/agg.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/examples/art/agg.bmp -------------------------------------------------------------------------------- /agg-2.4/examples/art/agg.ppm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/examples/art/agg.ppm -------------------------------------------------------------------------------- /agg-2.4/examples/art/compositing.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/examples/art/compositing.bmp -------------------------------------------------------------------------------- /agg-2.4/examples/art/compositing.ppm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/examples/art/compositing.ppm -------------------------------------------------------------------------------- /agg-2.4/examples/art/line_patterns.bmp.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/examples/art/line_patterns.bmp.zip -------------------------------------------------------------------------------- /agg-2.4/examples/art/spheres.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/examples/art/spheres.bmp -------------------------------------------------------------------------------- /agg-2.4/examples/art/spheres.ppm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/examples/art/spheres.ppm -------------------------------------------------------------------------------- /agg-2.4/examples/art/timesi.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/examples/art/timesi.zip -------------------------------------------------------------------------------- /agg-2.4/examples/macosx_carbon/readme.txt: -------------------------------------------------------------------------------- 1 | The Anti-Grain Geometry Project 2 | A high quality rendering engine for C++ 3 | http://antigrain.com 4 | 5 | Anti-Grain Geometry 6 | Copyright (C) 2002-2005 Maxim Shemanarev (McSeem) 7 | 8 | Permission to copy, use, modify, sell and distribute this software 9 | is granted provided this copyright notice appears in all copies. 10 | This software is provided "as is" without express or implied 11 | warranty, and with no claim as to its suitability for any purpose. 12 | 13 | By default only the examples that do not require extra dependancies are built. 14 | with the following commands: 15 | 16 | cd (AGGDIRECTORY)/examples/macosx_carbon 17 | make clean 18 | make 19 | 20 | Alternatively you can also build the examples one by one, using the example name directly: 21 | 22 | make aa_demo 23 | make aa_test 24 | ... -------------------------------------------------------------------------------- /agg-2.4/examples/macosx_sdl/readme.txt: -------------------------------------------------------------------------------- 1 | The Anti-Grain Geometry Project 2 | A high quality rendering engine for C++ 3 | http://antigrain.com 4 | 5 | Anti-Grain Geometry 6 | Copyright (C) 2002-2005 Maxim Shemanarev (McSeem) 7 | 8 | Permission to copy, use, modify, sell and distribute this software 9 | is granted provided this copyright notice appears in all copies. 10 | This software is provided "as is" without express or implied 11 | warranty, and with no claim as to its suitability for any purpose. 12 | 13 | By default only the examples that do not require extra dependancies are built. 14 | with the following commands: 15 | 16 | cd (AGGDIRECTORY)/examples/sdl 17 | make clean 18 | make 19 | 20 | Some examples (freetype_test, trans_curve1_ft and trans_curve2_ft) require the Freetype Library, and can be built with: 21 | 22 | make freetype 23 | 24 | There is also an example (gpc_test) that requires the GPC library, build it with: 25 | 26 | make gpc 27 | 28 | Of course, to build ALL examples run: 29 | 30 | make all 31 | 32 | Alternatively you can also build the examples one by one, using the example name directly: 33 | 34 | make aa_demo 35 | make aa_test 36 | ... -------------------------------------------------------------------------------- /agg-2.4/examples/make_arrows.cpp: -------------------------------------------------------------------------------- 1 | #include "agg_path_storage.h" 2 | 3 | void make_arrows(agg::path_storage& ps) 4 | { 5 | ps.remove_all(); 6 | 7 | ps.move_to(1330.599999999999909,1282.399999999999864); 8 | ps.line_to(1377.400000000000091,1282.399999999999864); 9 | ps.line_to(1361.799999999999955,1298.000000000000000); 10 | ps.line_to(1393.000000000000000,1313.599999999999909); 11 | ps.line_to(1361.799999999999955,1344.799999999999955); 12 | ps.line_to(1346.200000000000045,1313.599999999999909); 13 | ps.line_to(1330.599999999999909,1329.200000000000045); 14 | ps.close_polygon(); 15 | 16 | ps.move_to(1330.599999999999909,1266.799999999999955); 17 | ps.line_to(1377.400000000000091,1266.799999999999955); 18 | ps.line_to(1361.799999999999955,1251.200000000000045); 19 | ps.line_to(1393.000000000000000,1235.599999999999909); 20 | ps.line_to(1361.799999999999955,1204.399999999999864); 21 | ps.line_to(1346.200000000000045,1235.599999999999909); 22 | ps.line_to(1330.599999999999909,1220.000000000000000); 23 | ps.close_polygon(); 24 | 25 | ps.move_to(1315.000000000000000,1282.399999999999864); 26 | ps.line_to(1315.000000000000000,1329.200000000000045); 27 | ps.line_to(1299.400000000000091,1313.599999999999909); 28 | ps.line_to(1283.799999999999955,1344.799999999999955); 29 | ps.line_to(1252.599999999999909,1313.599999999999909); 30 | ps.line_to(1283.799999999999955,1298.000000000000000); 31 | ps.line_to(1268.200000000000045,1282.399999999999864); 32 | ps.close_polygon(); 33 | 34 | ps.move_to(1268.200000000000045,1266.799999999999955); 35 | ps.line_to(1315.000000000000000,1266.799999999999955); 36 | ps.line_to(1315.000000000000000,1220.000000000000000); 37 | ps.line_to(1299.400000000000091,1235.599999999999909); 38 | ps.line_to(1283.799999999999955,1204.399999999999864); 39 | ps.line_to(1252.599999999999909,1235.599999999999909); 40 | ps.line_to(1283.799999999999955,1251.200000000000045); 41 | ps.close_polygon(); 42 | 43 | } 44 | -------------------------------------------------------------------------------- /agg-2.4/examples/svg_viewer/agg_svg_exception.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.3 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | // 16 | // SVG exception 17 | // 18 | //---------------------------------------------------------------------------- 19 | 20 | #ifndef AGG_SVG_EXCEPTION_INCLUDED 21 | #define AGG_SVG_EXCEPTION_INCLUDED 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | namespace agg 28 | { 29 | namespace svg 30 | { 31 | class exception 32 | { 33 | public: 34 | ~exception() 35 | { 36 | delete [] m_msg; 37 | } 38 | 39 | exception() : m_msg(0) {} 40 | 41 | exception(const char* fmt, ...) : 42 | m_msg(0) 43 | { 44 | if(fmt) 45 | { 46 | m_msg = new char [4096]; 47 | va_list arg; 48 | va_start(arg, fmt); 49 | vsprintf(m_msg, fmt, arg); 50 | va_end(arg); 51 | } 52 | } 53 | 54 | exception(const exception& exc) : 55 | m_msg(exc.m_msg ? new char[strlen(exc.m_msg) + 1] : 0) 56 | { 57 | if(m_msg) strcpy(m_msg, exc.m_msg); 58 | } 59 | 60 | const char* msg() const { return m_msg; } 61 | 62 | private: 63 | char* m_msg; 64 | }; 65 | 66 | } 67 | } 68 | 69 | #endif 70 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/aa_demo/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin or MinGW 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=aa_demo 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 38 | 39 | 40 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/aa_demo/aa_demo.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "aa_demo"=.\aa_demo.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/aa_test/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=aa_test 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/aa_test/aa_test.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "aa_test"=.\aa_test.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/agg.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | _CRT_SECURE_NO_WARNINGS 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/agg2d_demo/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=agg2d_demo 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I../../../agg2d \ 13 | -I../../../font_win32_tt \ 14 | -I/usr/X11R6/include \ 15 | -L/usr/X11R6/lib \ 16 | -L../../../src \ 17 | $(PIXFMT) 18 | 19 | LIBS = $(AGGLIBS) -lm -lgdi32 20 | 21 | SRC=\ 22 | ../../$(PROGNAME).cpp \ 23 | ../../../agg2d/agg2d.cpp \ 24 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 25 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp \ 26 | ../../../font_win32_tt/agg_font_win32_tt.cpp 27 | 28 | OBJ= $(SRC:.cpp=.o) 29 | 30 | $(OUTNAME): $(OBJ) 31 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 32 | 33 | clean: 34 | rm -f $(OUTNAME) 35 | rm -f ../../$(PROGNAME).o 36 | rm -f ../../../agg2d/agg2d.o 37 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 38 | rm -f ../../../src/platform/$(PLATFORM)/agg_win32_bmp.o 39 | rm -f gamma.txt 40 | rm -f gamma.bin 41 | 42 | %.o: %.cpp 43 | @echo \< $*.cpp \> 44 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 45 | 46 | 47 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/alpha_gradient/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=alpha_gradient 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/alpha_gradient/alpha_gradient.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "alpha_gradient"=.\alpha_gradient.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/alpha_mask/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=alpha_mask 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../parse_lion.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 34 | rm -f gamma.txt 35 | rm -f gamma.bin 36 | 37 | %.o: %.cpp 38 | @echo \< $*.cpp \> 39 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 40 | 41 | 42 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/alpha_mask/alpha_mask.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "alpha_mask"=.\alpha_mask.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/alpha_mask2/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=alpha_mask2 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../parse_lion.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 34 | rm -f gamma.txt 35 | rm -f gamma.bin 36 | 37 | %.o: %.cpp 38 | @echo \< $*.cpp \> 39 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 40 | 41 | 42 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/alpha_mask2/alpha_mask2.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "alpha_mask2"=.\alpha_mask2.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/alpha_mask3/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=alpha_mask3 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../make_arrows.cpp \ 22 | ../../make_gb_poly.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 24 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 25 | 26 | OBJ= $(SRC:.cpp=.o) 27 | 28 | $(OUTNAME): $(OBJ) 29 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 30 | 31 | clean: 32 | rm -f $(OUTNAME) 33 | rm -f ../../*.o 34 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 35 | rm -f gamma.txt 36 | rm -f gamma.bin 37 | 38 | %.o: %.cpp 39 | @echo \< $*.cpp \> 40 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 41 | 42 | 43 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/alpha_mask3/alpha_mask3.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "alpha_mask3"=.\alpha_mask3.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/bezier_div/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=bezier_div 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../interactive_polygon.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../interactive_polygon.o 34 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 35 | rm -f gamma.txt 36 | rm -f gamma.bin 37 | 38 | %.o: %.cpp 39 | @echo \< $*.cpp \> 40 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 41 | 42 | 43 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/bezier_div/bezier_div.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "bezier_div"=.\bezier_div.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/blend_color/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=blend_color 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/blend_color/blend_color.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "blend_color"=.\blend_color.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/blur/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=blur 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/blur/blur.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "blur"=.\blur.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/bspline/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=bspline 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../interactive_polygon.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../interactive_polygon.o 34 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 35 | rm -f gamma.txt 36 | rm -f gamma.bin 37 | 38 | %.o: %.cpp 39 | @echo \< $*.cpp \> 40 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 41 | 42 | 43 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/bspline/bspline.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "bspline"=.\bspline.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/circles/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=circles 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/circles/circles.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "circles"=.\circles.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/component_rendering/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=component_rendering 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/component_rendering/component_rendering.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "component_rendering"=.\component_rendering.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/compositing/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin or MinGW 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=compositing 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 38 | 39 | 40 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/compositing/compositing.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "compositing"=.\compositing.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/compositing/readme: -------------------------------------------------------------------------------- 1 | Download http://www.antigrain.com/compositing.bmp before running this example. 2 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/compositing2/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin or MinGW 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=compositing 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 38 | 39 | 40 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/compositing2/compositing2.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "compositing2"=.\compositing2.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/conv_contour/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=conv_contour 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/conv_contour/conv_contour.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "conv_contour"=.\conv_contour.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/conv_dash_marker/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=conv_dash_marker 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/conv_dash_marker/conv_dash_marker.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "conv_dash_marker"=.\conv_dash_marker.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/conv_stroke/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=conv_stroke 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/conv_stroke/conv_stroke.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "conv_stroke"=.\conv_stroke.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/distortions/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=distortions 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/distortions/distortions.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "distortions"=.\distortions.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/distortions/readme: -------------------------------------------------------------------------------- 1 | Download http://www.antigrain.com/spheres.bmp before running this example 2 | Use the sliders and the radio-buttons to change the parameters of 3 | the distortions. Drag the center of the distortions. 4 | Don't try to understand the shamanic manipulations with affine matrices 5 | because I composed it using the "hit-and-miss" method :-) 6 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/flash_rasterizer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=flash_rasterizer 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/flash_rasterizer/flash_rasterizer.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "flash_rasterizer"=.\flash_rasterizer.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/flash_rasterizer2/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=flash_rasterizer2 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/flash_rasterizer2/flash_rasterizer2.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "flash_rasterizer2"=.\flash_rasterizer2.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/freetype_test/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=scanline_boolean2 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../make_arrows.cpp \ 22 | ../../make_gb_poly.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 24 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 25 | 26 | OBJ= $(SRC:.cpp=.o) 27 | 28 | $(OUTNAME): $(OBJ) 29 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 30 | 31 | clean: 32 | rm -f $(OUTNAME) 33 | rm -f ../../*.o 34 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 35 | rm -f gamma.txt 36 | rm -f gamma.bin 37 | 38 | %.o: %.cpp 39 | @echo \< $*.cpp \> 40 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 41 | 42 | 43 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/freetype_test/freetype_test.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "freetype_test"=.\freetype_test.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/freetype_test/readme: -------------------------------------------------------------------------------- 1 | This example demonstrates the use of the FreeType font rendering 2 | engine (http://freetype.org). Please get file "timesi.ttf" before 3 | running this example. You can download it from: 4 | http://www.antigrain.com/timesi.zip 5 | 6 | Note that the building environment expects 7 | FreeType installed into the root directory, that is, "\freetype2". 8 | It supposed to be compiled in "Debug" and "Release" configurations. 9 | If you install FreeType somewhere else please correct the paths 10 | to the include and library directories. 11 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gamma_correction/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=gamma_correction 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gamma_correction/gamma_correction.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "gamma_correction"=.\gamma_correction.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gamma_ctrl/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=gamma_ctrl 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gamma_ctrl/gamma_ctrl.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "gamma_ctrl"=.\gamma_ctrl.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gamma_tuner/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=gamma_tuner 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gamma_tuner/gamma_tuner.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "gamma_tuner"=.\gamma_tuner.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gouraud/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=gouraud 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gouraud/gouraud.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "gouraud"=.\gouraud.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gouraud_mesh/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=gouraud_mesh 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gouraud_mesh/gouraud_mesh.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "gouraud_mesh"=.\gouraud_mesh.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gpc_test/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=gpc_test 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include -I../../../gpc \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../make_arrows.cpp \ 22 | ../../make_gb_poly.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 24 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 25 | 26 | OBJ= $(SRC:.cpp=.o) 27 | 28 | $(OUTNAME): $(OBJ) 29 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 30 | 31 | clean: 32 | rm -f $(OUTNAME) 33 | rm -f ../../*.o 34 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 35 | rm -f gamma.txt 36 | rm -f gamma.bin 37 | 38 | %.o: %.cpp 39 | @echo \< $*.cpp \> 40 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 41 | 42 | 43 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gpc_test/gpc_test.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "gpc_test"=.\gpc_test.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gradient_focal/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=gradient_focal 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | 34 | %.o: %.cpp 35 | @echo \< $*.cpp \> 36 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 37 | 38 | 39 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gradient_focal/gradient_focal.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "gradient_focal"=.\gradient_focal.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gradients/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=gradients 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gradients/gradients.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "gradients"=.\gradients.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/gradients/settings.dat: -------------------------------------------------------------------------------- 1 | 399.254028 2 | 339.996429 3 | 1.128661 4 | 77.270996 5 | 0.000000 6 | 1.000000 7 | 0.115323 8 | 1.000000 9 | 0.363710 10 | 0.812121 11 | 0.604032 12 | 0.460606 13 | 0.791935 14 | 0.200000 15 | 1.000000 16 | 0.606061 17 | 0.000000 18 | 1.000000 19 | 0.083065 20 | 1.000000 21 | 0.299194 22 | 0.418182 23 | 0.651484 24 | 0.000000 25 | 0.810365 26 | 0.000000 27 | 1.000000 28 | 0.290598 29 | 0.000000 30 | 1.000000 31 | 0.051755 32 | 0.934195 33 | 0.115509 34 | 0.587701 35 | 0.334362 36 | 0.000000 37 | 0.708762 38 | 0.000000 39 | 1.000000 40 | 0.000000 41 | 0.000000 42 | 1.000000 43 | 0.171775 44 | 1.000000 45 | 0.376360 46 | 1.000000 47 | 0.598100 48 | 1.000000 49 | 0.804839 50 | 1.000000 51 | 1.000000 52 | 1.000000 53 | 0.786681 54 | 1.239889 55 | 0.726049 56 | 0.710140 57 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/graph_test/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=graph_test 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/graph_test/graph_test.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "graph_test"=.\graph_test.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/idea/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=idea 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/idea/idea.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "idea"=.\idea.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image1/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=image1 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image1/image1.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "image1"=.\image1.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image1/readme: -------------------------------------------------------------------------------- 1 | Download http://www.antigrain.com/spheres.bmp before running this example -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_alpha/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=image_alpha 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_alpha/image_alpha.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "image_alpha"=.\image_alpha.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_alpha/readme: -------------------------------------------------------------------------------- 1 | Download http://www.antigrain.com/spheres.bmp before running this example. 2 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_filters/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=image_filters 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_filters/image_filters.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "image_filters"=.\image_filters.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_filters/readme: -------------------------------------------------------------------------------- 1 | Download http://www.antigrain.com/spheres.bmp before running this example. 2 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_filters2/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=image_filters2 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_filters2/image_filters2.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "image_filters2"=.\image_filters2.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_filters2/readme: -------------------------------------------------------------------------------- 1 | Download http://www.antigrain.com/spheres.bmp before running this example. 2 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_fltr_graph/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=image_fltr_graph 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_fltr_graph/image_fltr_graph.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "image_fltr_graph"=.\image_fltr_graph.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_perspective/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=image_perspective 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../interactive_polygon.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../interactive_polygon.o 34 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 35 | rm -f gamma.txt 36 | rm -f gamma.bin 37 | 38 | %.o: %.cpp 39 | @echo \< $*.cpp \> 40 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 41 | 42 | 43 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_perspective/image_perspective.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "image_perspective"=.\image_perspective.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_perspective/readme: -------------------------------------------------------------------------------- 1 | Download http://www.antigrain.com/spheres.bmp before running this example. 2 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_resample/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=image_resample 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../interactive_polygon.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../interactive_polygon.o 34 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 35 | rm -f gamma.txt 36 | rm -f gamma.bin 37 | 38 | %.o: %.cpp 39 | @echo \< $*.cpp \> 40 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 41 | 42 | 43 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_resample/image_resample.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "image_resample"=.\image_resample.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_resample/readme: -------------------------------------------------------------------------------- 1 | Download http://www.antigrain.com/spheres.bmp before running this example. 2 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_transforms/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=image_transforms 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/image_transforms/image_transforms.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "image_transforms"=.\image_transforms.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/line_patterns/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=line_patterns 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/line_patterns/line_patterns.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "line_patterns"=.\line_patterns.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/line_patterns_clip/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=line_patterns_clip 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/line_patterns_clip/line_patterns_clip.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "line_patterns_clip"=.\line_patterns_clip.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/lion/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=lion 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../parse_lion.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 34 | rm -f gamma.txt 35 | rm -f gamma.bin 36 | 37 | %.o: %.cpp 38 | @echo \< $*.cpp \> 39 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 40 | 41 | 42 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/lion/lion.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "lion"=.\lion.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/lion_lens/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=lion_lens 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../parse_lion.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 34 | rm -f gamma.txt 35 | rm -f gamma.bin 36 | 37 | %.o: %.cpp 38 | @echo \< $*.cpp \> 39 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 40 | 41 | 42 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/lion_lens/lion_lens.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "lion_lens"=.\lion_lens.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/lion_outline/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=lion_outline 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../parse_lion.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 34 | rm -f gamma.txt 35 | rm -f gamma.bin 36 | 37 | %.o: %.cpp 38 | @echo \< $*.cpp \> 39 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 40 | 41 | 42 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/lion_outline/lion_outline.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "lion_outline"=.\lion_outline.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/mol_view/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=mol_view 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/mol_view/mol_view.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "mol_view"=.\mol_view.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/mol_view/readme: -------------------------------------------------------------------------------- 1 | Download http://www.antigrain.com/1.sdf before running this example. 2 | Press PageUp/PgDown to switch between different molecules. 3 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/multi_clip/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=multi_clip 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../parse_lion.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 34 | rm -f gamma.txt 35 | rm -f gamma.bin 36 | 37 | %.o: %.cpp 38 | @echo \< $*.cpp \> 39 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 40 | 41 | 42 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/multi_clip/multi_clip.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "multi_clip"=.\multi_clip.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pattern_fill/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=pattern_fill 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pattern_fill/pattern_fill.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "pattern_fill"=.\pattern_fill.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pattern_perspective/pattern_perspective.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "pattern_perspective"=.\pattern_perspective.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pattern_resample/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=pattern_resample 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../interactive_polygon.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../interactive_polygon.o 34 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 35 | rm -f gamma.txt 36 | rm -f gamma.bin 37 | 38 | %.o: %.cpp 39 | @echo \< $*.cpp \> 40 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 41 | 42 | 43 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pattern_resample/pattern_resample.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "pattern_resample"=.\pattern_resample.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/perspective/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=perspective 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../parse_lion.cpp \ 22 | ../../interactive_polygon.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 24 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 25 | 26 | OBJ= $(SRC:.cpp=.o) 27 | 28 | $(OUTNAME): $(OBJ) 29 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 30 | 31 | clean: 32 | rm -f $(OUTNAME) 33 | rm -f ../../$(PROGNAME).o 34 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 35 | rm -f gamma.txt 36 | rm -f gamma.bin 37 | 38 | %.o: %.cpp 39 | @echo \< $*.cpp \> 40 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 41 | 42 | 43 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/perspective/perspective.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "perspective"=.\perspective.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/polymorphic_renderer/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=polymorphic_renderer 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/polymorphic_renderer/polymorphic_renderer.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "polymorphic_renderer"=.\polymorphic_renderer.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pure_api/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // pure_api.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pure_api/StdAfx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #if !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_) 7 | #define AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_ 8 | 9 | #if _MSC_VER > 1000 10 | #pragma once 11 | #endif // _MSC_VER > 1000 12 | 13 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 14 | 15 | 16 | // Windows Header Files: 17 | #include 18 | 19 | // C RunTime Header Files 20 | #include 21 | #include 22 | #include 23 | #include 24 | 25 | // Local Header Files 26 | 27 | // TODO: reference additional headers your program requires here 28 | 29 | //{{AFX_INSERT_LOCATION}} 30 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 31 | 32 | #endif // !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_) 33 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pure_api/pure_api.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "pure_api"=.\pure_api.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pure_api/pure_api.h: -------------------------------------------------------------------------------- 1 | 2 | #if !defined(AFX_PURE_API_H__B17A1161_38FE_4F00_8284_B215A497C968__INCLUDED_) 3 | #define AFX_PURE_API_H__B17A1161_38FE_4F00_8284_B215A497C968__INCLUDED_ 4 | 5 | #if _MSC_VER > 1000 6 | #pragma once 7 | #endif // _MSC_VER > 1000 8 | 9 | #include "resource.h" 10 | 11 | 12 | #endif // !defined(AFX_PURE_API_H__B17A1161_38FE_4F00_8284_B215A497C968__INCLUDED_) 13 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pure_api/pure_api.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/examples/win32_api/pure_api/pure_api.ico -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pure_api/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by PURE_API.RC 4 | // 5 | #define IDR_MAINFRAME 128 6 | #define IDD_PURE_API_DIALOG 102 7 | #define IDD_ABOUTBOX 103 8 | #define IDS_APP_TITLE 103 9 | #define IDM_ABOUT 104 10 | #define IDM_EXIT 105 11 | #define IDS_HELLO 106 12 | #define IDI_PURE_API 107 13 | #define IDI_SMALL 108 14 | #define IDC_PURE_API 109 15 | #define IDC_MYICON 2 16 | #define IDC_STATIC -1 17 | // Next default values for new objects 18 | // 19 | #ifdef APSTUDIO_INVOKED 20 | #ifndef APSTUDIO_READONLY_SYMBOLS 21 | 22 | #define _APS_NEXT_RESOURCE_VALUE 129 23 | #define _APS_NEXT_COMMAND_VALUE 32771 24 | #define _APS_NEXT_CONTROL_VALUE 1000 25 | #define _APS_NEXT_SYMED_VALUE 110 26 | #endif 27 | #endif 28 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/pure_api/small.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/examples/win32_api/pure_api/small.ico -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/raster_text/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=raster_text 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/raster_text/raster_text.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "raster_text"=.\raster_text.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/rasterizer_compound/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=rasterizer_compound 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/rasterizer_compound/rasterizer_compound.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "rasterizer_compound"=.\rasterizer_compound.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/rasterizers/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=rasterizers 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/rasterizers/rasterizers.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "rasterizers"=.\rasterizers.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/rasterizers2/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=rasterizers2 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/rasterizers2/rasterizers2.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "rasterizers2"=.\rasterizers2.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/rounded_rect/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=rounded_rect 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/rounded_rect/rounded_rect.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "rounded_rect"=.\rounded_rect.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/scanline_boolean/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=scanline_boolean 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../interactive_polygon.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../interactive_polygon.o 34 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 35 | rm -f gamma.txt 36 | rm -f gamma.bin 37 | 38 | %.o: %.cpp 39 | @echo \< $*.cpp \> 40 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 41 | 42 | 43 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/scanline_boolean/scanline_boolean.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "scanline_boolean"=.\scanline_boolean.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/scanline_boolean2/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=scanline_boolean2 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../make_arrows.cpp \ 22 | ../../make_gb_poly.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 24 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 25 | 26 | OBJ= $(SRC:.cpp=.o) 27 | 28 | $(OUTNAME): $(OBJ) 29 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 30 | 31 | clean: 32 | rm -f $(OUTNAME) 33 | rm -f ../../*.o 34 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 35 | rm -f gamma.txt 36 | rm -f gamma.bin 37 | 38 | %.o: %.cpp 39 | @echo \< $*.cpp \> 40 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 41 | 42 | 43 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/scanline_boolean2/scanline_boolean2.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "scanline_boolean2"=.\scanline_boolean2.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/simple_blur/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=simple_blur 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../parse_lion.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 24 | 25 | OBJ= $(SRC:.cpp=.o) 26 | 27 | $(OUTNAME): $(OBJ) 28 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 29 | 30 | clean: 31 | rm -f $(OUTNAME) 32 | rm -f ../../$(PROGNAME).o 33 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 34 | rm -f gamma.txt 35 | rm -f gamma.bin 36 | 37 | %.o: %.cpp 38 | @echo \< $*.cpp \> 39 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 40 | 41 | 42 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/simple_blur/simple_blur.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "simple_blur"=.\simple_blur.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/svg_test/svg_test.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "svg_test"=.\svg_test.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/trans_curve1/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=trans_curve1 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) \ 12 | -I../../../include \ 13 | -I../../../font_win32_tt \ 14 | -I/usr/X11R6/include \ 15 | -L/usr/X11R6/lib \ 16 | -L../../../src \ 17 | $(PIXFMT) 18 | 19 | LIBS = $(AGGLIBS) -lm -lgdi32 20 | 21 | SRC=\ 22 | ../../$(PROGNAME).cpp \ 23 | ../../interactive_polygon.cpp \ 24 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 25 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp \ 26 | ../../../font_win32_tt/agg_font_win32_tt.cpp 27 | 28 | 29 | OBJ= $(SRC:.cpp=.o) 30 | 31 | $(OUTNAME): $(OBJ) 32 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 33 | 34 | clean: 35 | rm -f $(OUTNAME) 36 | rm -f ../../$(PROGNAME).o 37 | rm -f ../../interactive_polygon.o 38 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 39 | rm -f gamma.txt 40 | rm -f gamma.bin 41 | 42 | %.o: %.cpp 43 | @echo \< $*.cpp \> 44 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 45 | 46 | 47 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/trans_curve1/trans_curve1.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "trans_curve1"=.\trans_curve1.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/trans_curve2/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=trans_curve2 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) \ 12 | -I../../../include \ 13 | -I../../../font_win32_tt \ 14 | -I/usr/X11R6/include \ 15 | -L/usr/X11R6/lib \ 16 | -L../../../src \ 17 | $(PIXFMT) 18 | 19 | LIBS = $(AGGLIBS) -lm -lgdi32 20 | 21 | SRC=\ 22 | ../../$(PROGNAME).cpp \ 23 | ../../interactive_polygon.cpp \ 24 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 25 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp \ 26 | ../../../font_win32_tt/agg_font_win32_tt.cpp 27 | 28 | 29 | OBJ= $(SRC:.cpp=.o) 30 | 31 | $(OUTNAME): $(OBJ) 32 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 33 | 34 | clean: 35 | rm -f $(OUTNAME) 36 | rm -f ../../$(PROGNAME).o 37 | rm -f ../../interactive_polygon.o 38 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 39 | rm -f gamma.txt 40 | rm -f gamma.bin 41 | 42 | %.o: %.cpp 43 | @echo \< $*.cpp \> 44 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 45 | 46 | 47 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/trans_curve2/trans_curve2.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "trans_curve2"=.\trans_curve2.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/trans_polar/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=trans_polar 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ 12 | -I/usr/X11R6/include \ 13 | -L/usr/X11R6/lib \ 14 | -L../../../src \ 15 | $(PIXFMT) 16 | 17 | LIBS = $(AGGLIBS) -lm -lgdi32 18 | 19 | SRC=\ 20 | ../../$(PROGNAME).cpp \ 21 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 22 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp 23 | 24 | OBJ= $(SRC:.cpp=.o) 25 | 26 | $(OUTNAME): $(OBJ) 27 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 28 | 29 | clean: 30 | rm -f $(OUTNAME) 31 | rm -f ../../$(PROGNAME).o 32 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 33 | rm -f gamma.txt 34 | rm -f gamma.bin 35 | 36 | %.o: %.cpp 37 | @echo \< $*.cpp \> 38 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 39 | 40 | 41 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/trans_polar/trans_polar.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "trans_polar"=.\trans_polar.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/truetype_test/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # This makefile can be used to build a Win32 application under Cygwin 3 | # 4 | 5 | include ../../../Makefile.in.$(shell uname) 6 | 7 | PROGNAME=truetype_test 8 | OUTNAME=$(PROGNAME) 9 | PLATFORM=win32 10 | 11 | CXXFLAGS= $(AGGCXXFLAGS) \ 12 | -I../../../include \ 13 | -I../../../font_win32_tt \ 14 | -I/usr/X11R6/include \ 15 | -L/usr/X11R6/lib \ 16 | -L../../../src \ 17 | $(PIXFMT) 18 | 19 | LIBS = $(AGGLIBS) -lm -lgdi32 20 | 21 | SRC=\ 22 | ../../$(PROGNAME).cpp \ 23 | ../../../src/platform/$(PLATFORM)/agg_platform_support.cpp \ 24 | ../../../src/platform/$(PLATFORM)/agg_win32_bmp.cpp \ 25 | ../../../font_win32_tt/agg_font_win32_tt.cpp 26 | 27 | 28 | OBJ= $(SRC:.cpp=.o) 29 | 30 | $(OUTNAME): $(OBJ) 31 | $(CXX) $(CXXFLAGS) $^ -o $(OUTNAME) $(LIBS) 32 | 33 | clean: 34 | rm -f $(OUTNAME) 35 | rm -f ../../$(PROGNAME).o 36 | rm -f ../../interactive_polygon.o 37 | rm -f ../../../src/platform/$(PLATFORM)/agg_platform_support.o 38 | rm -f gamma.txt 39 | rm -f gamma.bin 40 | 41 | %.o: %.cpp 42 | @echo \< $*.cpp \> 43 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 44 | 45 | 46 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api/truetype_test/truetype_test.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "truetype_test"=.\truetype_test.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /agg-2.4/examples/win32_api_dmc/readme: -------------------------------------------------------------------------------- 1 | This is a makefile to build the demo examples with the Digital Mars C++. 2 | Visit http://digitalmars.com/ for more info and to download the compiler. 3 | 4 | The compiler is very easy in use and doesn't require any installation 5 | procedure. You just download and unzip it. 6 | 7 | Suppose you have unzipped it into the root directory: 8 | 9 | \dm\*.* 10 | 11 | That is, the full path to the compiler is \dm\bin\dmc.exe 12 | 13 | Then you simply run: 14 | 15 | \dm\bin\make 16 | 17 | That's it, it should build the examples, except for svg_test and freetype_test. 18 | If you have a different directory with the compiler please modify the Makefile 19 | accordingly (that's pertty easy). 20 | 21 | -------------------------------------------------------------------------------- /agg-2.4/font_freetype/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | if ENABLE_FT 3 | aggincludedir = $(includedir)/agg2 4 | agginclude_HEADERS = agg_font_freetype.h 5 | lib_LTLIBRARIES = libaggfontfreetype.la 6 | 7 | libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @FREETYPE_LIBS@ 8 | libaggfontfreetype_la_SOURCES = agg_font_freetype.cpp 9 | libaggfontfreetype_la_CXXFLAGS = -I$(top_srcdir)/include @FREETYPE_CFLAGS@ 10 | endif 11 | 12 | -------------------------------------------------------------------------------- /agg-2.4/font_win32_tt/Makefile.am: -------------------------------------------------------------------------------- 1 | ## this needs more work, and is intended to work in a unix cross 2 | ## compilation toolchain, or in something like msys 3 | 4 | if ENABLE_WIN32_TT 5 | aggincludedir = $(includedir)/agg2 6 | agginclude_HEADERS = agg_font_win32_tt.h 7 | lib_LTLIBRARIES = libaggfontwin32tt.la 8 | 9 | libaggfontwin32tt_la_LDFLAGS = -no-undefined -version-info @AGG_LIB_VERSION@ @WINDOWS_LIBS@ ../src/libagg.la 10 | libaggfontwin32tt_la_SOURCES = agg_font_win32_tt.cpp 11 | libaggfontwin32tt_la_CXXFLAGS = -I$(top_srcdir)/include @WINDOWS_CFLAGS@ 12 | endif 13 | 14 | -------------------------------------------------------------------------------- /agg-2.4/gpc/Makefile.am: -------------------------------------------------------------------------------- 1 | if ENABLE_GPC 2 | lib_LTLIBRARIES = libagggpc.la 3 | include_HEADERS=gpc.h 4 | libagggpc_la_LDFLAGS = -no-undefined -version-info @AGG_LIB_VERSION@ 5 | libagggpc_la_SOURCES = gpc.c 6 | 7 | EXTRA_DIST=copying.txt\ 8 | VERSIONS.TXT\ 9 | gpc.h 10 | 11 | endif 12 | -------------------------------------------------------------------------------- /agg-2.4/gpc/copying.txt: -------------------------------------------------------------------------------- 1 | 2 | http://www.cs.man.ac.uk/aig/staff/alan/software/ 3 | 4 | Author: Alan Murta (email: gpc@cs.man.ac.uk) 5 | Version: 2.31 6 | Date: 4th June 1999 7 | 8 | Copyright: (C) 1997-1999, Advanced Interfaces Group, 9 | University of Manchester. 10 | 11 | This software is free for non-commercial use. It may be copied, 12 | modified, and redistributed provided that this copyright notice 13 | is preserved on all copies. The intellectual property rights of 14 | the algorithms used reside with the University of Manchester 15 | Advanced Interfaces Group. 16 | 17 | You may not use this software, in whole or in part, in support 18 | of any commercial product without the express consent of the 19 | author. 20 | 21 | There is no warranty or other guarantee of fitness of this 22 | software for any purpose. It is provided solely "as is". 23 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_bitset_iterator.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGG_BITSET_ITERATOR_INCLUDED 17 | #define AGG_BITSET_ITERATOR_INCLUDED 18 | 19 | #include "agg_basics.h" 20 | 21 | namespace agg 22 | { 23 | 24 | class bitset_iterator 25 | { 26 | public: 27 | bitset_iterator(const int8u* bits, unsigned offset = 0) : 28 | m_bits(bits + (offset >> 3)), 29 | m_mask(0x80 >> (offset & 7)) 30 | {} 31 | 32 | void operator ++ () 33 | { 34 | m_mask >>= 1; 35 | if(m_mask == 0) 36 | { 37 | ++m_bits; 38 | m_mask = 0x80; 39 | } 40 | } 41 | 42 | unsigned bit() const 43 | { 44 | return (*m_bits) & m_mask; 45 | } 46 | 47 | private: 48 | const int8u* m_bits; 49 | int8u m_mask; 50 | }; 51 | 52 | } 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_config.h: -------------------------------------------------------------------------------- 1 | #ifndef AGG_CONFIG_INCLUDED 2 | #define AGG_CONFIG_INCLUDED 3 | 4 | // This file can be used to redefine certain data types. 5 | 6 | //--------------------------------------- 7 | // 1. Default basic types such as: 8 | // 9 | // AGG_INT8 10 | // AGG_INT8U 11 | // AGG_INT16 12 | // AGG_INT16U 13 | // AGG_INT32 14 | // AGG_INT32U 15 | // AGG_INT64 16 | // AGG_INT64U 17 | // 18 | // Just replace this file with new defines if necessary. 19 | // For example, if your compiler doesn't have a 64 bit integer type 20 | // you can still use AGG if you define the follows: 21 | // 22 | // #define AGG_INT64 int 23 | // #define AGG_INT64U unsigned 24 | // 25 | // It will result in overflow in 16 bit-per-component image/pattern resampling 26 | // but it won't result any crash and the rest of the library will remain 27 | // fully functional. 28 | 29 | 30 | //--------------------------------------- 31 | // 2. Default rendering_buffer type. Can be: 32 | // 33 | // Provides faster access for massive pixel operations, 34 | // such as blur, image filtering: 35 | // #define AGG_RENDERING_BUFFER row_ptr_cache 36 | // 37 | // Provides cheaper creation and destruction (no mem allocs): 38 | // #define AGG_RENDERING_BUFFER row_accessor 39 | // 40 | // You can still use both of them simultaneously in your applications 41 | // This #define is used only for default rendering_buffer type, 42 | // in short hand typedefs like pixfmt_rgba32. 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_conv_bspline.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | #ifndef AGG_CONV_BSPLINE_INCLUDED 16 | #define AGG_CONV_BSPLINE_INCLUDED 17 | 18 | #include "agg_basics.h" 19 | #include "agg_vcgen_bspline.h" 20 | #include "agg_conv_adaptor_vcgen.h" 21 | 22 | 23 | namespace agg 24 | { 25 | 26 | //---------------------------------------------------------conv_bspline 27 | template 28 | struct conv_bspline : public conv_adaptor_vcgen 29 | { 30 | typedef conv_adaptor_vcgen base_type; 31 | 32 | conv_bspline(VertexSource& vs) : 33 | conv_adaptor_vcgen(vs) {} 34 | 35 | void interpolation_step(double v) { base_type::generator().interpolation_step(v); } 36 | double interpolation_step() const { return base_type::generator().interpolation_step(); } 37 | 38 | private: 39 | conv_bspline(const conv_bspline&); 40 | const conv_bspline& 41 | operator = (const conv_bspline&); 42 | }; 43 | 44 | } 45 | 46 | 47 | #endif 48 | 49 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_conv_marker_adaptor.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGG_CONV_MARKER_ADAPTOR_INCLUDED 17 | #define AGG_CONV_MARKER_ADAPTOR_INCLUDED 18 | 19 | #include "agg_basics.h" 20 | #include "agg_conv_adaptor_vcgen.h" 21 | #include "agg_vcgen_vertex_sequence.h" 22 | 23 | namespace agg 24 | { 25 | 26 | //=====================================================conv_marker_adaptor 27 | template 28 | struct conv_marker_adaptor : 29 | public conv_adaptor_vcgen 30 | { 31 | typedef Markers marker_type; 32 | typedef conv_adaptor_vcgen base_type; 33 | 34 | conv_marker_adaptor(VertexSource& vs) : 35 | conv_adaptor_vcgen(vs) 36 | { 37 | } 38 | 39 | void shorten(double s) { base_type::generator().shorten(s); } 40 | double shorten() const { return base_type::generator().shorten(); } 41 | 42 | private: 43 | conv_marker_adaptor(const conv_marker_adaptor&); 44 | const conv_marker_adaptor& 45 | operator = (const conv_marker_adaptor&); 46 | }; 47 | 48 | 49 | } 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_conv_segmentator.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGG_CONV_SEGMENTATOR_INCLUDED 17 | #define AGG_CONV_SEGMENTATOR_INCLUDED 18 | 19 | #include "agg_basics.h" 20 | #include "agg_conv_adaptor_vpgen.h" 21 | #include "agg_vpgen_segmentator.h" 22 | 23 | namespace agg 24 | { 25 | 26 | //========================================================conv_segmentator 27 | template 28 | struct conv_segmentator : public conv_adaptor_vpgen 29 | { 30 | typedef conv_adaptor_vpgen base_type; 31 | 32 | conv_segmentator(VertexSource& vs) : 33 | conv_adaptor_vpgen(vs) {} 34 | 35 | void approximation_scale(double s) { base_type::vpgen().approximation_scale(s); } 36 | double approximation_scale() const { return base_type::vpgen().approximation_scale(); } 37 | 38 | private: 39 | conv_segmentator(const conv_segmentator&); 40 | const conv_segmentator& 41 | operator = (const conv_segmentator&); 42 | }; 43 | 44 | 45 | } 46 | 47 | #endif 48 | 49 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_conv_shorten_path.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGG_CONV_SHORTEN_PATH_INCLUDED 17 | #define AGG_CONV_SHORTEN_PATH_INCLUDED 18 | 19 | #include "agg_basics.h" 20 | #include "agg_conv_adaptor_vcgen.h" 21 | #include "agg_vcgen_vertex_sequence.h" 22 | 23 | namespace agg 24 | { 25 | 26 | //=======================================================conv_shorten_path 27 | template class conv_shorten_path : 28 | public conv_adaptor_vcgen 29 | { 30 | public: 31 | typedef conv_adaptor_vcgen base_type; 32 | 33 | conv_shorten_path(VertexSource& vs) : 34 | conv_adaptor_vcgen(vs) 35 | { 36 | } 37 | 38 | void shorten(double s) { base_type::generator().shorten(s); } 39 | double shorten() const { return base_type::generator().shorten(); } 40 | 41 | private: 42 | conv_shorten_path(const conv_shorten_path&); 43 | const conv_shorten_path& 44 | operator = (const conv_shorten_path&); 45 | }; 46 | 47 | 48 | } 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_conv_unclose_polygon.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGG_CONV_UNCLOSE_POLYGON_INCLUDED 17 | #define AGG_CONV_UNCLOSE_POLYGON_INCLUDED 18 | 19 | #include "agg_basics.h" 20 | 21 | namespace agg 22 | { 23 | //====================================================conv_unclose_polygon 24 | template class conv_unclose_polygon 25 | { 26 | public: 27 | explicit conv_unclose_polygon(VertexSource& vs) : m_source(&vs) {} 28 | void attach(VertexSource& source) { m_source = &source; } 29 | 30 | void rewind(unsigned path_id) 31 | { 32 | m_source->rewind(path_id); 33 | } 34 | 35 | unsigned vertex(double* x, double* y) 36 | { 37 | unsigned cmd = m_source->vertex(x, y); 38 | if(is_end_poly(cmd)) cmd &= ~path_flags_close; 39 | return cmd; 40 | } 41 | 42 | private: 43 | conv_unclose_polygon(const conv_unclose_polygon&); 44 | const conv_unclose_polygon& 45 | operator = (const conv_unclose_polygon&); 46 | 47 | VertexSource* m_source; 48 | }; 49 | 50 | } 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_path_length.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | #ifndef AGG_PATH_LENGTH_INCLUDED 16 | #define AGG_PATH_LENGTH_INCLUDED 17 | 18 | #include "agg_math.h" 19 | 20 | namespace agg 21 | { 22 | template 23 | double path_length(VertexSource& vs, unsigned path_id = 0) 24 | { 25 | double len = 0.0; 26 | double start_x = 0.0; 27 | double start_y = 0.0; 28 | double x1 = 0.0; 29 | double y1 = 0.0; 30 | double x2 = 0.0; 31 | double y2 = 0.0; 32 | bool first = true; 33 | 34 | unsigned cmd; 35 | vs.rewind(path_id); 36 | while(!is_stop(cmd = vs.vertex(&x2, &y2))) 37 | { 38 | if(is_vertex(cmd)) 39 | { 40 | if(first || is_move_to(cmd)) 41 | { 42 | start_x = x2; 43 | start_y = y2; 44 | } 45 | else 46 | { 47 | len += calc_distance(x1, y1, x2, y2); 48 | } 49 | x1 = x2; 50 | y1 = y2; 51 | first = false; 52 | } 53 | else 54 | { 55 | if(is_close(cmd) && !first) 56 | { 57 | len += calc_distance(x1, y1, start_x, start_y); 58 | } 59 | } 60 | } 61 | return len; 62 | } 63 | } 64 | 65 | #endif 66 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_span_allocator.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGG_SPAN_ALLOCATOR_INCLUDED 17 | #define AGG_SPAN_ALLOCATOR_INCLUDED 18 | 19 | #include "agg_array.h" 20 | 21 | namespace agg 22 | { 23 | //----------------------------------------------------------span_allocator 24 | template class span_allocator 25 | { 26 | public: 27 | typedef ColorT color_type; 28 | 29 | //-------------------------------------------------------------------- 30 | AGG_INLINE color_type* allocate(unsigned span_len) 31 | { 32 | if(span_len > m_span.size()) 33 | { 34 | // To reduce the number of reallocs we align the 35 | // span_len to 256 color elements. 36 | // Well, I just like this number and it looks reasonable. 37 | //----------------------- 38 | m_span.resize(((span_len + 255) >> 8) << 8); 39 | } 40 | return &m_span[0]; 41 | } 42 | 43 | AGG_INLINE color_type* span() { return &m_span[0]; } 44 | AGG_INLINE unsigned max_span_len() const { return m_span.size(); } 45 | 46 | private: 47 | pod_array m_span; 48 | }; 49 | } 50 | 51 | 52 | #endif 53 | 54 | 55 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_span_converter.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGG_SPAN_CONVERTER_INCLUDED 17 | #define AGG_SPAN_CONVERTER_INCLUDED 18 | 19 | #include "agg_basics.h" 20 | 21 | namespace agg 22 | { 23 | //----------------------------------------------------------span_converter 24 | template class span_converter 25 | { 26 | public: 27 | typedef typename SpanGenerator::color_type color_type; 28 | 29 | span_converter(SpanGenerator& span_gen, SpanConverter& span_cnv) : 30 | m_span_gen(&span_gen), m_span_cnv(&span_cnv) {} 31 | 32 | void attach_generator(SpanGenerator& span_gen) { m_span_gen = &span_gen; } 33 | void attach_converter(SpanConverter& span_cnv) { m_span_cnv = &span_cnv; } 34 | 35 | //-------------------------------------------------------------------- 36 | void prepare() 37 | { 38 | m_span_gen->prepare(); 39 | m_span_cnv->prepare(); 40 | } 41 | 42 | //-------------------------------------------------------------------- 43 | void generate(color_type* span, int x, int y, unsigned len) 44 | { 45 | m_span_gen->generate(span, x, y, len); 46 | m_span_cnv->generate(span, x, y, len); 47 | } 48 | 49 | private: 50 | SpanGenerator* m_span_gen; 51 | SpanConverter* m_span_cnv; 52 | }; 53 | 54 | } 55 | 56 | #endif 57 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_span_solid.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | // 16 | // span_solid_rgba8 17 | // 18 | //---------------------------------------------------------------------------- 19 | 20 | #ifndef AGG_SPAN_SOLID_INCLUDED 21 | #define AGG_SPAN_SOLID_INCLUDED 22 | 23 | #include "agg_basics.h" 24 | 25 | namespace agg 26 | { 27 | //--------------------------------------------------------------span_solid 28 | template class span_solid 29 | { 30 | public: 31 | typedef ColorT color_type; 32 | 33 | //-------------------------------------------------------------------- 34 | void color(const color_type& c) { m_color = c; } 35 | const color_type& color() const { return m_color; } 36 | 37 | //-------------------------------------------------------------------- 38 | void prepare() {} 39 | 40 | //-------------------------------------------------------------------- 41 | void generate(color_type* span, int x, int y, unsigned len) 42 | { 43 | do { *span++ = m_color; } while(--len); 44 | } 45 | 46 | private: 47 | color_type m_color; 48 | }; 49 | 50 | 51 | } 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_trans_warp_magnifier.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGG_WARP_MAGNIFIER_INCLUDED 17 | #define AGG_WARP_MAGNIFIER_INCLUDED 18 | 19 | 20 | namespace agg 21 | { 22 | 23 | //----------------------------------------------------trans_warp_magnifier 24 | // 25 | // See Inmplementation agg_trans_warp_magnifier.cpp 26 | // 27 | class trans_warp_magnifier 28 | { 29 | public: 30 | trans_warp_magnifier() : m_xc(0.0), m_yc(0.0), m_magn(1.0), m_radius(1.0) {} 31 | 32 | void center(double x, double y) { m_xc = x; m_yc = y; } 33 | void magnification(double m) { m_magn = m; } 34 | void radius(double r) { m_radius = r; } 35 | 36 | double xc() const { return m_xc; } 37 | double yc() const { return m_yc; } 38 | double magnification() const { return m_magn; } 39 | double radius() const { return m_radius; } 40 | 41 | void transform(double* x, double* y) const; 42 | void inverse_transform(double* x, double* y) const; 43 | 44 | private: 45 | double m_xc; 46 | double m_yc; 47 | double m_magn; 48 | double m_radius; 49 | }; 50 | 51 | 52 | } 53 | 54 | 55 | #endif 56 | 57 | -------------------------------------------------------------------------------- /agg-2.4/include/agg_vpgen_segmentator.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // Contact: mcseem@antigrain.com 12 | // mcseemagg@yahoo.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | #ifndef AGG_VPGEN_SEGMENTATOR_INCLUDED 17 | #define AGG_VPGEN_SEGMENTATOR_INCLUDED 18 | 19 | #include 20 | #include "agg_basics.h" 21 | 22 | namespace agg 23 | { 24 | 25 | //=======================================================vpgen_segmentator 26 | // 27 | // See Implementation agg_vpgen_segmentator.cpp 28 | // 29 | class vpgen_segmentator 30 | { 31 | public: 32 | vpgen_segmentator() : m_approximation_scale(1.0) {} 33 | 34 | void approximation_scale(double s) { m_approximation_scale = s; } 35 | double approximation_scale() const { return m_approximation_scale; } 36 | 37 | static bool auto_close() { return false; } 38 | static bool auto_unclose() { return false; } 39 | 40 | void reset() { m_cmd = path_cmd_stop; } 41 | void move_to(double x, double y); 42 | void line_to(double x, double y); 43 | unsigned vertex(double* x, double* y); 44 | 45 | private: 46 | double m_approximation_scale; 47 | double m_x1; 48 | double m_y1; 49 | double m_dx; 50 | double m_dy; 51 | double m_dl; 52 | double m_ddl; 53 | unsigned m_cmd; 54 | }; 55 | 56 | 57 | 58 | } 59 | 60 | #endif 61 | 62 | -------------------------------------------------------------------------------- /agg-2.4/include/ctrl/Makefile.am: -------------------------------------------------------------------------------- 1 | aggincludedir = $(includedir)/agg2/ctrl 2 | agginclude_HEADERS = agg_ctrl.h agg_gamma_spline.h agg_scale_ctrl.h agg_spline_ctrl.h \ 3 | agg_cbox_ctrl.h agg_gamma_ctrl.h agg_rbox_ctrl.h agg_slider_ctrl.h \ 4 | agg_bezier_ctrl.h agg_polygon_ctrl.h 5 | -------------------------------------------------------------------------------- /agg-2.4/include/platform/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST=win32/agg_win32_bmp.h \ 2 | mac/agg_mac_pmap.h 3 | myincludedir = $(includedir)/agg2/platform 4 | myinclude_HEADERS = agg_platform_support.h 5 | -------------------------------------------------------------------------------- /agg-2.4/include/util/Makefile.am: -------------------------------------------------------------------------------- 1 | myincludedir = $(includedir)/agg2/util 2 | myinclude_HEADERS = agg_color_conv.h agg_color_conv_rgb8.h agg_color_conv_rgb16.h 3 | -------------------------------------------------------------------------------- /agg-2.4/install: -------------------------------------------------------------------------------- 1 | Anti-Grain Geometry is a C++ library distributed in sources 2 | and does not require any installation procedure. The source code 3 | is platform independent and does not have any dependencies on 4 | system APIs (except for very standard C runtime library). 5 | You just take source files and include them into 6 | your project. The sources are maintained to be highly compatible 7 | with most popular C++ compilers, including poor ones, like 8 | Microsoft Visual C++ V6.0. 9 | 10 | On Unix/Linux/MacOS/BeOS/AmigaOS systems you can type "make" to 11 | build src/libagg.a There must be GNU Make utility installed. 12 | Makefiles are very simple, so that if something goes wrong 13 | you could easily fix it. There are no "include files" 14 | dependency suppoeted. 15 | Also note that there's no "make install" option either; 16 | basically the original Makefiles are needed only to build 17 | the examples. 18 | 19 | After building the library you do "cd examples/" and build 20 | the examples in a similar way. 21 | 22 | On most Linux platforms the "automake" environment should work. 23 | It's generously provided by Nikolas Zimmermann, aka WildFox, 24 | who is a key developer of KDE and KSVG. 25 | This process will replace the original Makefiles. 26 | 27 | On Windows there's no library or a DLL created at all. You just 28 | add source files into your project or create a preoject to build 29 | a LIB/DLL if you wish. The problem is that it's very tedious to 30 | maintain building environments for all possible configurations. 31 | I'm sorry for not automating it, but the compensation is that 32 | AGG compiles fine without any hidden problems, nor the neccesity 33 | to configure. 34 | All examples have building environments for Microsoft Visual C++ 6.0 35 | (.dsp/.dsw) and they are self-sufficient. The newer versions 36 | of the studio can easily convert the projects. 37 | 38 | Also, see "readme" for more details. -------------------------------------------------------------------------------- /agg-2.4/libagg.m4: -------------------------------------------------------------------------------- 1 | # Configure paths for libagg 2 | # Kirill Smelkov 2005-10-23, based on freetype2.m4 by Marcelo Magallon 3 | 4 | # AC_CHECK_LIBAGG([MINIMUM-VERSION [, ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]]) 5 | # Test for libagg, and define LIBAGG_CFLAGS and LIBAGG_LIBS 6 | # 7 | AC_DEFUN([AC_CHECK_LIBAGG], 8 | [ 9 | # Get the cflags and libraries from pkg-config libagg ... 10 | AC_ARG_WITH([libagg], 11 | AS_HELP_STRING([--with-libagg=PREFIX], 12 | [Prefix where libagg is installed (optional)]), 13 | [libagg_prefix="$withval"], 14 | [libagg_prefix=""]) 15 | 16 | libagg_name=libagg 17 | if test "x$libagg_prefix" != "x"; then 18 | libagg_name="$libagg_prefix/lib/pkgconfig/libagg.pc" 19 | fi 20 | 21 | PKG_CHECK_MODULES([LIBAGG], "$libagg_name", success=yes, success=no) 22 | 23 | if test "x$success" = xyes; then 24 | ifelse([$2], , :, [$2]) 25 | 26 | AC_SUBST([LIBAGG_CFLAGS]) 27 | AC_SUBST([LIBAGG_LIBS]) 28 | else 29 | ifelse([$3], , :, [$3]) 30 | fi 31 | ]) 32 | 33 | # end of libagg.m4 34 | 35 | -------------------------------------------------------------------------------- /agg-2.4/libagg.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@/agg2 5 | 6 | Name: libagg 7 | Description: Anti Grain Geometry - A High Quality Rendering Engine for C++ 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -Wl,-rpath,${exec_prefix}/lib -lagg 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /agg-2.4/myapp/myproject.cmake: -------------------------------------------------------------------------------- 1 | # \file myproject.cmake 2 | # \author Klaas Holwerda 3 | # 4 | # Copyright: 2008 (c) Klaas Holwerda 5 | # 6 | 7 | CONFIGURE_FILE(${antigrain_SOURCE_DIR}/bin/FindAgg.cmake 8 | ${antigrain_BINARY_DIR}/myapp/FindAgg.cmake 9 | @ONLY ) 10 | 11 | CONFIGURE_FILE(${antigrain_SOURCE_DIR}/bin/FindEXPAT.cmake 12 | ${antigrain_BINARY_DIR}/myapp/FindExpat.cmake 13 | @ONLY ) 14 | 15 | CONFIGURE_FILE(${antigrain_SOURCE_DIR}/bin/FindFreetype.cmake 16 | ${antigrain_BINARY_DIR}/myapp/FindFreetype.cmake 17 | @ONLY ) 18 | 19 | CONFIGURE_FILE(${antigrain_SOURCE_DIR}/myapp/CMakeLists.txt.in 20 | ${antigrain_BINARY_DIR}/myapp/CMakeLists.txt 21 | @ONLY ) 22 | CONFIGURE_FILE(${antigrain_SOURCE_DIR}/myapp/my_demo.cpp 23 | ${antigrain_BINARY_DIR}/myapp/my_demo.cpp 24 | @ONLY ) 25 | CONFIGURE_FILE(${antigrain_SOURCE_DIR}/myapp/agg2d_demo.cpp 26 | ${antigrain_BINARY_DIR}/myapp/agg2d_demo.cpp 27 | @ONLY ) 28 | 29 | -------------------------------------------------------------------------------- /agg-2.4/src/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/src/ChangeLog -------------------------------------------------------------------------------- /agg-2.4/src/Makefile: -------------------------------------------------------------------------------- 1 | include ../Makefile.in.$(shell uname) 2 | 3 | CXXFLAGS= $(AGGCXXFLAGS) -I../include -L./ 4 | 5 | SRC_CXX=\ 6 | agg_arc.cpp \ 7 | agg_arrowhead.cpp \ 8 | agg_bezier_arc.cpp \ 9 | agg_bspline.cpp \ 10 | agg_curves.cpp \ 11 | agg_vcgen_contour.cpp \ 12 | agg_vcgen_dash.cpp \ 13 | agg_vcgen_markers_term.cpp \ 14 | agg_vcgen_smooth_poly1.cpp \ 15 | agg_vcgen_stroke.cpp \ 16 | agg_vcgen_bspline.cpp \ 17 | agg_gsv_text.cpp \ 18 | agg_image_filters.cpp \ 19 | agg_line_aa_basics.cpp \ 20 | agg_line_profile_aa.cpp \ 21 | agg_rounded_rect.cpp \ 22 | agg_sqrt_tables.cpp \ 23 | agg_embedded_raster_fonts.cpp \ 24 | agg_trans_affine.cpp \ 25 | agg_trans_warp_magnifier.cpp \ 26 | agg_trans_single_path.cpp \ 27 | agg_trans_double_path.cpp \ 28 | agg_vpgen_clip_polygon.cpp \ 29 | agg_vpgen_clip_polyline.cpp \ 30 | agg_vpgen_segmentator.cpp \ 31 | ctrl/agg_cbox_ctrl.cpp \ 32 | ctrl/agg_gamma_ctrl.cpp \ 33 | ctrl/agg_gamma_spline.cpp \ 34 | ctrl/agg_rbox_ctrl.cpp \ 35 | ctrl/agg_slider_ctrl.cpp \ 36 | ctrl/agg_spline_ctrl.cpp \ 37 | ctrl/agg_scale_ctrl.cpp \ 38 | ctrl/agg_polygon_ctrl.cpp \ 39 | ctrl/agg_bezier_ctrl.cpp 40 | 41 | SRC_C=\ 42 | ../gpc/gpc.c 43 | 44 | 45 | OBJ=$(SRC_CXX:.cpp=.o) $(SRC_C:.c=.o) 46 | 47 | all: $(OBJ) 48 | $(LIB) libagg.a $(OBJ) 49 | 50 | clean: 51 | rm -f *.o *.a ctrl/*.o ../gpc/*.o 52 | rm -rf SunWS_cache 53 | rm -rf ctrl/SunWS_cache 54 | 55 | %.o: %.cpp 56 | $(CXX) -c $(CXXFLAGS) $*.cpp -o $@ 57 | 58 | %.o: %.c 59 | $(C) -c $(CXXFLAGS) $*.c -o $@ 60 | -------------------------------------------------------------------------------- /agg-2.4/src/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = ctrl . platform 2 | 3 | INCLUDES = -I$(top_srcdir)/include 4 | 5 | lib_LTLIBRARIES = libagg.la 6 | 7 | libagg_la_LDFLAGS = -no-undefined -version-info @AGG_LIB_VERSION@ 8 | libagg_la_SOURCES = agg_arc.cpp \ 9 | agg_arrowhead.cpp \ 10 | agg_bezier_arc.cpp \ 11 | agg_bspline.cpp \ 12 | agg_curves.cpp \ 13 | agg_embedded_raster_fonts.cpp \ 14 | agg_gsv_text.cpp \ 15 | agg_image_filters.cpp \ 16 | agg_line_aa_basics.cpp \ 17 | agg_line_profile_aa.cpp \ 18 | agg_rounded_rect.cpp \ 19 | agg_sqrt_tables.cpp \ 20 | agg_trans_affine.cpp \ 21 | agg_trans_double_path.cpp \ 22 | agg_trans_single_path.cpp \ 23 | agg_trans_warp_magnifier.cpp \ 24 | agg_vcgen_bspline.cpp \ 25 | agg_vcgen_contour.cpp \ 26 | agg_vcgen_dash.cpp \ 27 | agg_vcgen_markers_term.cpp \ 28 | agg_vcgen_smooth_poly1.cpp \ 29 | agg_vcgen_stroke.cpp \ 30 | agg_vpgen_clip_polygon.cpp \ 31 | agg_vpgen_clip_polyline.cpp \ 32 | agg_vpgen_segmentator.cpp 33 | 34 | if ENABLE_GPC 35 | GPCLD=$(top_builddir)/gpc/libagggpc.la 36 | else 37 | GPCLD= 38 | endif 39 | 40 | if ENABLE_CTRL 41 | CTRLLD=$(top_builddir)/src/ctrl/libaggctrl.la 42 | else 43 | CTRLLD= 44 | endif 45 | 46 | libagg_la_LIBADD = $(GPCLD) $(CTRLLD) 47 | 48 | -------------------------------------------------------------------------------- /agg-2.4/src/agg_color_rgba.cpp: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------------------- 2 | // Anti-Grain Geometry - Version 2.4 3 | // Copyright (C) 2009 John Horigan (http://www.antigrain.com) 4 | // 5 | // Permission to copy, use, modify, sell and distribute this software 6 | // is granted provided this copyright notice appears in all copies. 7 | // This software is provided "as is" without express or implied 8 | // warranty, and with no claim as to its suitability for any purpose. 9 | // 10 | //---------------------------------------------------------------------------- 11 | // 12 | // Contact: john@glyphic.com.com 13 | // http://www.antigrain.com 14 | //---------------------------------------------------------------------------- 15 | 16 | // rgbaN construction from grayN types is no longer required, 17 | // as grayN types now define their own conversions to rgbaN. 18 | -------------------------------------------------------------------------------- /agg-2.4/src/authors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/src/authors -------------------------------------------------------------------------------- /agg-2.4/src/autogen.sh: -------------------------------------------------------------------------------- 1 | # autogen.sh 2 | # 3 | # invoke the auto* tools to create the configureation system 4 | 5 | # build aclocal.m4 6 | aclocal 7 | 8 | # build the configure script 9 | autoconf 10 | 11 | # set up libtool 12 | libtoolize --force 13 | 14 | # invoke automake 15 | automake --foreign --add-missing 16 | 17 | # and finally invoke our new configure 18 | ./configure $* 19 | 20 | # end 21 | -------------------------------------------------------------------------------- /agg-2.4/src/configure.in: -------------------------------------------------------------------------------- 1 | AC_INIT(src/agg_arc.cpp) # give me a source file, any source file... 2 | AM_INIT_AUTOMAKE(agg, 2.0.0) 3 | 4 | AC_PROG_LN_S 5 | AC_PROG_CC 6 | AC_PROG_CPP 7 | AC_PROG_CXX 8 | AC_PROG_LIBTOOL 9 | 10 | AC_OUTPUT( 11 | Makefile 12 | gpc/Makefile 13 | src/Makefile 14 | src/ctrl/Makefile 15 | ) 16 | -------------------------------------------------------------------------------- /agg-2.4/src/copying: -------------------------------------------------------------------------------- 1 | The Anti-Grain Geometry Project 2 | A high quality rendering engine for C++ 3 | http://antigrain.com 4 | 5 | Anti-Grain Geometry - Version 2.4 6 | Copyright (C) 2002-2005 Maxim Shemanarev (McSeem) 7 | 8 | Permission to copy, use, modify, sell and distribute this software 9 | is granted provided this copyright notice appears in all copies. 10 | This software is provided "as is" without express or implied 11 | warranty, and with no claim as to its suitability for any purpose. 12 | -------------------------------------------------------------------------------- /agg-2.4/src/ctrl/Makefile.am: -------------------------------------------------------------------------------- 1 | if ENABLE_CTRL 2 | INCLUDES = -I$(top_srcdir)/include 3 | 4 | noinst_LTLIBRARIES = libaggctrl.la 5 | 6 | libaggctrl_la_LDFLAGS = -no-undefined -version-info @AGG_LIB_VERSION@ 7 | libaggctrl_la_SOURCES = agg_cbox_ctrl.cpp agg_gamma_ctrl.cpp agg_gamma_spline.cpp agg_rbox_ctrl.cpp \ 8 | agg_slider_ctrl.cpp agg_spline_ctrl.cpp agg_scale_ctrl.cpp \ 9 | agg_bezier_ctrl.cpp agg_polygon_ctrl.cpp 10 | 11 | endif 12 | -------------------------------------------------------------------------------- /agg-2.4/src/install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/src/install -------------------------------------------------------------------------------- /agg-2.4/src/news: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-2.4/src/news -------------------------------------------------------------------------------- /agg-2.4/src/platform/AmigaOS/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST=agg_platform_support.cpp 2 | -------------------------------------------------------------------------------- /agg-2.4/src/platform/BeOS/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST=agg_platform_support.cpp 2 | -------------------------------------------------------------------------------- /agg-2.4/src/platform/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = X11 sdl win32 AmigaOS BeOS mac 2 | -------------------------------------------------------------------------------- /agg-2.4/src/platform/X11/Makefile.am: -------------------------------------------------------------------------------- 1 | if ENABLE_X11 2 | lib_LTLIBRARIES = libaggplatformX11.la 3 | 4 | libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ 5 | libaggplatformX11_la_SOURCES = agg_platform_support.cpp 6 | libaggplatformX11_la_CXXFLAGS = -I$(top_srcdir)/include @x_includes@ 7 | libaggplatformX11_la_LIBADD = -lX11 8 | endif 9 | -------------------------------------------------------------------------------- /agg-2.4/src/platform/mac/Makefile.am: -------------------------------------------------------------------------------- 1 | if ENABLE_OSX 2 | lib_LTLIBRARIES = libaggplatformmac.la 3 | libaggplatformmac_la_LDFLAGS=-version-info @AGG_LIB_VERSION@ 4 | libaggplatformmac_la_SOURCES=agg_mac_pmap.cpp \ 5 | agg_platform_support.cpp 6 | 7 | libaggplatformmac_la_CXXFLAGS = -I$(top_srcdir)/include @OSX_CFLAGS@ 8 | libaggplatformmac_la_LIBADD = @OSX_LIBS@ $(top_builddir)/src/libagg.la 9 | 10 | 11 | endif 12 | -------------------------------------------------------------------------------- /agg-2.4/src/platform/sdl/Makefile.am: -------------------------------------------------------------------------------- 1 | if ENABLE_SDL 2 | 3 | lib_LTLIBRARIES = libaggplatformsdl.la 4 | 5 | libaggplatformsdl_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ 6 | libaggplatformsdl_la_SOURCES = agg_platform_support.cpp 7 | libaggplatformsdl_la_CXXFLAGS = -I$(top_srcdir)/include @SDL_CFLAGS@ 8 | libaggplatformsdl_la_LIBADD = @SDL_LIBS@ 9 | endif 10 | 11 | -------------------------------------------------------------------------------- /agg-2.4/src/platform/win32/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | 3 | if ENABLE_WIN32 4 | lib_LTLIBRARIES = libaggplatformwin32.la 5 | 6 | libaggplatformwin32_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ 7 | libaggplatformwin32_la_SOURCES = agg_platform_support.cpp \ 8 | agg_win32_bmp.cpp 9 | 10 | libaggplatformwin32_la_CXXFLAGS = -I$(top_srcdir)/include @WINDOWS_CFLAGS@ 11 | libaggplatformwin32_la_LIBADD = @WINDOWS_LIBS@ $(top_builddir)/src/libagg.la 12 | endif 13 | 14 | -------------------------------------------------------------------------------- /agg-2.4/src/readme: -------------------------------------------------------------------------------- 1 | Use automake to build the library. 2 | 3 | If automake is not available you still can use the old make. 4 | There is a very simple Makefile that can be used. Note that 5 | if you use automake it will overwrite Makefile. 6 | -------------------------------------------------------------------------------- /agg-doc/basic_renderers/pixfmt_rgb24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/basic_renderers/pixfmt_rgb24.gif -------------------------------------------------------------------------------- /agg-doc/basic_renderers/rendering_buffer1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/basic_renderers/rendering_buffer1.gif -------------------------------------------------------------------------------- /agg-doc/basic_renderers/rendering_buffer2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/basic_renderers/rendering_buffer2.gif -------------------------------------------------------------------------------- /agg-doc/basic_renderers/rendering_buffer3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/basic_renderers/rendering_buffer3.gif -------------------------------------------------------------------------------- /agg-doc/basic_renderers/rendering_buffer4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/basic_renderers/rendering_buffer4.gif -------------------------------------------------------------------------------- /agg-doc/basic_renderers/spectrum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/basic_renderers/spectrum.png -------------------------------------------------------------------------------- /agg-doc/basic_renderers/spectrum_amask1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/basic_renderers/spectrum_amask1.png -------------------------------------------------------------------------------- /agg-doc/basic_renderers/spectrum_amask2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/basic_renderers/spectrum_amask2.png -------------------------------------------------------------------------------- /agg-doc/introduction/aliased_pix_accuracy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/aliased_pix_accuracy.gif -------------------------------------------------------------------------------- /agg-doc/introduction/aliased_subpix_accuracy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/aliased_subpix_accuracy.gif -------------------------------------------------------------------------------- /agg-doc/introduction/anti_aliased.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/anti_aliased.gif -------------------------------------------------------------------------------- /agg-doc/introduction/cie_1931.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/cie_1931.jpg -------------------------------------------------------------------------------- /agg-doc/introduction/line_thickness.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/line_thickness.gif -------------------------------------------------------------------------------- /agg-doc/introduction/qual_gdip_agg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/qual_gdip_agg.gif -------------------------------------------------------------------------------- /agg-doc/introduction/stereo_enlarged.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/stereo_enlarged.gif -------------------------------------------------------------------------------- /agg-doc/introduction/stereo_small.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/stereo_small.gif -------------------------------------------------------------------------------- /agg-doc/introduction/subpixel_accuracy1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/subpixel_accuracy1.gif -------------------------------------------------------------------------------- /agg-doc/introduction/subpixel_accuracy2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/subpixel_accuracy2.gif -------------------------------------------------------------------------------- /agg-doc/introduction/subpixel_bresenham.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/subpixel_bresenham.gif -------------------------------------------------------------------------------- /agg-doc/introduction/typical_scheme.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/introduction/typical_scheme.gif -------------------------------------------------------------------------------- /agg-doc/link.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/link.gif -------------------------------------------------------------------------------- /agg-doc/scanlines/scanline_p.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/scanlines/scanline_p.gif -------------------------------------------------------------------------------- /agg-doc/scanlines/scanline_u.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pelson/antigrain/64c9125e2b350a422c08d7fa8fff023400ad3f9f/agg-doc/scanlines/scanline_u.gif --------------------------------------------------------------------------------