class methods
- ofCairoRenderer()
- ~ofCairoRenderer()
- background()
- bind()
- clear()
- clearAlpha()
- close()
- disableAntiAliasing()
- draw()
- drawCircle()
- drawEllipse()
- drawLine()
- drawRectangle()
- drawString()
- drawTriangle()
- enableAntiAliasing()
- finishRender()
- flush()
- get3dGraphics()
- getBackgroundAuto()
- getBackgroundColor()
- getCairoContext()
- getCairoSurface()
- getContentBuffer()
- getCoordHandedness()
- getCurrentMatrix()
- getCurrentNormalMatrix()
- getCurrentOrientationMatrix()
- getCurrentViewMatrix()
- getCurrentViewport()
- getFillMode()
- getImageSurfacePixels()
- getNativeViewport()
- getPath()
- getRectMode()
- getStyle()
- getType()
- getViewportHeight()
- getViewportWidth()
- isVFlipped()
- loadIdentityMatrix()
- loadMatrix()
- loadViewMatrix()
- matrixMode()
- multMatrix()
- multViewMatrix()
- popMatrix()
- popStyle()
- popView()
- pushMatrix()
- pushStyle()
- pushView()
- rotateRad()
- rotateXRad()
- rotateYRad()
- rotateZRad()
- scale()
- setBackgroundAuto()
- setBackgroundColor()
- setBitmapTextMode()
- setBlendMode()
- setCircleResolution()
- setColor()
- setCoordHandedness()
- setCurveResolution()
- setDepthTest()
- setFillMode()
- setHexColor()
- setLineSmoothing()
- setLineWidth()
- setOrientation()
- setPolyMode()
- setRectMode()
- setStyle()
- setup()
- setupGraphicDefaults()
- setupMemoryOnly()
- setupScreen()
- setupScreenOrtho()
- setupScreenPerspective()
- startRender()
- translate()
- unbind()
- viewport()
variables
Extends
This class extends others, you can call their methods on an instance of ofCairoRenderer too:
draw(...)
void ofCairoRenderer::draw(const ofBaseVideoDraws &video, float x, float y, float w, float h)
draw(...)
void ofCairoRenderer::draw(const ofFloatImage &image, float x, float y, float z, float w, float h, float sx, float sy, float sw, float sh)
draw(...)
void ofCairoRenderer::draw(const ofImage &img, float x, float y, float z, float w, float h, float sx, float sy, float sw, float sh)
draw(...)
void ofCairoRenderer::draw(const ofMesh &vertexData, ofPolyRenderMode mode, bool useColors, bool useTextures, bool useNormals)
draw(...)
void ofCairoRenderer::draw(const ofShortImage &image, float x, float y, float z, float w, float h, float sx, float sy, float sw, float sh)
drawEllipse(...)
void ofCairoRenderer::drawEllipse(float x, float y, float z, float width, float height)
drawLine(...)
void ofCairoRenderer::drawLine(float x1, float y1, float z1, float x2, float y2, float z2)
drawString(...)
void ofCairoRenderer::drawString(const ofTrueTypeFont &font, string text, float x, float y)
drawTriangle(...)
void ofCairoRenderer::drawTriangle(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3)
setup(...)
void ofCairoRenderer::setup(string filename, ofCairoRenderer::Type type=FROM_FILE_EXTENSION, bool multiPage=true, bool b3D=false, ofRectangle outputsize)
setupMemoryOnly(...)
void ofCairoRenderer::setupMemoryOnly(ofCairoRenderer::Type _type, bool multiPage=true, bool b3D=false, ofRectangle viewport)
setupScreenOrtho(...)
void ofCairoRenderer::setupScreenOrtho(float width, float height, float nearDist, float farDist)
setupScreenPerspective(...)
void ofCairoRenderer::setupScreenPerspective(float width, float height, float fov, float nearDist, float farDist)
viewport(...)
void ofCairoRenderer::viewport(float x, float y, float width, float height, bool invertY=true)
Last updated 星期六, 17 八月 2024 20:46:39 UTC - 99bfb4fd7929e233b87b05758efc36f91505592e
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue