/*
 * ImageToolbox is an image editor for android
 * Copyright (c) 2026 T8RIN (Malik Mukhametzyanov)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * You should have received a copy of the Apache License
 * along with this program.  If not, see <http://www.apache.org/licenses/LICENSE-2.0>.
 */

package com.t8rin.imagetoolbox.core.resources.icons

import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp
import com.t8rin.imagetoolbox.core.resources.Icons

val Icons.Outlined.FormatPaintVariant: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Outlined.FormatPaintVariant",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 960f,
        viewportHeight = 960f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(440f, 880f)
            quadToRelative(-33f, 0f, -56.5f, -23.5f)
            reflectiveQuadTo(360f, 800f)
            verticalLineToRelative(-160f)
            lineTo(240f, 640f)
            quadToRelative(-33f, 0f, -56.5f, -23.5f)
            reflectiveQuadTo(160f, 560f)
            verticalLineToRelative(-280f)
            quadToRelative(0f, -66f, 47f, -113f)
            reflectiveQuadToRelative(113f, -47f)
            horizontalLineToRelative(440f)
            quadToRelative(17f, 0f, 28.5f, 11.5f)
            reflectiveQuadTo(800f, 160f)
            verticalLineToRelative(400f)
            quadToRelative(0f, 33f, -23.5f, 56.5f)
            reflectiveQuadTo(720f, 640f)
            lineTo(600f, 640f)
            verticalLineToRelative(160f)
            quadToRelative(0f, 33f, -23.5f, 56.5f)
            reflectiveQuadTo(520f, 880f)
            horizontalLineToRelative(-80f)
            close()
            moveTo(240f, 400f)
            horizontalLineToRelative(480f)
            verticalLineToRelative(-200f)
            horizontalLineToRelative(-40f)
            verticalLineToRelative(120f)
            quadToRelative(0f, 17f, -11.5f, 28.5f)
            reflectiveQuadTo(640f, 360f)
            quadToRelative(-17f, 0f, -28.5f, -11.5f)
            reflectiveQuadTo(600f, 320f)
            verticalLineToRelative(-120f)
            horizontalLineToRelative(-40f)
            verticalLineToRelative(40f)
            quadToRelative(0f, 17f, -11.5f, 28.5f)
            reflectiveQuadTo(520f, 280f)
            quadToRelative(-17f, 0f, -28.5f, -11.5f)
            reflectiveQuadTo(480f, 240f)
            verticalLineToRelative(-40f)
            lineTo(320f, 200f)
            quadToRelative(-33f, 0f, -56.5f, 23.5f)
            reflectiveQuadTo(240f, 280f)
            verticalLineToRelative(120f)
            close()
            moveTo(240f, 560f)
            horizontalLineToRelative(480f)
            verticalLineToRelative(-80f)
            lineTo(240f, 480f)
            verticalLineToRelative(80f)
            close()
            moveTo(240f, 560f)
            verticalLineToRelative(-80f)
            verticalLineToRelative(80f)
            close()
        }
    }.build()
}

