mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:12:45 +00:00 
			
		
		
		
	 0828c75e57
			
		
	
	
		0828c75e57
		
	
	
	
	
		
			
			The Mask class represents an opacity mask over a rectangular section of an image, linking every pixel to an alpha value ranging from 0 (not selected) to 255 (fully selected). "Partially selected" pixels can be used to simulate anti-aliased curves. This class will be used as the basis for the new non-rectangular selection feature.
		
			
				
	
	
		
			41 lines
		
	
	
	
		
			858 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			858 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     PixelPaint
 | |
|     RECOMMENDED
 | |
|     TARGETS PixelPaint
 | |
|     DEPENDS ImageDecoder
 | |
| )
 | |
| 
 | |
| compile_gml(PixelPaintWindow.gml PixelPaintWindowGML.h pixel_paint_window_gml)
 | |
| 
 | |
| set(SOURCES
 | |
|     BrushTool.cpp
 | |
|     BucketTool.cpp
 | |
|     CreateNewImageDialog.cpp
 | |
|     CreateNewLayerDialog.cpp
 | |
|     EllipseTool.cpp
 | |
|     EraseTool.cpp
 | |
|     Image.cpp
 | |
|     ImageEditor.cpp
 | |
|     Layer.cpp
 | |
|     LayerListWidget.cpp
 | |
|     LayerPropertiesWidget.cpp
 | |
|     LineTool.cpp
 | |
|     main.cpp
 | |
|     MoveTool.cpp
 | |
|     PaletteWidget.cpp
 | |
|     PenTool.cpp
 | |
|     PickerTool.cpp
 | |
|     PixelPaintWindowGML.h
 | |
|     RectangleTool.cpp
 | |
|     RectangleSelectTool.cpp
 | |
|     Mask.cpp
 | |
|     Selection.cpp
 | |
|     SprayTool.cpp
 | |
|     ToolboxWidget.cpp
 | |
|     ToolPropertiesWidget.cpp
 | |
|     Tool.cpp
 | |
|     ZoomTool.cpp
 | |
| )
 | |
| 
 | |
| serenity_app(PixelPaint ICON app-pixel-paint)
 | |
| target_link_libraries(PixelPaint LibImageDecoderClient LibGUI LibGfx)
 |