From f1fe73d1909a2448a004a88362a1a532d0d4f7c3 Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 12 Feb 2023 23:53:22 -0600 Subject: switch to tinyobj and nanovg from assimp and cairo --- .../doc/public/html/language-bindings.html | 72 ---------------------- 1 file changed, 72 deletions(-) delete mode 100644 libs/cairo-1.16.0/doc/public/html/language-bindings.html (limited to 'libs/cairo-1.16.0/doc/public/html/language-bindings.html') diff --git a/libs/cairo-1.16.0/doc/public/html/language-bindings.html b/libs/cairo-1.16.0/doc/public/html/language-bindings.html deleted file mode 100644 index 82643db..0000000 --- a/libs/cairo-1.16.0/doc/public/html/language-bindings.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - -Appendix A. Creating a language binding for cairo: Cairo: A Vector Graphics Library - - - - - - - - - - - - - - - - -
-

-Appendix A. Creating a language binding for cairo

-

- While cairo is implemented and C, and has a C API, it is expected - that many users of cairo will be using it from languages other - than C. The glue that connects the core cairo library to another - language is known as a language - binding. This appendix attempts to collect together - issues that come up when creating a language bindings for cairo - and present standardized solutions to promote consistency among - the different language bindings. -

-
-

-General considerations

-

- The naming of the central cairo_t type is a - special exception. The object is “a cairo context” not “a - cairo”, and names such as cairo_t rather than - cairo_context_t and - cairo_set_source() rather than - cairo_context_set_source() are simply - abbreviations to make the C API more palatable. In languages - which have object-oriented syntax, this abbreviation is much - less useful. In fact, if ‘Cairo’ is used as a namespace, then - in many languages, you'd end up with a ridiculous type name - like ‘Cairo.Cairo’. For this reason, and for inter-language - consistency all object-oriented languages should name this - type as if it were cairo_context_t. -

-

- The punctuation and casing of the type names and - method names of cairo should be changed to match the general - convention of the language. In Java, where type names are written - in StudlyCaps and method names in javaCaps, cairo_font_extents_t - will become FontExtents and - cairo_set_source(cr,source), - cr.setSource(source). - As compared to changing the punctuation, and casing, much - more reluctance should be used in changing the method names - themselves. Even if get is usually omitted from getters in - your language, you shouldn't bind cairo_get_source() as - cr.source(). -

-
-
- - - \ No newline at end of file -- cgit v1.2.1