Home | History | Annotate | Download | only in graphics

Lines Matching refs:inline

38 inline operator fun Rect.component1() = this.left
49 inline operator fun Rect.component2() = this.top
60 inline operator fun Rect.component3() = this.right
71 inline operator fun Rect.component4() = this.bottom
82 inline operator fun RectF.component1() = this.left
93 inline operator fun RectF.component2() = this.top
104 inline operator fun RectF.component3() = this.right
115 inline operator fun RectF.component4() = this.bottom
121 inline operator fun Rect.plus(r: Rect): Rect {
131 inline operator fun RectF.plus(r: RectF): RectF {
141 inline operator fun Rect.plus(xy: Int): Rect {
151 inline operator fun RectF.plus(xy: Float): RectF {
161 inline operator fun Rect.plus(xy: Point): Rect {
171 inline operator fun RectF.plus(xy: PointF): RectF {
180 inline operator fun Rect.minus(r: Rect): Region {
190 inline operator fun RectF.minus(r: RectF): Region {
200 inline operator fun Rect.minus(xy: Int): Rect {
210 inline operator fun RectF.minus(xy: Float): RectF {
220 inline operator fun Rect.minus(xy: Point): Rect {
230 inline operator fun RectF.minus(xy: PointF): RectF {
239 inline infix fun Rect.and(r: Rect) = this + r
244 inline infix fun RectF.and(r: RectF) = this + r
252 inline infix fun Rect.or(r: Rect): Rect {
264 inline infix fun RectF.or(r: RectF): RectF {
273 inline infix fun Rect.xor(r: Rect): Region {
283 inline infix fun RectF.xor(r: RectF): Region {
295 inline operator fun Rect.contains(p: Point) = contains(p.x, p.y)
303 inline operator fun RectF.contains(p: PointF) = contains(p.x, p.y)
308 inline fun Rect.toRectF(): RectF = RectF(this)
314 inline fun RectF.toRect(): Rect {
323 inline fun Rect.toRegion() = Region(this)
329 inline fun RectF.toRegion() = Region(this.toRect())
335 inline fun RectF.transform(m: Matrix) = apply { m.mapRect(this@transform) }