The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
size
cairo
cairo
Convenience function to create a
Size
!
int
or
Size
!
double
.
auto
size
(
T
)
(
T
width
,
T
height
)
if
(
isOneOf
!(
T
,
int
,
double
)
)
Meta
Source
See Implementation
cairo
cairo
aliases
Content
classes
CairoException
Device
FontFace
Gradient
ImageSurface
LinearGradient
Pattern
RadialGradient
ScaledFont
SolidPattern
Surface
SurfacePattern
ToyFontFace
functions
formatStrideForWidth
point
rectangle
size
throwError
structs
Box
ClipRange
Context
FontOptions
Matrix
Path
PathElement
PathRange
Point
RGB
RGBA
Rectangle
Region
Resolution
Size
TextGlyph
Version
Convenience function to create a Size!int or Size!double.