gtk-d ~Gtk2 (2022-05-05T07:07:42.3116063)
Dub
Repo
Context.rectangle
cairo
Context
Context
Adds the given rectangle to the current path of cr. Since 2.8
void
rectangle
(Rectangle rectangle)
class
Context
void
rectangle
(
Rectangle
rectangle
)
void
rectangle
(double x, double y, double width, double height)
Parameters
rectangle
Rectangle
a GdkRectangle
Meta
Source
See Implementation
cairo
Context
Context
constructors
this
destructors
~this
functions
appendPath
arc
arcNegative
clip
clipExtents
clipPreserve
closePath
copyClipRectangleList
copyPage
copyPath
copyPathFlat
curveTo
destroy
deviceToUser
deviceToUserDistance
fill
fillExtents
fillPreserve
fontExtents
getAntialias
getContextStruct
getCurrentPoint
getDash
getDashCount
getFillRule
getFontFace
getFontMatrix
getFontOptions
getGroupTarget
getLineCap
getLineJoin
getLineWidth
getMatrix
getMiterLimit
getOperator
getReferenceCount
getScaledFont
getSource
getStruct
getTarget
getTolerance
getUserData
glyphExtents
glyphPath
hasCurrentPoint
identityMatrix
inClip
inFill
inStroke
lineTo
mask
maskSurface
moveTo
newPath
newSubPath
paint
paintWithAlpha
pathExtents
popGroup
popGroupToSource
pushGroup
pushGroupWithContent
rectangle
reference
region
relCurveTo
relLineTo
relMoveTo
resetClip
restore
rotate
save
scale
selectFontFace
setAntialias
setDash
setFillRule
setFontFace
setFontMatrix
setFontOptions
setFontSize
setLineCap
setLineJoin
setLineWidth
setMatrix
setMiterLimit
setOperator
setScaledFont
setSource
setSourceColor
setSourcePixbuf
setSourcePixmap
setSourceRgb
setSourceRgba
setSourceSurface
setTolerance
setUserData
showGlyphs
showPage
showText
showTextGlyphs
status
stroke
strokeExtents
strokePreserve
textExtents
textPath
transform
translate
userToDevice
userToDeviceDistance
static functions
create
glyphAllocate
glyphFree
pathDestroy
rectangleListDestroy
setSourceWindow
textClusterAllocate
textClusterFree
toyFontFaceCreate
toyFontFaceGetFamily
toyFontFaceGetSlant
toyFontFaceGetWeight
variables
cairo
Adds the given rectangle to the current path of cr. Since 2.8