Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/jimmyfrasche/cairo

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/jimmyfrasche/cairo

  • v0.0.0-20140513025901-1fae4d3a15a1
  • Source
  • Go
  • Socket score

Version published
Created
Source

#cairo GoDoc Package cairo wraps libcairo, a 2D graphics library with support for multiple output devices.

Download:

go get github.com/jimmyfrasche/cairo

Package cairo wraps libcairo, a 2D graphics library with support for multiple output devices. Libcairo is is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available.

The cairo API provides operations similar to the drawing operators of PostScript and PDF. Operations in cairo including stroking and filling cubic Bézier splines, transforming and compositing translucent images, and antialiased text rendering. All drawing operations can be transformed by any affine transformation (scale, rotation, shear, etc.)

##Reference semantics Many types in this and related packages are references, that behave much like file handles, to underlying libcairo objects. These handles are values that can be copied at will, but the libcairo object referenced must be freed explicitly with Close (or Unmap, in the case of MappedImageSurface).

##Naming Conventions Cairo refers to this package and its related packages. Libcairo refers to the C library that this package is a binding to.

##Libcairo version This package requires libcairo version 1.12 or greater. Libcairo must be compiled with:

CAIRO_HAS_IMAGE_SURFACE

Related packages, such as cairo/ps, may require further options compiled in to libcairo, but they will be documented.

Libcairo can be found at http://cairographics.org .

##Xtensions Many types, functions, and methods are prefixed by Xtension. You may ignore these unless you are writing an extension. An extension is a package that integrates another portion of libcairo or binds with a library that supports libcairo integration.


Automatically generated by autoreadme on 2014.05.08

FAQs

Package last updated on 13 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc