Packages
gtk4
Gdk
Key
AnchorHints
AxisFlags
AxisUse
CrossingMode
DevicePadFeature
DeviceToolType
DragAction
DragCancelReason
EventType
FrameClockPhase
FullscreenMode
GLAPI
Gravity
InputSource
KeyMatch
MemoryFormat
ModifierType
NotifyType
PaintableFlags
ScrollDirection
ScrollUnit
SeatCapabilities
SubpixelLayout
SurfaceEdge
TitlebarGesture
ToplevelState
TouchpadGesturePhase
DevicePad
DragSurface
Paintable
Popup
Toplevel
AppLaunchContext
ButtonEvent
CairoContext
Clipboard
ContentDeserializer
ContentFormats
ContentFormatsBuilder
ContentProvider
ContentSerializer
CrossingEvent
Cursor
DNDEvent
DeleteEvent
Device
DeviceTool
Display
DisplayManager
DmabufFormats
DmabufTexture
DmabufTextureBuilder
Drag
DragSurfaceSize
DrawContext
Drop
Event
EventSequence
FileList
FocusEvent
FrameClock
FrameTimings
GLContext
GLTexture
GLTextureBuilder
GrabBrokenEvent
KeyEvent
MemoryTexture
Monitor
MotionEvent
PadEvent
PopupLayout
ProximityEvent
ScrollEvent
Seat
Snapshot
Surface
Texture
TextureDownloader
ToplevelLayout
ToplevelSize
TouchEvent
TouchpadEvent
VulkanContext
KeymapKey
RGBA
Rectangle
TimeCoord
ACTION_ALL
BUTTON_MIDDLE
BUTTON_PRIMARY
BUTTON_SECONDARY
CURRENT_TIME
EVENT_PROPAGATE
EVENT_STOP
MODIFIER_MASK
PRIORITY_REDRAW
ContentDeserializeFunc
ContentSerializeFunc
cairo_draw_from_gl
cairo_rectangle
cairo_region
cairo_region_create_from_surface
cairo_set_source_pixbuf
cairo_set_source_rgba
content_deserialize_async
content_formats_parse
content_register_deserializer
content_register_serializer
content_serialize_async
dmabuf_error_quark
drag_action_is_unique
gl_error_quark
intern_mime_type
keyval_convert_case
keyval_from_name
keyval_is_lower
keyval_is_upper
keyval_name
keyval_to_lower
keyval_to_unicode
keyval_to_upper
pango_layout_get_clip_region
pixbuf_get_from_surface
pixbuf_get_from_texture
set_allowed_backends
texture_error_quark
unicode_to_keyval
vulkan_error_quark
cairo_rectangle
Description:
public
void
cairo_rectangle
(
Context
cr,
Rectangle
rectangle)
Adds the given rectangle to the current path of
cr
.
Parameters:
cr
a cairo context
rectangle
a `GdkRectangle`
Namespace:
Gdk
Package:
gtk4