val Icons.TwoTone.FormatPaintVariant: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "TwoTone.FormatPaintVariant",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 24f,
        viewportHeight = 24f
    ).apply {
        path(fill = SolidColor(Color(0xFF1D1D1B))) {
            moveTo(19.746f, 2.86f)
            curveToRelative(-0.192f, -0.192f, -0.429f, -0.287f, -0.713f, -0.287f)
            horizontalLineToRelative(-11f)
            curveToRelative(-1.1f, 0f, -2.042f, 0.392f, -2.825f, 1.175f)
            curveToRelative(-0.783f, 0.783f, -1.175f, 1.725f, -1.175f, 2.825f)
            verticalLineToRelative(7f)
            curveToRelative(0f, 0.55f, 0.196f, 1.021f, 0.588f, 1.412f)
            reflectiveCurveToRelative(0.862f, 0.588f, 1.412f, 0.588f)
            horizontalLineToRelative(3f)
            verticalLineToRelative(4f)
            curveToRelative(0f, 0.55f, 0.196f, 1.021f, 0.588f, 1.412f)
            reflectiveCurveToRelative(0.862f, 0.588f, 1.412f, 0.588f)
            horizontalLineToRelative(2f)
            curveToRelative(0.55f, 0f, 1.021f, -0.196f, 1.413f, -0.588f)
            reflectiveCurveToRelative(0.587f, -0.862f, 0.587f, -1.412f)
            verticalLineToRelative(-4f)
            horizontalLineToRelative(3f)
            curveToRelative(0.55f, 0f, 1.021f, -0.196f, 1.413f, -0.588f)
            reflectiveCurveToRelative(0.587f, -0.862f, 0.587f, -1.412f)
            verticalLineTo(3.573f)
            curveToRelative(0f, -0.283f, -0.096f, -0.521f, -0.287f, -0.713f)
            close()
            moveTo(18.034f, 13.573f)
            horizontalLineTo(6.034f)
            verticalLineToRelative(-2f)
            horizontalLineToRelative(12f)
            verticalLineToRelative(2f)
            close()
            moveTo(18.034f, 9.573f)
            horizontalLineTo(6.034f)
            verticalLineToRelative(-3f)
            curveToRelative(0f, -0.55f, 0.196f, -1.021f, 0.588f, -1.413f)
            curveToRelative(0.392f, -0.392f, 0.862f, -0.587f, 1.412f, -0.587f)
            horizontalLineToRelative(4f)
            verticalLineToRelative(1f)
            curveToRelative(0f, 0.283f, 0.096f, 0.521f, 0.288f, 0.712f)
            curveToRelative(0.192f, 0.192f, 0.429f, 0.288f, 0.712f, 0.288f)
            reflectiveCurveToRelative(0.521f, -0.096f, 0.713f, -0.288f)
            curveToRelative(0.192f, -0.192f, 0.287f, -0.429f, 0.287f, -0.712f)
            verticalLineToRelative(-1f)
            horizontalLineToRelative(1f)
            verticalLineToRelative(3f)
            curveToRelative(0f, 0.283f, 0.096f, 0.521f, 0.288f, 0.712f)
            curveToRelative(0.192f, 0.192f, 0.429f, 0.288f, 0.712f, 0.288f)
            reflectiveCurveToRelative(0.521f, -0.096f, 0.713f, -0.288f)
            curveToRelative(0.192f, -0.192f, 0.287f, -0.429f, 0.287f, -0.712f)
            verticalLineToRelative(-3f)
            horizontalLineToRelative(1f)
            verticalLineToRelative(5f)
            close()
        }
        path(fill = SolidColor(Color(0xFF1D1D1B))) {
            moveTo(6.034f, 13.573f)
            verticalLineToRelative(-2f)
            verticalLineToRelative(2f)
            close()
        }
        path(
            fill = SolidColor(Color(0xFF1D1D1B)),
            fillAlpha = 0.3f,
            strokeAlpha = 0.3f
        ) {
            moveTo(6.034f, 9.573f)
            horizontalLineToRelative(12f)
            verticalLineToRelative(-5f)
            horizontalLineToRelative(-1f)
            verticalLineToRelative(3f)
            curveToRelative(0f, 0.283f, -0.096f, 0.521f, -0.287f, 0.712f)
            reflectiveCurveToRelative(-0.429f, 0.287f, -0.712f, 0.287f)
            reflectiveCurveToRelative(-0.521f, -0.096f, -0.712f, -0.287f)
            reflectiveCurveToRelative(-0.287f, -0.429f, -0.287f, -0.712f)
            verticalLineToRelative(-3f)
            horizontalLineToRelative(-1f)
            verticalLineToRelative(1f)
            curveToRelative(0f, 0.283f, -0.096f, 0.521f, -0.287f, 0.712f)
            reflectiveCurveToRelative(-0.429f, 0.287f, -0.712f, 0.287f)
            curveToRelative(-0.283f, 0f, -0.521f, -0.096f, -0.712f, -0.287f)
            reflectiveCurveToRelative(-0.287f, -0.429f, -0.287f, -0.712f)
            verticalLineToRelative(-1f)
            horizontalLineToRelative(-4f)
            curveToRelative(-0.55f, 0f, -1.021f, 0.196f, -1.413f, 0.587f)
            curveToRelative(-0.392f, 0.392f, -0.587f, 0.863f, -0.587f, 1.413f)
            verticalLineToRelative(3f)
            close()
        }
        path(
            fill = SolidColor(Color(0xFF1D1D1B)),
            fillAlpha = 0.3f,
            strokeAlpha = 0.3f
        ) {
            moveTo(6.034f, 11.573f)
            horizontalLineToRelative(12f)
            verticalLineToRelative(2f)
            horizontalLineToRelative(-12f)
            close()
        }
    }.build()
}